191
8. SERIAL PROG COMMANDS
Note: IMPORTANT
: The scan engine’s flash has a limited number of
write cycles. When sending commands frequently recommends
using the volatile (
!
exclamation point) memory as often as possible.
8-2-1 Serial Command Example
Set the RS232 baud rate to 115,200:
SYN M CR 232BAD9. or \x16M\x0D232BAD9
Prefix
Tag
BAD
9
.
.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.)
:Name: Field Usage (Optional)
This command returns the query information from the scan engine.
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.
8-2-1 Serial Command Example