Rockwell Automation 2755 Enhanced Decoder Series B User Manual
Page 196

15–8
ASCII Host Commands
Publication 2755-833
CT - Configure Bar Code Symbology and Supplements
Command Format:
CTfccs
Function:
Enables or disables the decoding of a specific
bar code symbology and supplements.
Parameters:
fccs
Command
Parameter
Parameter Function
Valid Values
f
Enable a bar code
symbology?
1=Yes
0=No
cc
Specifies a bar code
symbology.
①
01=Code 39
02=Interleaved 2-of-5
03=Codabar
04=UPC-A
05=UPC-E
06=EAN-8
07=EAN-13
08=Code 128
s
Specifies supple-
ments for a bar code
symbology. ➁
0=None
1=2 character supplement
2=5 character supplement
3=2 or 5 character supplement
4= Auto (None, 2 or 5
character supplement)
① See the CP command for Pharma-Code configuration.
➁ Supplements are valid for UPC–A, UPC–E, EAN–8, EAN 13. For other
symbologies, select 0=None or omit the “s” parameter.
Response:
= rr <end>
rr =
response code
<end> =
end of message control code
Example:
Command:
CT1041
Parameters:
1041
Command
Parameter
Parameter Functions
Values
f
Enable bar code symbology?
1= Yes
cc
Select bar code symbology.
04= UPC-A
s
Enable supplements for
selected symbology.
1= 2 character
supplement.
00 =
command complete
response code
CR =
end of message control
code for Carriage Return