Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 258

Advertising
background image

15–70

ASCII Host Commands

Publication 2755-833

PR - Read Package Counter

Command Format:

PR

Function:

Returns the count maintained by the package
counter.

Parameters:

None

Response:

pppppp<end>= rr <end>

pppppp=

package count, up to
999999

<end>=

end of message control code

rr =

response code

<end>=

end of message control code

Example:

Command:

PR

Response:

000075LF = 00LF

000075=

number of packages read by
decoder

LF=

end of message code for
Line Feed

00=

command complete
response code

L=

end of message code for
Line Feed

Advertising