nlscan.com
Page 146
Message Interception & Pack
Message Interception & Pack
Code Programming ON
Code Programming OFF
Tools
Message Pack
Introduction
Data packing is designed for a speci
fi
c group of users who want to have the data
packed before transmission. Data packing in
fl
uences data format, so it is advised
to disable this feature when it is not required.
** Disable Data Packing
【
Pro CMD
:
0314000
】
Data Packing Formats
Format 1: [STX + ATTR + LEN] + [A DATA] + [LRC]
STX
:
0x02
»
ATTR
:
0x00
»
LEN
:
Barcode message length is expressed by 2 bytes, ranging from 0x0000 (0) to 0xFFFF (65535).
»
AL_TYPE
:
0x36
»
DATA
:
Barcode message
»
LRC
:
Parity byte
»
LRC calculation algorithm:
Computation sequence: 0xFF+LEN+DATA; computation method is XOR, byte by byte.
Enable Data Packing, Format 1
【
Pro CMD
:
0314010
】
Format 2: [STX + ATTR + LEN] + [A Symbol DATA] + [LRC]
STX
:
0x02
»
ATTR
:
0x00
»
LEN
:
Barcode message length is expressed by 2 bytes, ranging from 0x0000 (0) to 0xFFFF (65535).
»
AL_TYPE
:
0x3B
»
DATA
:
Barcode message
»
LRC
:
Parity byte
»
LRC calculation algorithm:
Computation sequence: 0xFF+LEN+SymboDATA; computation method is
XOR, byte by byte.
Enable Data Packing, Format 2
【
Pro CMD
:
0314070
】