9 - serial commands, Chapter objectives, Serial command format – Rockwell Automation 2755-G6-D Scanner with RS-232 Option User Manual

Page 79: Serial commands

Advertising
background image

A–B

9

Chapter

9–1

Serial Commands

This chapter covers serial commands that can be sent
from the host to configure the scanner including:

Serial Command Format

Manual Scanning Interaction

ACK/NAK Protocol

Power Standby and Serial Commands

Communication Parameter Changes

The format of serial commands is as follows:

STX ESC LT1 LT2 <optional parameters> ETX

Note: STX= Ctrl-B

ETX= Ctrl-C

STX, ESC, and ETX are ASCII codes whose values
are 02H, 1BH, and 03H, respectively.

LT1 and LT2 are uppercase ASCII letters that
represent a serial command. LT1 is the first letter of
the command; LT2 is the second letter of the
command. Each bar code label in this manual is
preceded by a two character serial command.

The ESC code that follows the STX code identifies
this as a command.

Some commands require parameters such as
minimum and maximum code lengths, and strings of
hexadecimal characters. When parameters are
required by the command they immediately follow
LT2. Serial commands never contain spaces.

Table 9.A shows some serial programming command
examples and the corresponding functions. For a
complete list of serial commands, see Appendix F.

Chapter
Objectives

Serial
Command
Format

Advertising
This manual is related to the following products: