Microscan HS-2D Uživatelský manuál Strana 143

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 172
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 142
HS-21/HS-41X Handheld Reader User’s Manual A-25
Appendices
Reader Settings
The host sets the reader settings using the /, O, P, Q, and = commands and reads them
using the G, ,, and < commands.
For example, the following P command sets register 2C to the value C8.
P(2C)C8
Note: For two-digit setting numbers (i.e., settings 00 through fd), an alternative format may
be used: in place of the parentheses and hexadecimal setting number, substitute a single
character, which represents the setting number. The equivalent to the example above is
P,C8 (the ASCII ‘,’ character has the hexadecimal value 2c). (In certain circumstances,
such as with text commands, “percent-encoding” may be used for encoding a character as
a sequence consisting of the percent character followed by two hexadecimal digits. With
percent-encoding, the example may be expressed as P%2CC8.)
In the Reader Settings Table, the Reg column is the setting number, in hexadecimal, to
be used with the commands identified above. In the Default column, all values are in
hexadecimal unless otherwise specified. To use decimal values in commands you must
precede the data with a pound sign ‘#’. The following P command sets register 2C to the
same value as the example above:
P(2C)#200
Since the single digit values of 0 through 9 are identical in decimal and hexadecimal, no
indicator is needed.
Zobrazit stránku 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 171 172

Komentáře k této Příručce

Žádné komentáře