Menu command syntax, Query commands – Datalogic Scanning POWERSCAN 7000 User Manual

Page 156

Advertising
background image

Serial Programming Commands

10-2

PowerScan

®

7000 2D

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

PrefixThree 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.

SubTagA 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.

DataThe new value for a menu setting, identified by the Tag and Sub-

Tag.

StorageA single character that specifies the storage table to which the

command is applied. An exclamation point (!) performs the com-
mand’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 set-
tings.

^

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.)

Advertising