Microscan MS-2 Instrukcja Użytkownika Strona 105

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 125
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 104
MS-2 CCD Reader User’s Manual A-7
Appendices
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 value, data fields,
and an initializing command, as follows:
<Knumeric value,data,data,...etc.><initializing command>
An initializing command <A> or <Z> may follow the command. A <Z> initializes the
reader’s memory and saves for power-on; an <A> initializes the reader’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 to 4800 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.
Typically, NUL cannot be used. The characters <, >, and
, can be used, but only if
entered as hex pairs.
All fields preceding a modified field must be included unless there is no change in the
preceding fields.
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 command <K100,4,1,0,1> is changing, it
can be entered as <K100,,,,1>.
All fields following a modified field can be omitted. For example, to change Baud Rate to
4800 without changing the other host port paramters, send <K100,3>.
Concatenating Configuration Commands
Commands can be concatenated (added together) in a single string.
For example, <K100,4><K222,1><K470,0><A> sets the Baud Rate to 9600, enables
Multiple symbol mode, disables Code 39, and resets the data buffers (without saving the
changes for power-on).
Przeglądanie stron 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 124 125

Komentarze do niniejszej Instrukcji

Brak uwag