26
Step 2:
Calculate the value written to the register.
Datas = (0xD4 & (! 0x03)) + 0x02 = 0xD6
Step 3:
Write the value into the register.
serial command sent : 0x7E 0x00 0x08 0x01
0x00 0x00
0xD6
0xDF 0x22
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
scanner.
save command sent: 0x7E 0x00 0x09 0x01 0x00 0x00 0x00
0xDE 0xC8
reply received :
0x02 0x00 0x00 0x01 0x00
0x33 0x31