19
Serial Configuration Mode
The IS4823/IS4825 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 15
)
. The entire numeric string is framed with an ASCII
[stx] and an ASCII [etx].
Figure 15.
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
[ack]
If the command sent to the engine is valid, the engine will respond with an [ack].
[nak]
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].
Enter Serial Configuration Mode
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, space parity,
2 stop bits, 7 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.
Exit Serial Configuration Mode
To exit serial configuration mode,
send the following command, [stx]999999[etx]. The engine will respond
with an [ack].
†
Configuration bar codes are located in the
MetroSelect Single-Line Guide, PN 00-02544
and the
Supplemental MetroSelect Configuration Guide, PN 00-05268
³ 1 0 0 1 0 4
Do Not Include
in the Command
Include in the
Command