Serial configuration, Serial configurations – Metrologic Instruments IS4921 User Manual
Page 28
22
Serial Configuration
The IS4920 series can be configured by scanning configuration bar codes
†
or by serial commands sent from
the host device. With serial configuration, each command sent to the engine is the ASCII representation of
each numeral in the configuration bar code (see Figure 19). The entire numeric string is framed with an ASCII
[stx] and an ASCII [etx].
Figure 19.
Example 1:
Feature
Host Command
String Sent to the Engine - ASCII Representation (Hexadecimal Values)
Disable Codabar
[stx]100104[etx]
02h 31h 30h 30h 31h 30h 34h 03h
If the command sent to the engine is valid, the engine will respond with an [ack]. If the command sent to the
engine is invalid, the engine will respond with a [nak] then automatically exit serial configuration mode. All the
settings chosen in the failed serial configuration session will be lost. There is a 20-second window between
commands. If a 60-second timeout occurs, the engine will send a [nak].
To enter serial configuration mode, send the following command, [stx]999999[etx]. The engine will not scan
bar codes while in serial configuration mode.
Note: Serial configuration mode uses the current Baud Rate, Parity, Stop Bits and Data Bits settings that
are configured in the engine. The default settings of the engine are 9600 bits-per-second, no parity,
1 stop bit, 8 data bits, and no flow control. If a command is sent to the engine to change any of these
settings, the change will not take effect until after serial configuration mode is exited.
To exit serial configuration mode, send the following command, [stx]999999[etx]. The engine will respond with
an [ack]. Refer to Example 2 on page 23.
† Bar code configuration manuals are available for download from the
IS4920 product page
at
www.honeywell.com/aidc
.
³ 1 0 0 1 0 4
Do Not Include
in the Command
Include in the
Command