92
4-1 Programming command syntax
4-1-1 Single-parameter setting
Format
Prefix Parameter index D/H Value
Storage
Prefix:
<SYN> M <CR> (ASCII 0x16, 0x4D, 0x0D).
Parameter index:
Each parameter has a unique 4-digit index which is similar to the option barcode
listed in 6 Parameter Menus, except that there is no leading
‘%’ and ending “M%” in the Parameter
index.
D/H:
This is used by the scanner to identify the numeral system of Value.
‘D’ indicates a decimal
number while
‘H’ indicates a hexadecimal number.
Value:
This is generally a 2-digit number except for string-setting parameters, e.g. Prefix string setting.
Storage:
A single character that specifies the storage area to which the command is applied to. An
exclamation point
‘!’ performs the command’s operation on the volatile memory. A period ‘.’ performs
the command
’s operation on the device’s non-volatile memory. Using ‘!’ only when the setting needs to
function through a single power cycle (Parameter value will be lost when power remoned or the
scanner enters Standby mode).
Example 1:
Set 0401->03 (decimal). The command is as following.
Prefix
Parameter index
D
Value
.
0x16 0x4D 0x0D
0x30 0x34 0x30 0x31
0x44
0x30 0x33
0x2E
Example 2
: Set 0401->03 (decimal). The command is as following.
Prefix
Parameter index
D
Value
!
0x16 0x4D 0x0D
0x30 0x34 0x30 0x31
0x44
0x30 0x33
0x21
Example
3
:
Set 8002->0D0A (hexadecimal). The command is as following.
Prefix
Parameter index
H
Value
.
0x16 0x4D 0x0D
0x38 0x30 0x30 0x32
0x48
0x30 0x44 0x30 0x41
0x2E