Set bar code specific length – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 112

Advertising
background image

Interface

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

7–20

Command:

SLccssttuuvvwwxxyyzz

Function:

Specifies code length for Code 39, Interleaved 2-of-5,
Codabar, and Code 128 labels.

Response:

=rr<end>

Comments:

cc = bar code type:
01 = Code 39
02 = Interleaved 2-of-5
03 = Codabar
08 = Code 128

ss, tt, uu, vv, ww, xx, yy, zz are the specified lengths. These must be values
from 00 through 64. A length of 00 means lengths are not checked and any
length up to 64 characters is acceptable. Any value to the right of a 00 entry
will be ignored. The length for Interleaved 2-of-5 must be an even number.

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

<end> = end of message code.

Example:

Command:

SL032008000000000000

Response:

=00CRLF

Comments:

03 = Codabar bar code type selected.
20 = bar code length of 20 specified.

08 = bar code length of 8 specified.
000000000000 = no specified lengths for the remaining six
length fields.

00 = “command complete” response code.
CRLF = end of message code for Carriage Return and Line
Feed.

24. Set Bar Code Specific
Length

Advertising