Chapter 3
Serial Configuration
3-4
MS-850 Raster Scanner User’s Manual
3–Ser
ial
Conf
ig.
Serial Configuration Command Format
The format for a serial configuration command is,
<
Kparameter
data,data,...etc.><initializing command>
Where
:
• Less than < and greater than > symbols are included as part of the commands.
• “parameter,” as used here, are those character(s) that precede the data.
• The “initializing command”
<A>
or
<Z>
is sent after configuration is complete. <Z>
resets and saves for power up. <A> initializes the change to RAM.
• For example, the following command enables UPC and saves the change for power-
on:
<Ks1><Z>.
When using serial configuration commands, note also the following conventions:
• Parameters and data are “case sensitive.” That is, characters must be entered as
upper or lower case, as specified.
• All data fields (except the last) must be followed by a comma (without a space).
• If there is no change in a given field, then commas can be entered alone, or with the
existing data (for example,
<Ka,,,0>
or
<Ka4,1,0,0>).
• All fields preceding the modified field must be included. For example, in Host Port, to
change Data Bits to Eight without changing any other field, send either:
<Ka,,,1>
or
<Ka4,1,0,1>.
• All fields following the modified field can be left out. For example, in the RS-232 port,
to change Baud Rate to 4800, send
<Ka3>
.
Initializing Serial Configuration Commands
To ensure that a serial configuration command will take effect, you need to follow it with
one of the operational commands below:
<A> To reset but not save changes for power-on
<Z> To
reset and save changes for power-on
For example, to change Baud Rate and reset without saving changes for power-up,
send
<Ka3><A>
.
To change Baud Rate and reset, saving the changes to NOVRAM, send
<Ka3><Z>
.
To
ensure that a command was received and accepted, you can send the Show Scanner
Status command,
<?>
.
Concatenating Serial Commands
Commands can be concatenated (added together) to a maximum of 64 characters in a
single string or data block. Additional data blocks of 64 or less characters can be sent
provided there is at least a 10 ms pause between blocks.