Entering Ascii Characters As Hex Values - Omron MicroHAWK Integration Manual

Table of Contents

Advertisement

Entering ASCII Characters as Hex Values

Commands that require ASCII text fields, such as Preamble and Postamble commands,
can be sent to the reader as hex values.
Serial Cmd Format: <Knnnh,00-FF>
To enter ASCII fields as hex values (00 to FF), add a lower-case h directly after the command's
K number, and then enter the hex value that corresponds with the desired ASCII character.
Example:
Consider the Postamble command:
Serial Cmd:
<K142,status,postamble character(s)>
Imagine that your application requires the ASCII character > to be the postamble in your
symbol decode output.
The ASCII characters <, >, and
postamble in your symbol decode output, enter the Postamble command as follows:
<K142h,,3E>
Note that the "status" field contains only a
changed is the "postamble character(s)" field. (See Serial Configuration Command
Conventions for a more detailed explanation of this command shortcut.)
MicroHAWK Engine Integration Guide
,
can only be entered as hex values. So, to make > the
,
. This is because the only field that is being
Communications
4-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents