11
3-2 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 chapter of
3)
Please read the chapter of
3-7 Scan mode & some global settings
about the setting of Scan mode
in details.
4)
UART parameter setting:
a)
Baud rate: 9600 bps.
b)
Data bits: 8 bits.
c)
Stop bit: 1 bit.
d)
Parity check bit: None.
e)
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 Scanning 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 Scanning 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).
Summary of Contents for MD29 Series
Page 1: ...MD29xx Barcode Scanner User Manual Version MD29xx_UM_EN_V1 1 3...
Page 2: ......
Page 4: ...ii...
Page 9: ...2 1 3 Decode zone Figure 1 1 High density series Figure 1 2 Long range series...
Page 11: ...4 2 2 Dimensions Figure 2 2 Dimensions of scanner...
Page 12: ...5 2 3 Parts of the scanner Figure 2 3 Exit window Trigger Beeper LED...