What is OPC UA (OPC Unified Architecture)?

OPC UA (OPC Unified Architecture) is an open, platform-independent standard, published as IEC 62541, for exchanging structured, secure data between industrial machines, controllers and software.

Also called OPC Unified Architecture, OPC UA server, OPC UA clientUpdated

OPC UA (OPC Unified Architecture) is the common language that lets a CNC machine, a PLC, a SCADA system and a cloud application exchange data without custom drivers for each pair. The OPC Foundation released it in 2008, and the IEC publishes it as the IEC 62541 series. Many current PLCs and CNC controllers offer a built-in OPC UA server.

How OPC UA works

  • Server and address space. The device or gateway runs an OPC UA server. It exposes an address space: a browsable tree of nodes such as objects, variables and methods. Each node has a NodeId, a value, a timestamp and a status code.
  • Clients. A SCADA system, MES or data collector is an OPC UA client. It can browse the tree, read and write values, call methods and create subscriptions, so the server pushes changes instead of being polled.
  • Information models. Nodes have types, so a client can see that a node is a "temperature in °C" and not just a number. Companion specifications, written with industry groups, define standard models for kinds of equipment, so two vendors' machines can look the same to software.
  • Security. Applications authenticate each other with X.509 certificates, and messages can be signed and encrypted. Users can log in with a username and password or a certificate.
  • Transports. Client-server usually runs over the binary opc.tcp protocol, on port 4840 by default. The PubSub model (Part 14) lets publishers send data to many subscribers through UDP or a broker such as MQTT.

Example: reading a press over OPC UA

A data collector connects to opc.tcp://press-07.plant.local:4840, checks the server's certificate and subscribes to three nodes:

ns=2;s=Press07.Status.State        "Running"   Good   2026-11-21T09:14:03Z
ns=2;s=Press07.Counters.GoodParts  18342       Good   2026-11-21T09:14:03Z
ns=2;s=Press07.Spindle.TempC       61.4        Good   2026-11-21T09:14:02Z

Every time the part counter changes, the server pushes the new value. The collector turns state changes into downtime events and counts into OEE, then publishes them to the plant's MQTT broker for dashboards.

OPC UA vs OPC DA

OPC DA (Data Access) belongs to OPC Classic, the earlier specifications built on Microsoft COM/DCOM. It runs only on Windows, is hard to pass through firewalls, and has separate specifications for live data, alarms (A&E) and history (HDA). OPC UA brings those functions together in one platform-independent standard with built-in security. Older plants often use a gateway that wraps OPC DA servers as OPC UA.

OPC UA vs MQTT

They solve different problems and are often used together. OPC UA describes data in rich, typed models and suits machine-to-SCADA and machine-to-MES links inside the plant. MQTT is a light publish-subscribe transport that suits sending many values to many consumers, including the cloud. A common pattern reads from machines over OPC UA at the edge and publishes over MQTT. See the manufacturing industry outlook for how OPC UA fits a plant with machines of different ages.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call