13
Serial Programming 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 scanner. For complete descriptions and examples of each serial programming com- mand, refer to the corresponding programming bar code in this manual.
The device must be set to an RS232 interface (see page
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 |
| configuration settings are identified with a Tag of 232. |
SubTag | A 3 character |
| the SubTag for the RS232 baud rate is BAD. |
Data | The new value for a menu setting, identified by the Tag and SubTag. |
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 |
| 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
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.
13 - 1