- Build a connectivity register before choosing technology.
- Use OPC UA, MQTT and Modbus for what each does well; they are often combined.
- Start with state, counts, cycle time and stop reasons, with context attached.
- Apply an IEC 62443 zones-and-conduits baseline before scaling.
Start with an asset-by-asset assessment
The first deliverable is a connectivity register: one row per asset, recording the controller make and model, firmware where known, available ports, supported protocols, the data that already exists in the controller, and who owns the machine. In practice most assets fall into one of four groups.
| Group | Typical situation | Usual route |
|---|---|---|
| Native interface | Newer controller with a built-in OPC UA server or equivalent | Connect directly, read-only, through a controlled network path |
| Legacy protocol | Controller communicates over a serial or manufacturer-specific protocol | Protocol gateway that translates to a modern interface |
| Closed or no controller | Relay logic, a locked controller, or no access permitted by the machine builder | Retrofit sensors: current sensing for run state, counters, vibration or temperature |
| Manual only | No practical sensing point, or information only a person knows | Structured operator input at the line, with fixed reason lists |
The register also shows which assets are not yet worth connecting. Data collection should follow the decisions it is meant to support, not the other way round.
Choose the protocol by purpose
Three protocols come up repeatedly in shop-floor connectivity work. They solve different problems and are often used together.
| Protocol | What it is | Strengths | Points to plan for |
|---|---|---|---|
| OPC UA | Platform-independent industrial interoperability standard from the OPC Foundation, published as IEC 62541 | Information modelling, so data carries structure and meaning; built-in authentication and encryption | Configuration effort; information models need to be agreed per machine type |
| MQTT | Lightweight publish–subscribe messaging through a broker; an OASIS standard, with version 3.1.1 also published as ISO/IEC 20922 | Efficient over constrained networks; decouples data producers from consumers; suits large numbers of devices | Defines transport, not meaning: topic structure and payload format must be agreed |
| Modbus | Register-based protocol first published by Modicon in 1979, with serial (RTU, ASCII) and TCP variants | Widely supported by older controllers, drives and meters; simple to implement | No built-in security or data model; meaning comes from each device’s register map |
A common pattern is to read Modbus or a manufacturer protocol at the asset, translate it in a gateway, and publish upward through OPC UA or MQTT. The choice at each hop should follow the consumer’s need: structured, browsable machine data favours OPC UA, while distributing events to many consumers favours MQTT.
Collect less, with context
The first data set should support the first decisions. For most plants that means machine state (running, stopped, faulted), part counts, cycle time and stop reasons: enough to calculate availability and performance and to see the loss split described in our guide to measuring OEE.
Raw signals become useful only with context: which asset, on which line, in which shift, making which product. Modelling assets in an equipment hierarchy consistent with ISA-95 (site, area, line and cell), and attaching the shift calendar and product context, is what turns counts into OEE.
Collecting every available tag at high frequency is a common early mistake. It increases storage and network load and produces data with no owner. Further signals can be added once the first use case is in daily use.
Secure the path before you scale
Connecting a machine creates a path into the control environment. The ISA/IEC 62443 series is the international reference for the security of industrial automation and control systems. Its zones-and-conduits model groups assets with common security requirements into zones, controls communication between zones through defined conduits, and assigns each a target security level, from SL 1 to SL 4, based on risk.
NIST Special Publication 800-82 Revision 3, Guide to Operational Technology (OT) Security, published in September 2023, provides complementary guidance on OT threats, vulnerabilities and safeguards, including the convergence of IT and OT networks.
A practical baseline for a first deployment:
- Never expose controllers directly to the internet. Route data through a segmented zone between the plant network and the enterprise network.
- Prefer read-only access for monitoring. Keep write access to control logic out of scope unless there is an engineered case for it.
- Replace default credentials on gateways and devices, and keep an inventory of every connected asset and its firmware.
- Agree patching and change-control responsibilities between operations, IT and machine builders before go-live.
- Where a cloud service is involved, prefer connections initiated outbound from the plant side.
Prove on one line, then templatise
Connect one line end to end, put the data into daily use, and then capture what was learned as a connection template per machine type: protocol, gateway configuration, tag list, mapping to the asset model, and security settings. The template, not the pilot, is what makes each subsequent line faster to connect than the first. Our article on scaling beyond the pilot covers the organisational side of that step.
How OrbitX approaches this
Protocol and hardware choices are made asset by asset and recorded in the register with the reasoning, so they can be challenged. Where a machine builder restricts access to a controller, we document the restriction and choose a non-intrusive route rather than work around it. See our machine connectivity and integration capability.
Sources
- OPC Foundation, “Unified Architecture”. https://opcfoundation.org/about/opc-technologies/opc-ua/
- OASIS, MQTT Version 5.0, OASIS Standard (7 March 2019). https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html
- OASIS, “OASIS MQTT Internet of Things Standard Now Approved by ISO/IEC JTC1”. https://www.oasis-open.org/news/pr/oasis-mqtt-internet-of-things-standard-now-approved-by-iso-iec-jtc1/
- Modbus Organization, Modbus FAQ. https://modbus.org/faq.php
- International Society of Automation, “ISA/IEC 62443 Series of Standards”. https://www.isa.org/standards-and-publications/isa-standards/isa-iec-62443-series-of-standards
- National Institute of Standards and Technology, SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security (September 2023). https://csrc.nist.gov/pubs/sp/800/82/r3/final
Standards are cited by their published titles; full texts are available from the publishing bodies. Figures are reported as published by their sources, with dates where the source is time-bound.