How to send command through serial port to keep illumination always on
Example:
W0C000C
00 is register address
1. Read Registers [read present configuration from register 0x0000]
a) Commend Sent
7E 00 07 01 00 00 01 00 00
b) Message Received [the present state of register 0x0000 is 1101 0111(HEX D7)]
02 00 00 01 D7 3A D2
2. Write Registers [set register 0x0000 Bit 3-2 as "11", I.E. 1101 1111(HEX DF)]
a) Command Sent
7E 00 08 01 00 00 DF 00 00
b) Message Received
02 00 00 01 00 33 31
3. Save register data in EEPROM
a) Command Sent
0x7E 0x00 0x09 0x01 0x00 0x00 0x00 0xDE 0xC8
b) Message Received
0x02 0x00 0x00 0x01 0x00 0x33 0x31
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.