ZBA Inc.
78
9.8 Serial Prog. Commands
The serial programming commands can be used in place of the programming bar codes. Both the serial commands and the programming bar codes will
program the ZB-3062 Engine. For complete descriptions and examples of each serial programming command, refer to the corresponding programming bar
code in this manual. The device must be set to an RS-232 interface. The following commands can be sent via a PC COM port using terminal emulation
software.
Conventions
The following conventions are used for menu and query command descriptions: parameter A label representing the actual value you should send as part of a
command.
[option] An optional part of a command.
{Data} Alternatives in a command.
bold
Names of menus, menu commands, buttons, dialog boxes, and windows that appear on the screen.
Menu Command Syntax
Menu commands have the following syntax (spaces have been used for clarity only): Prefix Tag SubTag {Data} [, SubTag {Data}] [; Tag SubTag {Data}]
[…] Storage Prefix Three ASCII characters:
SYN M CR
(ASCII 22,77,13).
Tag A 3 character case-insensitive field that identifies the desired menu command group. For example, all RS-232 configuration settings are identified with a
Tag of
232
.
SubTag A 3 character case-insensitive field that identifies the desired menu command within the tag group. For example, the SubTag for the RS-232 baud
rate is
BAD
. Data The new value for menu setting, identified by the Tag and Sub- Tag. Storage A single character that specifies the storage table to which
the command is applied. An exclamation point (
!
) performs the command’s operation on the device’s volatile menu configuration table. A period (
.
)
performs the command’s operation on the device’s non-volatile menu configuration table. Use the non-volatile table only for semi-permanent changes you
want saved through a power cycle.
Query Commands
Several special characters can be used to query the device about its settings.
^
What is the default value for the setting(s).
?
What is the device’s current value for the setting(s).
*
What is the range of possible values for the setting(s). (The device’s response uses a dash (
-
) to indicate a continuous range of values. A pipe (
|
) separates
items in a list of non-continuous values.)
Tag Field Usage
When a query is used in place of a Tag field, the query applies to the entire set of commands available for the particular storage table indicated by the
Storage field of the command. In this case, the SubTag and Data fields should not be used because they are ignored by the device.
SubTag Field Usage
When a query is used in place of a SubTag field, the query applies only to the subset of commands available that match the Tag field. In this case, the Data
field should not be used because it is ignored by the device.
Data Field Usage
When a query is used in place of the Data field, the query applies only to the specific command identified by the Tag and SubTag fields.
Concatenation of Multiple Commands
Multiple commands can be issued within one Prefix/Storage sequence. Only the Tag, SubTag, and Data fields must be repeated for each command in the
sequence. If additional commands are to be applied to the same Tag, then the new command sequence is separated with a comma (
,
) and only the SubTag
and Data fields of the additional command are issued. If the additional command requires a different Tag field, the command is separated from previous
commands by a semicolon (
;
).
Responses
The device responds to serial commands with one of 3 responses:
ACK
Indicates a good command which has been processed.
ENQ
Indicates an invalid Tag or SubTag command.
Содержание ZB-3062
Страница 1: ...ZBA Inc 1 ZBA Inc 94 Old Camplain Road Hillsborough NJ 08844 www zbausa com...
Страница 56: ...ZBA Inc 56...
Страница 80: ...ZBA Inc 80...
Страница 82: ...ZBA Inc 82 INDUSTRIAL 25 UPC E INTERLEAVED 25 MATRIX 25 MSI PLESSEY UPCA UK PLESSEY PARA GS1 DataBar Micro PDF...
Страница 83: ...ZBA Inc 83 QR Code DataMatrix Aztec MaxiCode...
Страница 87: ...ZBA Inc 87 13 ASCII Code Table...
Страница 88: ...ZBA Inc 88 14 OCR Prog Chart...
Страница 89: ...ZBA Inc 89 15 Program Chart...