Serial Command Format
A-16 MS-9 Scanner User’s Manual
Appendix E — Serial Command Format
Serial commands are of two types: utility and configuration.
Rules that apply to both utility and configuration commands
1. A less than < and greater than > characters enclose the commands.
2. Commands and data are “case sensitive.” That is, characters must be entered as
upper or lower case, as specified.
Serial Utility Commands
These are sent during operations and are not followed by a <A> or <Z>. See Table
12-1, “Summary of Utility Serial Commands,” on page 12-3.
Serial Configuration “K” Commands
These begin with a single K character followed by a 3-digit numeric single character,
data fields, and an initializing command, as follows:
<Knumeric parameter,data,data,...etc.><initializing command>
An initializing command <A> or <Z> may follow the command. A <Z> initializes the
scanner’s memory and saves for power-on; an <A> initializes the scanner’s memory
but does not save for power-on.
For example, to enable UPC and save the change for power-on, send <K473,1><Z>.
To c ha ng e Baud Rate and reset without saving changes for power-on, send
<K100,a
3><A>.
Note: Allow a 1.5 second delay after sending the <A> command before resuming com-
munications.
Note: Previous serial commands had alphabetic parameters following the K and did not
insert a comma before the 1st field, as in <Kf5>. The new “numeric” commands
include a comma after the numeric parameter, as in <K140,5>.
Serial Configuration Command Conventions:
• All data fields (except the last) must be followed by a comma (without a space).
• The following characters cannot be used: , < > NUL.
• All fields preceding a modified field must be included.
• If there is no change in preceding fields, then commas alone can be entered in
these fields. For example, if only the last field in the following command is chang
-
ing, <K100,a 4,1,0,0> can be entered as <Ka100,,,,0>.
• All fields following a modified field can be omitted. For example, to change Baud
Rate, send <K100,a3>.
Commentaires sur ces manuels