Microscan MS-4 Uživatelský manuál Strana 342

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 390
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 341
A-10 MS-4 Imager User’s Manual
Communication Protocol Commands
Serial Command Format
Serial commands are of two types: utility and configuration.
Rules that apply to both utility and configuration commands
A less than < and greater than > character enclose the commands.
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> or <Z>.
Serial Configuration “K” Commands
These begin with a single “K” character followed by a 3-digit numeric 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
Imager’s memory and saves for power-on; an <A> initializes the Imager’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 data fields (except the last) must be followed by a comma (without a space).
NUL cannot be used. The characters <, >, and
, can be used, but only if entered as hex
pairs (see ASCII Character Entry Modifier on page 3-32).
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 or data block. For
example, <K145,1><K220,1><K450,1><A> enables LRC, sets End of Read Cycle mode
to New Trigger, enables Narrow Margins, and resets the data buffers (without saving the
changes for power-on).
Serial Command Status Request
To ensure that any command was received and accepted, you can send the Show Reader
Status command: <?>.
The status of a specific serial command can be requested by entering the command followed
by a question mark. For example, send
<K142?>
to request the status of
Postamble
.
Zobrazit stránku 341
1 2 ... 337 338 339 340 341 342 343 344 345 346 347 ... 389 390

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

Žádné komentáře