Page 134
Batch Programming
How to build a batch command
Batch command can contain many commands. Each command is divided by semicolon. Batch command
must be ended with save command.
Command structure: command (+ equal mark + setting information)
The setting command list is provided below
There are 4 setting command modes
Setting syntax 1: Command
1
、
The most command is the one can be set at one time without the command.
e.g.:
The command setting the baud rate as 38400 bps: 0100060
The command setting auto mode: 0302010
Setting syntax 2: C equal mark + number
2
、
This command is used for setting the value of parameter, including the longest and shortest length
of the barcode, one reading timeout setting, same barcode reading delay setting, sensitive value
setting, etc.
e.g.:
The command setting the one reading timeout as 3000ms: 0313000 = 3000
The command setting the sensitive value as 10: 0312040 = 10
Setting syntax 3: c equal mark + hex (e.g., 0x101a
,
0x2C03)
3
、
This command can be used as setting the user-de
fi
ned pre
fi
x, user-de
fi
ned suf
fi
x, ending suf
fi
x,
CodeID, increase or cancel the barcode length value, information intercepting, etc. Note: every two
hexes in the command stand for a setting character
e.g.:
Append the
fi
xed length 4 of interleaved 2of 5 to 26: 0405160 = 0x041a
Setting the suf
fi
x information of the ending as CR/LF: 0310000 = 0x0d0a
Setting syntax 4: c equal mark+ double quotation marks
4
、
If the setting information is viewable character, then this mode of setting is appropriate.
e.g.:
The command setting the user-de
fi
ned pre
fi
x information as AUTO-ID
:
0300000 =
“
AUTO-
ID
”