nlscan.com
Page 140
Message Interception & Pack
Message Interception & Pack
Code Programming ON
Code Programming OFF
Tools
Message Pack
Introduction
Data Pack is for the special requirements of barcode message. There are 3 types
of data pack. Data pack effects all data formats, in that be sure to load the default
“
Disable Pack
”
if pack is not required.
** Disable Pack
【
Pro CMD
:
0314000
】
Normal Pack
Normal pack format:
:
[STX + ATTR + LEN] + [A DATA] + [LRC]
STX
:
0x02
»
ATTR
:
0x00
»
LEN
:
Barcode message length is expressed by 2 bytes, range
“
0x0000~0xFFFF
”
which is
»
between 0 and 65535.
AL_TYPE
:
0x36
»
DATA
:
Barcode message
»
LRC
:
Parity byte
»
The algorithm:
computation sequence is LRC=0xFF+STX+ATTR+LEN+DATA
1
、
computation method is XOR, byte by byte.
2
、
Normal Pack
【
Pro CMD
:
0314010
】