
A-10
MicroHAWK Engine Integration Guide
Serial Commands
Appendix D — Serial Commands
Serial Command Format
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 specified.
Serial Utility Commands
Serial Utility Commands are sent during operations and are not followed by
<A>
or
<Z>
.
Serial Configuration Commands (K Commands)
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:
<
K
numeric character,data,data,...etc.
><
initializing command
>
An initializing command
<Z>
or
<A>
may follow the command.
•
<Z>
initializes the MicroHAWK Engine’s memory and saves for power-on.
•
<A>
initializes the MicroHAWK Engine’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 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 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 changing,
<K100,
4,1,0,0
>
can be entered as
<K100
,,,,0
>
.
• All fields
following
a modified field can be omitted. For example, to change Baud Rate
only, send
<K100,
3
>
.
Concatenating Configuration Commands
Commands can be concatenated (added together) in a single string. For example,
<K145
,1
><K220,
1
><K450,
1
><A>
enables
LRC
, sets
End of Read Cycle
mode to
New
Trigger
, enables
Narrow Quiet Zone
, and resets the data buffers without saving the
changes for power-on.
Summary of Contents for MicroHAWK
Page 1: ...MicroHAWK Engine Integration Guide P N 84 9007100 02 Rev B...
Page 74: ...2 18 MicroHAWK Engine Integration Guide Send Receive Options...
Page 78: ...3 4 MicroHAWK Engine Integration Guide Optical Requirements Optical Requirements Base Side...
Page 79: ...MicroHAWK Engine Integration Guide 3 5 Integration Viewing Port Specifications...
Page 80: ...3 6 MicroHAWK Engine Integration Guide Expansion Connector FPC Expansion Connector FPC...
Page 101: ...MicroHAWK Engine Integration Guide 4 21 Communications Keyboard Languages...
Page 102: ...4 22 MicroHAWK Engine Integration Guide USB HID Keyboard Keyboard Languages continued...
Page 103: ...MicroHAWK Engine Integration Guide 4 23 Communications Keyboard Languages continued...
Page 108: ...4 28 MicroHAWK Engine Integration Guide Entering ASCII Characters as Hex Values...
Page 120: ...5 12 MicroHAWK Engine Integration Guide Additional Notes about Calibration...
Page 148: ...6 28 MicroHAWK Engine Integration Guide Minimum Good Reads...
Page 188: ...7 40 MicroHAWK Engine Integration Guide DotCode...
Page 238: ...8 50 MicroHAWK Engine Integration Guide Image Push to Host Detailed Setup...
Page 268: ...10 14 MicroHAWK Engine Integration Guide New Master Pin...
Page 296: ...11 28 MicroHAWK Engine Integration Guide Set License...
Page 314: ...12 18 MicroHAWK Engine Integration Guide Request All Configuration Database Settings...