One-dimensional code can only read barcodes! !! !!
Two-dimensional code readable barcode and two-dimensional code, support screen reading! !!
Wireless version with built-in battery, rechargeable, wireless distance up to 200 meters
Code scanning guns use large brand code scanning guns
Modbus Barcode Scanner
Bar code scanners, also known as bar code readers, bar code scanners, bar code scanners, bar code scanners and bar code readers. It is a reading device used to read the information contained in a barcode. Using the optical principle, the content of the barcode is decoded and transmitted to a computer or other device via a data cable or wirelessly. Widely used in supermarkets, logistics express, libraries and other barcode scanning of goods and documents. The barcode scanning gun can recognize various barcodes and two-dimensional codes, and at the same time adopts Modbus-RTU protocol, and can be connected with various PLCs and configuration software. The station number can be changed.
Software agreement
Protocol factory default parameters:
l Communication interface: RS485 / RS232.
l Communication format: 1 start bit, 8 data bits, no parity, 1 stop bit.
l Baud rate: 9600 (can be changed by software).
l Address: 1 (can be changed by software).
l Communication method: The monitoring host and the device use the one-to-one (or one-to-many) master-slave query method.
l Data protocol: MODBUS-RTU
MODBUS protocol commands, detailed explanations, examples
Note: Unless otherwise specified, the data in all the following commands is hexadecimal, and the slave address is 01 by default.
Be careful not to connect the power supply voltage to terminals other than the power supply, otherwise the module will be burned.
The wireless version cannot distinguish between uppercase and lowercase letters, and the output is all uppercase. Please purchase as required
Read data code:
Read barcode:
Send: 01 03 00 00 00 05 85 C9
Returns: 01 03 10 00 00 00 00 00 00 00 00 00 00 51 AE
Set station number (function code: 16H)
For example, the initial station number is 01, and the station number is set to 02
Host sends: 01 16 00 00 00 02 C9 C8 (00 02 indicates the set station number)
Slave return: 02 16 00 00 00 FF 08 7A (indicating that the setting is completed, the station number will take effect immediately)
For example, the initial station number is 01, and the station number is set to 03
Host sends: 01 16 00 00 00 03 08 08 (00 03 indicates the set station number)
Slave return: 03 16 00 00 00 FF 09 AB (indicating that the setting is completed, the station number will take effect immediately)
For example, the initial station number is 03, and the station number is set to 04
Host sends: 03 16 00 00 00 04 48 28 (00 04 indicates the set station number)
Slave return: 04 16 00 00 00 FF 08 1C (indicating that the setting is completed and the station number will take effect immediately)
PLC program