15
3-3 Operate
the scanner by receiving command via UART
Note:
1- The information in this chapter is provided for the scanner with RS232 cable or USB cable.
2- If the scanner 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 Scan mode & some global settings
about the setting of Scan 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 scanner received the above command, it will start barcode scanning following the setting
of Scan mode. If the scanner is in the mode of
“Auto-detection”, the scanner will have a single
scan, then returns to
“Auto-detection” mode.
2) Stop command:
“0x50” (P)
If the Scan mode is set as
“Alternate continue” or “Continue”, and the scanner received the above
command, it will stop barcode scanning and act as in an idle mode.
3) Restart command:
“0x35” (R)
Once the scanner received the above command, it will restart.
Returning message from the scanner
1) A successful decode
Once the scanner successfully decoded a barcode, the scanner will stop scanning and returns
the barcode data to the Host.
2) Not a successful decode
Once the scanner failed to decode a barcode before stopping scanning, the scanner will return a
message to the Host. The message is set as
“0x25, 0x25, 0x4E, 0x6F, 0x52, 0x65, 0x61, 0x64”
(%%NoRead).
Содержание MS338
Страница 1: ...MS338 Image Barcode Scanner User Manual ...
Страница 2: ...Unitech Europe Form MS338 Version 1 1 2 ...
Страница 5: ...Unitech Europe Form MS338 Version 1 1 2 ...
Страница 9: ...4 2 Get started 2 1 Dimensions ...
Страница 12: ...7 Note Voltage level of all RS232 Pin outs RxD TxD CTS and RTS is 0V for logic low and 3 3V for logic high ...
Страница 16: ...11 Figure 2 8 EN AutoDete ...
Страница 18: ...13 ...
Страница 37: ...32 ...
Страница 57: ...52 Multiple scan setting Single scan setting Option barcode Option Alpha entry ...
Страница 63: ...58 Insert group selection 00 44 00 44 00 ...
Страница 65: ...60 Insert group selection 00 44 00 44 00 ...
Страница 72: ...67 ...
Страница 79: ...74 ...
Страница 82: ...77 UCC EAN 128 01 ...
Страница 90: ...85 Testing barcode ...
Страница 103: ...98 UK Plessey China Post Telepen GS1 DataBar GS1 DataBar Truncated GS1 DataBar Limited GS1 DataBar Expanded ...
Страница 104: ...99 PDF417 12 890ab xyz QR code 1234567890ABCD XYZ Data Matrix 123890abc mdo ...
Страница 107: ...102 10 Configuration alphanumeric entry barcode To finish parameter setting please scan the bar code below ...
Страница 108: ...103 ...