Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 257

Advertising
background image

15–69

ASCII Host Commands

Publication 2755-833

PI - Read Decoder Performance Indicators

Command Format:

P

I

Function:

Reads the decoder performance indicators for
Scanners A and B.

Parameters:

None

Response

Parameters

Parameter Function

Valid Values

aaa

Scanner A Performance
Indicator

3 digit value
000 through 100, 999

bbb

Scanner B Performance
Indicator

3 digit value
000 through 100,
999

①②

① 999 indicates the decoder is not decoding because of a buffer overflow

condition.

② Applicable only with dual head scanner.

Response:

aaa<end> = rr <end>

for single head scanners

,

or
aaabbb<end> = rr <end>

for dual head

scanners.

<end>=

end of message code

rr=

response code

<end>=

end of message code

Example:

Command:

P

I

Response:

000099LF = 00LF

Response

Parameters

Parameter Function

Values

aaa

Scanner A Performance
Indicator

000

bbb

Scanner B Performance
Indicator

099

LF=

end of message control code

00=

command complete
response code

LF=

end of message control code

Advertising