What Is OPC UA?

What Is OPC UA?

OPC UA (Open Platform Communications Unified Architecture) is an open industrial communication standard that lets PLCs, CNCs, sensors and software from different manufacturers exchange data with each other securely, independently of platform and in a meaningful way. It is managed by the OPC Foundation and standardised as IEC 62541.

In brief

  • Standard: IEC 62541, OPC Foundation; vendor-independent.
  • Model: client–server (and PubSub); data is presented as nodes in an address space.
  • Security: certificate-based authentication, encryption, signing.
  • Used by: MES/SCADA integrations, IIoT gateways, machine builders.
  • Benefit: reading/writing data through a single interface without writing a separate driver for each brand.

What Is OPC UA?

A factory has dozens of controller brands, and each speaks its own protocol. OPC UA puts a common layer on top of this variety: the machine publishes its data in a standard way as an OPC UA server , and the MES or SCADA connects as an OPC UA client to read, write or subscribe to changes.

Its main difference from classic OPC (OPC DA) is that it removes the Windows COM/DCOM dependency and presents data not just as “tags” but within an information model that includes type, unit and relationships. A temperature value appears as “Furnace1 / Zone2 / Temperature, unit °C, type Float” instead of “DB10.DBD24”.

Why Does It Matter?

  • Vendor independence: Controllers such as Siemens, Beckhoff and B&R include a built-in OPC UA server; gateway software exists for those that do not.
  • Security: X.509 certificates, session encryption and user authorisation are part of the protocol; it is preferred for IEC 62443-compliant OT networks.
  • Meaningful data: Thanks to the information model, integration is done by browsing rather than memorising tag lists.
  • Scalability: The same standard runs on a sensor and on an enterprise server.

How Does It Work?

Address space and nodes

The server presents its data in a tree structure (address space). Each leaf is a node and carries a unique NodeId. Nodes have attributes such as value, data type, access rights and timestamp.

Read, write, subscribe

The client can read a node directly (Read), write a value (Write) or subscribe to changes (Subscription/MonitoredItem). Subscription is the most efficient method for MES: when machine status changes, the server notifies, and constant polling is not needed.

Companion Specifications

Industry information models (for example Euromap 77 for plastic injection moulding, umati for machine tools) are built on top of OPC UA. This way, injection moulding machines of different brands present data with the same node structure.

Comparing OPC UA with Other Protocols

FeatureOPC UAModbus TCPMQTT
Data modelRich, typed, hierarchicalRaw registersNone (free payload)
SecurityBuilt-in certificates + encryptionNoneWith TLS
Communication modelClient–server, PubSubClient–serverPublish–subscribe
Typical useMES/SCADA–machineSimple PLC/counter readingIIoT, cloud transmission

Points to Watch in Practice

  • Plan certificate management from the start; every client-server pair requires mutual trust.
  • Keep subscription intervals reasonable: 100 ms publishing is not needed for every tag.
  • If you use a gateway, assess the latency and single-point-of-failure risk.
  • Instead of hard-coding NodeIds, discover and map them with a browser, so nothing breaks when the PLC program changes.

Frequently Asked Questions

What is the difference between OPC UA and classic OPC (OPC DA)?
Classic OPC depended on Windows-specific COM/DCOM technology and was hard to use over a network. OPC UA is platform-independent, can even run on a PLC, includes encryption and certificate-based authentication, and presents data within a meaningful information model instead of raw tags.
Should you use OPC UA or MQTT?
The two are not rivals. OPC UA provides a rich information model and client-server style querying; MQTT is lightweight publish-subscribe transport. OPC UA is common for reading from machines on the shop floor, and MQTT for sending data to the centre or the cloud; the two can be combined with OPC UA PubSub.
Does every PLC support OPC UA?
No. New-generation Siemens, Beckhoff, B&R and some Rockwell controllers include a built-in OPC UA server. For older PLCs, gateway software is used that speaks Modbus, EtherNet/IP or the vendor protocol and publishes as OPC UA.

OPC UA in EFFIX MES

EFFIX MES connects directly as a client to PLCs and machines with an OPC UA server, receiving machine status, counts and process values in real time through subscriptions. For devices without OPC UA support, protocols such as Modbus, EtherNet/IP, Mitsubishi MC and Omron FINS and the Inolink wireless IoT network sit in the same data collection layer; with Euromap 77 support, the OPC UA-based information model of injection moulding machines is also read. The collected data feeds production monitoring, OEE and the proactive alert system. For details, see the EFFIX MES page or request a demo.