← Manufacturing glossary
Integration & IT

OPC UA

Open Platform Communications Unified Architecture

OPC UA (OPC Unified Architecture) is a platform-independent industrial standard for secure exchange of machine data, such as states, counters and alarms, between devices and software.

Short answer: OPC UA (OPC Unified Architecture) is an open, platform-independent standard for exchanging data between industrial devices and software. A machine or PLC runs an OPC UA server that publishes states, counters, process values and alarms; MES, SCADA or shop floor apps read them as clients, securely and without manual typing.

What OPC UA means and how it works

OPC UA is maintained by the OPC Foundation, which says it was released in 2008 and brings the functions of the older OPC Classic specifications into one extensible framework. Unlike OPC Classic, it is not tied to Windows: according to the OPC Foundation, it runs on anything from embedded microcontrollers and PLCs to PCs and cloud servers.

Three ideas matter in practice:

  • Information model. Data is not just a list of raw addresses. A server exposes a browsable structure of nodes, for example Line 2 → Press 4 → State, GoodCount, Alarm, with data types and descriptions.
  • Communication patterns. In client-server mode, a client reads values, writes them, calls methods or subscribes to changes. Publish-subscribe (PubSub) suits many-to-many setups where publishers send data without knowing the subscribers.
  • Security built in. Clients and servers identify themselves with X.509 certificates, and messages can be signed and encrypted. Authentication and auditing are part of the standard.

Who works with it: automation and controls engineers who configure PLCs and servers, IT and OT teams who manage networks and certificates, and production, maintenance and quality managers who use the resulting data in OEE, downtime analysis and traceability.

How to connect a machine over OPC UA

  1. Check the machine. Find out whether the PLC or machine controller has an OPC UA server, or whether a gateway is needed for older equipment.
  2. Define the signals. Agree on a short list: machine state, good count, reject count, alarm codes, and the process values quality needs.
  3. Set up security. Exchange certificates, choose a security mode with signing and encryption, and create a user with read-only rights.
  4. Map the nodes. Link each OPC UA node to a field in the receiving system, with units and sampling or subscription intervals.
  5. Validate. Compare a full shift of counts and stops against the operators’ records before using the data for KPIs.

Example (illustrative): A press runs a 480-minute shift. The State node shows 60 minutes of stops, so availability is 420 ÷ 480 = 87.5 %. With an ideal cycle of 30 seconds, 420 minutes allow 840 parts; the counters show 780 parts in total, so performance is 780 ÷ 840 = 92.9 %. Of these, 760 are good, so quality is 97.4 %. OEE = 87.5 % × 92.9 % × 97.4 % ≈ 79.2 %. Before OPC UA, the same press reported counts on paper at shift end, and short stops of a minute or two never appeared anywhere.

Want to see this for your plant? Book a free analysis and we will review which of your machines can deliver data over OPC UA.

Common mistakes

  • Reading hundreds of tags “just in case”. Start with the signals that feed a decision: state, counts, alarms. More can follow later.
  • Leaving security switched off. Running without certificates and encryption on a flat network exposes machines unnecessarily. Use read-only accounts for reporting.
  • Inconsistent state definitions. If each machine encodes “stopped” differently, plant-wide OEE becomes meaningless. Agree on one state model.
  • Skipping validation. A counter that resets at power-off or counts strokes instead of parts will distort every KPI built on it.
  • Forgetting older machines. Plan gateways or retrofitted sensors for equipment without an OPC UA server, or your data will cover only part of the plant.

OPC UA in P4

Productoo P4 reads states, counters and process values from OPC UA servers and uses them in production, maintenance and quality apps. In Factory Cockpit, machines that provide data over OPC UA connect directly: counters, states and alarms come straight from the PLC, and each machine appears on a plant map coloured by its live state, with OEE, output and energy per machine. For older equipment, Productoo reviews the machines with you and proposes a way to bring their data in.

Factory Cockpit works alongside existing control systems such as SCADA rather than replacing them. Through the P4 MCP server, Claude, ChatGPT or Microsoft Copilot can answer questions about machine states, OEE and energy within the user’s access rights. To check a calculation, try the OEE calculator.

Related terms

FAQ

Is OPC UA a fieldbus?

No. Fieldbuses connect sensors and drives to a controller in real time. OPC UA sits above them and exchanges structured information between controllers, machines and software systems.

What is the difference between OPC UA and MQTT?

MQTT is a lightweight messaging protocol without a built-in industrial data model. OPC UA defines both the information model and the communication, and its PubSub mode can use message-oriented middleware for transport.

Can old machines use OPC UA?

Often yes, through a gateway that reads the existing controller or added sensors and exposes the values as an OPC UA server.

Next step: Book a free analysis of your machine connectivity, or browse P4 apps.

Updated 1 December 2026.

In P4:
Factory Cockpit