Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 204

Advertising
background image

15–16

ASCII Host Commands

Publication 2755-833

CP - Configure Pharma-Code Symbology

Command Format:

CPabccddeefgg

Function:

Enables the Pharma-Code symbology and
configures parameters of the symbology.

Parameters:

abccddeefgg

Command

Parameters

Parameter Function

Valid Values

a

Enable symbology

0= No
1= Yes

b

Decode direction

0= Forward
1= Reverse
2= Forward Scanner A
Reverse Scanner B

3= Reverse Scanner A
Forward Scanner B

cc

Quiet zone ratio

04 to 10

dd

Space tolerance

00=Ignore
05 to 40

ee

Bar tolerance

00=Ignore
05 to 40

f

Wide to narrow bar ratio

0=midrange
2 to 4

gg

Minimum number of bars

03 to 12

① Applies only to Dual-Head Decoder.

Response:

= rr <end>

rr =

response code

<end>=

end of message code

Advertising