- Create the block data types
- Register tag sets: input instance 100, output 150
- Install the EDS file and add the device
- Watch Data_In and Data_Out
Barcode scanner PLC integration
Our smart readers present the same three data blocks to the PLC whichever protocol you use. Learn the handshake once, then pick PROFINET, EtherNet/IP or Modbus TCP to suit the controller.
- Status blockReader → PLC: ready, ack, reading, success, completed
- Control blockPLC → reader: trigger enable, trigger, result ack
- Decode results blockCounters, result code, length, ASCII data
- ModesTriggered by the PLC, or continuous
Which model speaks which protocol
From each model's datasheet.
| PROFINET | EtherNet/IP | Modbus TCP | MC protocol | TCP/IP socket | Modbus RTU | RS232 | USB | |
|---|---|---|---|---|---|---|---|---|
| VS110R | Yes | Yes | Yes | Yes | Yes | Yes | Yes | – |
| VS210 | Yes | Yes | Yes | – | Yes | – | Yes | Via RS232 adapter |
| VS600E | Yes | Yes | Yes | – | Yes | – | Yes | – |
| VS320-DPE | Ethernet version | Ethernet version | Modbus | – | Yes | – | Yes | HID / COM |
| VS95 | – | – | – | – | Yes | – | Yes | – |
| VS90 · VS80 · handhelds | – | – | – | – | – | – | Yes | Yes |
Guides by protocol
- Import the GSDML file
- Drag the reader into the network view
- Choose modules by code length
- Monitor and trigger
- Status block: input coils, offset 0
- Control block: coils, offset 0
- Results: input registers, offset 0
- Poll the three blocks in turn
- Set the reader as server or client
- Open the connection
- Send the trigger, receive the string
Supported by ReadCell VS110R. A guide follows once the factory provides an example project.
Integration questions
Do I have to register to download the files?
No. Datasheets, device description files and example projects are direct downloads.
Can two masters talk to one reader over Modbus TCP?
No. One Modbus TCP master connects at a time, so a triggered read means the PLC polls the status, control and results blocks in turn. In continuous mode it only needs to read the results block.
How long a code can the PLC receive?
The decode results block carries the result data length and the ASCII data. Over PROFINET you choose a results module sized to your code length.
Are the readers PROFINET or ODVA certified?
The readers support PROFINET and EtherNet/IP. We do not claim conformance certification.
Stuck on a PLC project? Send us the details.
PLC model, software version and what the reader should do. We reply with the steps or an example.