14
reply received : 0x02 0x00 0x00 0x01
0xD4
0xB8 0xC8
Step 2:
Calculate the value written to the register.
Datas = (0xD4 & (! 0x03)) + 0x02 = 0xD5
Step 3:
Write the value into the register.
serial command sent : 0x7E 0x00 0x08 0x01
0x00 0x00
0xD5
0xEF 0x41
reply received : 0x02 0x00 0x00 0x01 0x00
0x33 0x31
2. Program special parameter with serial command
The serial commands used for programming the following parameters are practically irrelevant to their
programming commands.
Feature
Serial Command
Program the sensitivity level
0x7E 0x00 0x08 0x01
0x00 0x03
0xTT
0xSS 0xSS
Program the image stabilization timeout
0x7E 0x00 0x08 0x01
0x00 0x04
0xTT
0xSS 0xSS
Program the timeout between decodes
0x7E 0x00 0x08 0x01
0x00 0x05
0xTT
0xSS 0xSS
Program the decode session timeout
0x7E 0x00 0x08 0x01
0x00 0x06
0xTT
0xSS 0xSS
Note:
Red:
Address of register.
Blue:
Value written to register. For example, to set the sensitivity level to 10,
0xTT
should be
0x0A
.
Pink:
CRC checksum calculated.
3. Save register data in EEPROM
Scanning a programming barcode can change register value and save register data in EEPROM as well.
As for command programming, it requires a write command and a save command to perform these two
tasks. To save register data in an external EEPROM, users need to send the save command to the
engine.
save command sent: 0x7E 0x00 0x09 0x01 0x00 0x00
0xDE 0xC8
reply received :
0x02 0x00 0x00 0x01 0x00
0x33 0x31
Summary of Contents for NLS-EM2000
Page 1: ...NLS EM2000 Embedded 2D Barcode Scan Engine User Guide...
Page 3: ...Revision History Version Description Date V1 0 0 Initial release April 10 2015...
Page 10: ......
Page 64: ...54 Good Read Beep Frequency Low Medium High Good Read Beep Duration 40ms 80ms 120ms...
Page 117: ...107 Mirror Images Decode Unmirrored DM Only Decode Mirrored DM Only Decode Both...
Page 119: ...109 Mirrored Micro QR Decode Mirrored Micro QR Do Not Decode Mirrored Micro QR...
Page 136: ...126 Appendix F Digit Barcodes 0 5 0 1 2 3 4 5...
Page 137: ...127 6 9 6 7 8 9...
Page 138: ...128 A F A B C D E F...