EasyManua.ls Logo

Unitech PS8000 - Operate the Imager by Receiving Command Via UART

Unitech PS8000
111 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13
3-3
Operate
the imager by receiving command via UART
Note:
1- The information in this chapter is provided for the imager with RS232 cable or USB cable.
2- If the imager is with USB cable, the setting of USB device type must be set as USB virtual COM.
Please refer to 3-6 USB interface.
3- Please read 3-7 Hand-held scan & some global settings about the setting of Scanning mode in
details.
UART parameter should be set as below:
(1) Baud rate: 9600 bps;
(2) Data bits: 8 bits;
(3) Stop bit: 1 bit;
(4) Parity check bit: None;
(5) Flow control: None.
Guide of control command: all commands are sent by UART
1) Start command: “0x54 (T)
When the imager received the above command, it will start barcode scanning following the setting
of Scanning mode. If the imager is in the mode of Auto-detection, the imager will have a single
scan, then returns to Auto-detection mode.
2) Stop command: “0x50” (P)
If the Scanning mode is set as Alternate continue or Continue, and the imager received the
above command, it will stop barcode scanning and act as in an idle mode.
3) Restart command: 0x35” (R)
Once the imager received the above command, it will restart.
Returning message from the imager
1) A successful decode
Once the imager successfully decoded a barcode, the imager will stop scanning and returns the
barcode data to the Host.
2) Not a successful decode
Once the imager failed to decode a barcode before stopping scanning, the imager will return a
message to the Host. The message is set as 0x25, 0x25, 0x4E, 0x6F, 0x52, 0x65, 0x61, 0x64
(%%NoRead).

Related product manuals