7
Write Register
The write command is used to write contiguous registers (1 to 256 registers) in the engine.
Format of write command: {Prefix1} {Types} {Lens} {Address} {Datas} {FCS}
Prefix1 : 0x7E 0x00 (2 bytes)
Types : 0x08 (1 byte)
Lens
: 0x00~0xFF (1 byte), byte count, i.e. number of registers written. When Lens=0x00, 256
contiguous registers are to be written.
Address : 0x0000~0xFFFF (2 bytes), starting register address.
Datas
: 0x00~0xFF (1~256 bytes), data to be written into the register(s)
FCS
: CRC-CCITT checksum, 2 bytes.
Computation sequence: Types+ Lens+Datas; polynomial: X
16
+X
12
+X
5
+1
(0x1021), initial value: 0x0000.
The following C language program is provided for reference.
Summary of Contents for XL-3956 Series
Page 1: ...XL 3956 2D Barcode Scanner User Manual...
Page 8: ......
Page 61: ...53 Good Read Beep Frequency Low Medium High Good Read Beep Duration 40ms 80ms 120ms...
Page 114: ...106 Mirror Images Decode Unmirrored DM Only Decode Mirrored DM Only Decode Both...
Page 116: ...108 Mirrored Micro QR Decode Mirrored Micro QR Do Not Decode Mirrored Micro QR...
Page 133: ...125 Appendix F Digit Barcodes 0 5 0 1 2 3 4 5...
Page 134: ...126 6 9 6 7 8 9...
Page 135: ...127 A F A B C D E F...