Rockwell Automation 1755-OF8 GuardPLC Controller Systems User Manual

Page 272

Advertising
background image

272

Publication 1753-UM001C-EN-P - March 2010

Chapter 21 Communicate with ASCII Devices

For example, this string replies to the master request for the first two
variables from the slave.

Every data field in the message is separated with a slash ( / ). The
slash also counts as a character when counting the total number of
characters in the data string.

If the master request was not received properly at the GuardPLC
controller, the slave response is the following.

This error response is typically sent when more signals are requested
than exist in the ASCII protocol output tab. For example, 10 signals
were dragged to the ASCII output section, but 20 signals were
requested in the command string.

Start Sign

Destination

Source

Function
Code

Start
Address

Number of
Variables

Number of
Characters

Data

End Sign

^

01

15

r

00000

002

0005

4/123

&

TIP

The reply string will have a variable number of characters if
non-BOOL are used. For example, 99 is 2 characters, 100 is 3
characters. There is no leading zero.

Start Sign

Destination

Source

Function
Code

Start
Address

Number of
Variables

Number of
Characters

End Sign

^

01

15

E

00000

000

0000

&

Advertising