Related solutions & services: industrial IoT solutions · OEM gateway · IoT for machines and panels
Technical Summary & Key Specifications
A PLC data acquisition device is an industrial IoT gateway that connects to the PLC over Modbus, industrial Ethernet or I/O signals, collects the data and pushes it to MQTT, OPC UA or SCADA. If the machine has a communication port, read the registers directly. On older machines, read relay contacts and current sensors. If you need to filter data on site, use an edge gateway.
- Three main routes: protocol reading (Modbus/Ethernet), I/O and CT tapping for older machines, edge gateway processing at the edge
- Common outputs: MQTT/MQTTS, OPC UA, Modbus TCP, REST API
- Network rule: separate the OT and IT subnets, the gateway is the only bridge, never expose a PLC port to the Internet
- EIA/TIA-485: up to 32 unit loads on one bus segment, up to 1,200 m at low baud rates
- PoC duration: about 2-4 weeks for one line or a few representative machines
What is a PLC data acquisition device, and where does it sit in the system?
A PLC data acquisition device is the hardware that sits between the PLC (the OT layer) and your monitoring software, MES or cloud (the IT layer). It polls the PLC on a fixed cycle, normalizes the data into one common format, buffers it when the network drops and then forwards it. In datasheets you will see it under several names: industrial IoT gateway, edge gateway, protocol converter, sometimes DTU.
We see the same situation again and again: a plant has twenty PLCs from three brands, everyone wants a dashboard, and nobody has answered the question "which path do we use to get the data?" That question has to be settled before you pick any software. If you are still at the stage of learning how to read registers, our article on reading Mitsubishi, Siemens and Delta PLC data over Modbus goes into addressing and configuration in detail.
This article is broader than a single Modbus setup. We compare the acquisition routes, choose hardware by use case, and then describe how to run a trial before you buy in volume. OEE calculation, Andon and shop-floor displays are covered in the article on machine monitoring, Andon and OEE, so we will not repeat them here.
Three ways to collect PLC data: choose by the condition of the machine
No route is best for every machine. What decides it is whether the PLC still has an open communication interface, and whether you are allowed to touch the program. Many plants bought machines under a warranty that forbids changes to the logic, and in that case protocol reading is blocked.
| Route | How it works | Best for | Limits |
|---|---|---|---|
| 1. Protocol reading | The gateway polls PLC registers over RS485 (Modbus RTU) or Ethernet (Modbus TCP, vendor protocols) | PLCs that still have a comm port and an address table, or where mapping memory areas is allowed | Needs address documentation; the PLC program may need changes to expose data in a shared memory area |
| 2. I/O and CT tapping | Take Run/Alarm relay signals, count production pulses, clamp a CT on the motor current | Older machines, locked PLCs, or no documentation | Raw signals only; you do not see error codes or the logic inside the PLC |
| 3. Edge gateway | A gateway with a CPU and Linux reads, filters and computes by itself, then pushes to the cloud or SCADA | Many PLCs, many protocols, local processing needed when the network is down | Higher hardware cost, and someone has to configure the logic |
Which protocol for which PLC brand?
This table is only a general orientation. It does not replace the manual for your exact PLC family and firmware version. Within one brand, older and newer series can differ completely in what they can communicate, so check the manual before you commit to a design.
| PLC brand / series | Protocols commonly used | Notes when reading data |
|---|---|---|
| Delta (DVP, AS) | Modbus RTU over RS485, Modbus TCP on models with Ethernet | Usually the easiest because Modbus is built in; you need the mapping from D registers to Modbus addresses |
| Mitsubishi (FX, iQ-R) | Vendor Ethernet protocol; Modbus through a module or extra configuration | Depends on the series; some need an additional communication module |
| Siemens (S7-1200, S7-1500) | S7 protocol, Modbus TCP via function blocks, OPC UA on series and firmware that support it | Enable access permissions and check the protection settings before reading |
| Omron, Allen-Bradley and others | Vendor industrial Ethernet protocols (FINS, EtherNet/IP...) | Check whether the gateway has the matching driver or whether you must go through OPC UA |
| Legacy PLCs with no network port | RS232/RS485 with a proprietary protocol, or I/O reading | Consider I/O reading instead of trying to crack the protocol |
OT to IT architecture: should the data go through MQTT or OPC UA?
A gateway has to speak two languages: Modbus or a vendor protocol toward the PLC, and something your software understands toward the top. The two most common choices are MQTT and OPC UA, and they do not exclude each other.
- MQTT/MQTTS: lightweight, works well over 4G or a weak link, publish/subscribe model. A good fit for pushing data to the cloud or a central broker. See also the MQTT protocol in IoT.
- OPC UA: has an information model (tags, data types, units) and certificate-based security. A good fit when the upper layer is a SCADA or MES that already supports it. The article on OPC UA in factory digital transformation explains it in more depth.
- Modbus TCP, REST API: use these when the target system is simple or you need a quick integration with existing software.
Separating OT and IT: the gateway is the only door
A PLC is built to control a process reliably, not to withstand network attacks. Plugging it into the same switch as office PCs is the fastest way to let one virus scan or one broadcast storm stop a machine. The right approach is to split the network into two subnets and let the gateway act as a controlled bridge.
With an edge gateway such as the DL-GW400, this is done in hardware: two Gigabit RJ45 ports sit on two different subnets, one facing the machine network (OT) and one facing the plant network or the Internet (IT). The gateway supports OPC UA, BACnet/IP and MQTTS, and runs Node-RED, so you can build your own filtering, unit conversion and alarm logic right on the device.
- Allow the gateway to connect outward only (outbound), with the broker authenticated by a certificate or a dedicated account.
- Keep a written list of the registers the gateway may read; start read-only, with no writes.
How to choose a PLC data acquisition device for your use case
Before comparing specs, answer four questions: how many devices need to be read, what is the input protocol, where does the data go, and what does the network look like on site. Most wrong choices come from skipping the fourth question.
| Use case | Suggested device | Key points |
|---|---|---|
| A few Modbus RTU devices that need to reach Ethernet or MQTT | DL-GW200 | 1 isolated RS485 port at 3.0 kV, Modbus TCP Server, MQTT/MQTTS, 100,000-record buffer when the network is down, optional 4G Cat-1 |
| Many RS485 ports, many devices, edge processing needed | DL-GW400 | 4 independently isolated RS485 ports (aggregating up to 128 devices), 2 Gigabit ports on two subnets, OPC UA, Node-RED, Docker |
| A single machine: read Modbus plus a Run signal, count pulses, need 4G | DL-M400 | 1 RS485 Master, 2 isolated DI (5 kHz pulses), 1 relay, 4G Cat-1, 32 MB flash |
| Only need a transparent RS485 to Ethernet conversion | DL-RS485 | 3.0 kV optical isolation, 600 W TVS surge protection, dual watchdog, 35 mm DIN rail |
If the layer above you is MES or ERP software from another vendor, there is also a data-interface contract to think about. We wrote about that situation separately in data acquisition hardware for MES and ERP software companies. And if you are weighing a gateway against an industrial PC, read IPC versus embedded datalogger.
A 2-4 week PoC before you roll out widely
A PoC (proof of concept) answers a single question: can the data we need be pulled out reliably and correctly? It does not need a pretty dashboard. Pick one line or 3-5 representative machines, including a newer one and the hardest one.
- Week 1, survey: list the PLCs, brand, series, firmware, comm ports and address documentation; photograph the cabinets; confirm how much access you are actually allowed.
- Weeks 1-2, connect: install the gateway, read a few tags and compare the values with the machine's HMI screen. This is where byte-order errors and off-by-one address mistakes show up.
- Weeks 2-3, stabilize: run continuously, unplug the network cable to simulate an outage and check buffering and back-fill, and watch the timeout rate.
- Weeks 3-4, evaluate: fix the official tag list and polling cycle, decide on an approach for the remaining machines, and estimate the rollout effort.
Common mistakes when collecting PLC data
- Duplicate Slave ID or wrong RS485 parameters: two devices with the same address on one bus give flaky data. Check baud rate, parity and the 120 Ω termination.
- Noise from inverters: the gateway works fine on the bench but drops packets once installed in a cabinet with a VFD. Use isolated ports, shielded twisted-pair cable and ground the shield at one end. Details in RS485 noise immunity with optical isolation.
For a PLC data acquisition device, our advice is to start small: few tags, but read correctly and continuously. The next step depends on what you need above it. If it is machine status and OEE, read machine monitoring, Andon and OEE; if you need to change the communication layer, see the Modbus RTU to TCP converter.
Frequently asked questions
How is a PLC data acquisition device different from an RS485 to Ethernet converter?
An RS485 to Ethernet converter only changes the transmission medium; the Modbus frames stay intact. A PLC data acquisition device (gateway) also actively polls registers, converts the protocol to MQTT or OPC UA and buffers data when the network drops. If you only need to bring Modbus onto the LAN for an existing SCADA, the converter is enough.
How do I collect data from an old PLC with no communication port?
Read it from outside the PLC: take the relay or indicator-lamp signals for Run/Alarm, count production pulses from a sensor, and clamp a CT on the motor current. This needs no program changes and does not void the warranty, but it only gives raw signals, with no error codes or process parameters from inside the PLC.
How many devices can one RS485 port read?
The EIA/TIA-485 standard allows up to 32 unit loads on one bus segment. In practice the sensible number also depends on cable length, baud rate and polling cycle. If you need more, split the load across several independent ports, for example an edge gateway with 4 RS485 ports, each one isolated.
Should I use MQTT or OPC UA to send PLC data to a monitoring system?
You do not have to pick one. OPC UA suits SCADA or MES inside the plant because it has a tag model and certificate security. MQTT suits pushing data to the cloud over 4G or a weak link. A good gateway runs both in parallel and you configure each according to the receiver.
Can I read PLC data without modifying the PLC program?
In many cases, yes. If the PLC already offers Modbus or OPC UA and you know the memory addresses, you only configure the gateway. When the data sits in an internal memory area that is not exposed, you may need to add a few ladder rungs to copy it into output registers. That requires the machine owner's consent.
How long does a PLC data acquisition PoC take?
Typically 2-4 weeks for one line or 3-5 representative machines. Two weeks is enough when the PLCs are from one brand and the address documentation exists. Older machines, unclear registers or several different protocols will take longer. A specific estimate needs an on-site survey first.
Have a specific requirement? Send your description, files or existing schematics and a DeviceLab engineer will reply with an approach and a quotation, or call directly 0982 503 355.