Appendices
C-2
MicroHAWK V320-F / V330-F / V420-F / V430-F Barcode Reader User Manual
C-1 Serial Commands
Omron Microscan readers are controlled by two types of serial commands: configuration commands and
utility commands.
Rules that apply to both configuration and utility commands
• Less than ‘<‘ and greater than ‘>’ angle bracket characters enclose the commands.
• Commands and data are case sensitive. Characters must be entered as upper or lower
case,
as sp
ecified.
Serial Utility Commands are sent during operations and are not followed by <A> or <Z>.
Omron Microscan’s serial configuration commands begin with a single “K” character followed by a 3-
digit numeric character, comma-separated command fields, and an initializing command, as follows:
<Knumeric character,data,data,...etc.><initializing command>
An initializing command <Z> or <A> may follow the command.
•<Z> initializes the memory and saves for power-on.
•<A> initializes the 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 change Baud Rate and reset without saving changes for power-on, send <K100,3><A>.
Serial Configuration Command Conventions
• All command fields (except the last) must be followed by a comma (without a space).
• NULL cannot be used. The characters <, >, and
, can be used, but only if entered as hex
values.
• All f
ields preceding a modified field must be included.
• If there is no change in preceding fields, then commas alone can be entered in th
ese fields.
Fo
r example, if only the last field in the following command is changing, <K100,4,1,0,0>
can
b
e entered as <K100,,,,0>.
• All fields following a modified field can be omitted. For example, to change Baud Rate
only,
send
<K100,3>.
Commands can be concatenated (added together) in a single string. For example,
<K145,1><K220,1><A> enables LRC, sets End of Read Cycle mode to New Trigger, and resets the
data buffers without saving the changes for power-on.
Serial Command Format
Serial Utility Commands
Serial Configuration Commands (K Commands)
Concatenating Configuration Commands