Interface Settings#

Communication Mode#

USB HID-KBW#

When the scan engine is connected to the host using a USB cable, the scan engine can be configured as a standard keyboard input by scanning the USB KBW setting barcode.

../../_shared/_images/module-212e/0010061.png

USB HID-KBW#

USB COM#

When the scan engine is connected to the host using a USB cable, the scan engine can be configured into virtual serial port output mode by scanning the USB COM setting barcode.

../../_shared/_images/module-212e/0010062.png

USB COM#

serial#

The serial communication interface is a common way to connect the scan engine to the host device (such as PC, POS, etc.). When the scan engine is connected to the host using a serial port cable, the system defaults to the serial communication mode. When using the serial communication interface, the communication parameter configuration between the scan engine and the host device must completely match to ensure smooth communication and correct content.

../../_shared/_images/module-212e/0010060.png

TTL-232 Serial Port#

The serial communication interface of the scan engine uses TTL level signals (TTL-232). This interface can adapt to most system architectures. If the system needs to use RS232 architecture, an external conversion circuit needs to be added.

The default serial communication parameters of the scan engine are shown in Table 2-1.

Serial Communication Parameter Table 2-1

Parameter

default

Baud Rate

115200

Check Digit

none

Data Bits

8

stop bit

1

Baud Rate#

When the scan engine communicates with the host through TTL-232/RS232, the same communication parameters must be set for normal communication, including transmission rate, verification, flow control, etc. The transmission rate is the baud rate, and the default baud rate is 115200.

../../_shared/_images/module-212e/0010071.png

600#

../../_shared/_images/module-212e/0010072.png

1200#

../../_shared/_images/module-212e/0010073.png

2400#

../../_shared/_images/module-212e/0010074.png

4800#

../../_shared/_images/module-212e/0010075.png

9600#

../../_shared/_images/module-212e/0010076.png

14400#

../../_shared/_images/module-212e/0010077.png

19200#

../../_shared/_images/module-212e/0010078.png

38400#

../../_shared/_images/module-212e/0010079.png

57600#

../../_shared/_images/module-212e/00100710.png

*115200#

Check Digit#

../../_shared/_images/module-212e/0010090.png

* No Parity#

../../_shared/_images/module-212e/0010091.png

Odd#

../../_shared/_images/module-212e/0010092.png

Even#

stop bit#

../../_shared/_images/module-212e/00100A0.png

* 1 Bit#

../../_shared/_images/module-212e/00100A2.png

2 People#

Data Bits#

../../_shared/_images/module-212e/0010080.png

5 People#

../../_shared/_images/module-212e/0010081.png

6 Bits#

../../_shared/_images/module-212e/0010082.png

7 Bits#

../../_shared/_images/module-212e/0010083.png

* 8 Bit#

USB HID-POS#

When the device is used as a HID device, you can read the following setting barcode and select the HID POS device mode.

../../_shared/_images/module-212e/0010063.png

HID POS#

Command#

Format#

Instruction composition: Instructions use ASCII strings and are composed as follows

  • Setting Barcode

  • Instruction Type

  • The default checksum is “99”

Instruction Type

Instruction Type

Command

Permanent Setting Instructions

Setting Barcode+”>;99’”

Temporary Setup Instructions

Setup code+”^;99”

Query Command

Setup code+”?;99”

The Return Command Is Correct

Setup code+”$;99”

Return Command Error

Setting Barcode+”*;99”

Function

Send

Return Correctly

Error Return

Remark

Setup Instructions

>!0010201.>;99

>!0010201.$;99

>!0010201.*;99

Query Command

>!0010201.?;99

>!001020X.$;99

>!0010201.*;99

X Query Value

For example: to set the end character to carriage return and line feed, the setting barcode is >!0010201.

Special instructions involve permanent setting instructions, please do not use them frequently. If it is shipped from the factory or is set occasionally, it is recommended to use the permanent setting command. If the settings are modified every time the code is read, please use the temporary setting command. Frequent use of the permanent setting command will affect the service life of the scanning device.

Detailed instructions can be found in Appendix D.

Answer#

After being enabled, the host sends commands and the scan engine will respond accordingly.

../../_shared/_images/module-212e/0010380.png

Disable#

../../_shared/_images/module-212e/0010381.png

* Enable#

Command Prompt Sound#

After being enabled, when the scan engine receives an instruction, there will be a sound prompt.

../../_shared/_images/module-212e/0010300.png

Disable#

../../_shared/_images/module-212e/0010301.png

* Enable#

Packet Format#

Decode Data

Identifier

Status

Type

Length

Barcode Type

Data

Check

0x99 0xDD

0x06

Field Description

Field Name

Size

Description

Identifier

2 Bytes

Fixed 0x99, 0xDD

Status

1 Byte

bit0: permanent change

bit1: repeated sending

bit2: command prompt sound

Type

1 Byte

Type Of Instruction

Length

4 Bytes

High byte first (low address), low byte last (high address), does not include check digits

Barcode Type

1 Byte

See Appendix F For Details

Data

Variable

Decode Data

Check

1 Byte

XOR Check

When ACK is enabled, the host receives the decode data command and must reply ACK to the scan engine.

Toggle#

When enabled, decoded data will be sent in packet format.

../../_shared/_images/module-212e/0010230.png

* Disable#

../../_shared/_images/module-212e/0010231.png

Enable#