Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 260

Advertising
background image

15–72

ASCII Host Commands

Publication 2755-833

MC - Read Output Counter

Command Format:

MCn

Function:

Reads the selected output counter.

Parameters:

n =

counter 1 through 8

Response:

mmmmmm<end>=rr<end>

mmmmmm=

output counter count.
Maximum value of 999999

<end>=

end of message code

rr=

response code

<end>=

end of message code

Example:

Command:

MC3

Parameters:

3 =

read output counter #3.

Response:

000121LF = 00LF

000121=

Counter activated 121 times
since last restart or reset

LF=

end of message code for
Line Feed

00=

command complete
response code

LF=

end of message code for
Line Feed

Advertising