Manual scanning interaction – Rockwell Automation 2755-G6-D Scanner with RS-232 Option User Manual

Page 80

Advertising
background image

Serial Commands

Chapter 9

9–2

Table 9.A
Serial Programming Command Examples

Command

Function

STX ESC PC ETX

Enable Interleaved 2 of 5 with check digit.

STX ESC PD12 ETX

Set Interleaved 2 of 5 minimum length to 12.

STX ESC PE14 ETX

Set Interleaved 2 of 5 maximum length to 14.

STX ESC KB31323334 ETX

1

Set Preamble to ’1234’.

STX ESC LB6162364 ETX

1

Set Postamble to ’abcd’.

Each ASCII character is encoded as two hexadecimal characters. For example:
1=31, 2=32, 3=33, 4=34 and a=61, b=62, c=63, d=64.

1

The scanner firmware makes no attempt to resolve
conflicts between serial programming commands and
manually scanned menu labels. If you plan to scan
menu labels, do not attempt serial programming, and
vice versa.

Serial commands are given priority over pending
menu labels. For example, if you scan the menu label
PD (which sets a minimum length for Interleaved 2 of
5 labels) and the scanner is waiting for a two-digit
minimum length code when a serial command is
issued, the serial command is acted upon and the
pending manual command (PD – Set Interleaved 2 of 5
Minimum Length)
is ignored.

Manual
Scanning
Interaction

Advertising
This manual is related to the following products: