Enable/disable bar code type – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 98

Advertising
background image

Interface

Chapter 7
Host Commands Using the RS-232 or RS-422

7–6

Example:

Command:

CM3

Response:

=00CR

Comments:

3 = output counter #3
00 = “command complete” response code
CR = end of message code for Carriage Return

Command:

CTfcc

Function:

Enables and disables the decoding of bar code types.

Response:

=rr <end>

Comments:

CT = Bar code type disable/enable command.

f =

enable/disable bar code type

1- enabled
0- disabled

cc

= code type

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

rr = response code, refer to Table 7.B.

<end> = end of message code.

Example:

Command:

CT103

Response

=00LF

Comments:

1 = enables bar code type
03 = Codabar bar code type
00 = “command complete” response code
LF = end of message code for Line Feed

3. Enable/Disable Bar Code Type

Advertising