** Enter Setup
19
Exit Setup
Enable/Disable EEPROM Write
By default, EEPROM write is disabled after the device is powered up. You need to enable it before a write
operation and recommendedly disable it afterwards to prevent miswriting.
Syntax: {Prefix1} {Types} {Lens} {Address} {Datas} {FCS}
Prefix1 : 0x7E 0x00
Types : 0x03 (EEPROM write enable)/ 0x00 (EEPROM write disable)
Lens : Byte count of Datas, 0x01 recommended.
Address : No specific significance.
Datas : No specific significance.
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.
unsigned int crc_cal_by_bit(unsigned char* ptr, unsigned int len)
{
unsigned int crc = 0;
while(len-- != 0)
{
for(unsigned char i = 0x80; i != 0; i /= 2)
{
crc *= 2;
if((crc&0x10000) !=0)
crc ^= 0x11021;
if((*ptr&i) != 0)
crc ^= 0x1021;
}
ptr++;
}
return crc;
}
Содержание NLS-HR1050-7 Series
Страница 1: ...NLS HR1050 7X Hand held Barcode Scanner User Guide...
Страница 19: ...9 Dimensions Left View Fig 1 7 Front View Fig 1 8 Top View Fig 1 9...
Страница 67: ...Enter Setup 57 Exit Setup Good Read Beep Good Read Beep On Good Read Beep Off...
Страница 68: ...Enter Setup Exit Setup 58 Good Read Beep Frequency Low Medium High Good Read Beep Duration 40ms 80ms 120ms...
Страница 73: ...Enter Setup 63 Exit Setup Parity Check None Even Parity Odd Parity Stop Bit 1 Stop Bit 2 Stop Bits...
Страница 117: ...Enter Setup 107 Exit Setup Set ISBN Format ISBN 13 ISBN 10...
Страница 179: ...169 Digit Barcodes 0 5 0 1 2 3 4 5...
Страница 180: ...170 6 9 6 7 8 9...
Страница 181: ...171 A F A B C D E F...
Страница 184: ...174 F7 F12 F7 F8 F9 F10 F11 F12...