3
Command Programming
Besides the barcode programming method, the EM3095 can also be configured by serial commands sent
from the host device. Note that communication parameters on the engine and the host must match so
that two devices can communicate with each other. The default settings of the engine are 9600bps, no
parity check, 8 data bits, 1 stop bit, and no flow control. The engine uses 8-bit registers.
Read Register
The read command is used to read the contents of 1 to 256 contiguous registers in the engine.
Syntax: {Prefix1} {Types} {Lens} {Address} {Datas} {FCS}
Prefix1 : 0x7E 0x00
Types : 0x07
Lens : 0x01
Address: 0x0000~0x00FF, starting register address.
Datas : 0x00~0xFF, number of registers to be read. When Datas=0x00, 256 contiguous
registers are to be read.
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.
Содержание NLS-EM3095
Страница 1: ...NLS EM3095 OEM Scan Engine User Guide...
Страница 3: ...Revision History Version Description Date V1 0 0 Initial release November 20 2013...
Страница 10: ......
Страница 46: ...36 19 Romania 20 Russia 21 Slovakia 22 Spain 23 Sweden 24 Switzerland 25 Turkey1 26 Turkey 2 27 UK 28 Japan...
Страница 63: ...53 Good Read Beep Frequency Low Medium High Good Read Beep Duration 40ms 80ms 120ms...
Страница 116: ...106 Mirror Images Decode Unmirrored DM Only Decode Mirrored DM Only Decode Both...
Страница 118: ...108 Mirrored Micro QR Decode Mirrored Micro QR Do Not Decode Mirrored Micro QR...
Страница 135: ...125 Appendix F Digit Barcodes 0 5 0 1 2 3 4 5...
Страница 136: ...126 6 9 6 7 8 9...
Страница 137: ...127 A F A B C D E F...