nlscan.com
Page 148
Batch Programming
Create a Batch Command
Batch command can contain many commands. Each command is divided by semicolon.
Command structure: command (+ "="+ parameter value)
4 command syntaxes are described as below:
1. Syntax 1: Command
The syntax applies to most con
fi
guration situations.
e.g.:
Set the baud rate to 38400 bps: 0100060
Enable the auto mode: 0302010
2. Syntax 2: C "=" + decimal digit(s)
This syntax 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.:
Set the one reading timeout to 3000ms: 0313000=3000
Set the sensitive value to 10: 0312040=10
3. Syntax 3: c "=" + hexadecimal digit(s) (e.g., 0x101a
,
0x2C03)
This syntax 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
Set the suf
fi
x information of the ending to CR/LF: 0310000=0x0d0a
4. Syntax 4: c "="+ double quotation marks
For situations where the parameter value is visible character in Syntax 3, this syntax is also appropriate.
e.g.:
Set the user-de
fi
ned pre
fi
x information to AUTO-ID : 0300000="AUTO-ID"