Blog · Industrial Automation · Industrial Data
Getting Data Off Legacy PLCs: OPC UA, Protocol Gateways and the Old-Equipment Problem
What OPC UA is, how it differs from OPC DA and the practical ways to connect older PLCs to SCADA, historians and MES without touching their control logic.
Quick answer
OPC UA is an open, platform-independent standard for exchanging industrial data securely, published internationally as IEC 62541. Older PLCs that lack it can still share data through an OPC UA server with native drivers, a protocol gateway, an edge device or an added communication module, usually without changing their control logic.
Key takeaways
- OPC UA is a platform-independent, secure standard for exchanging industrial data, published internationally as IEC 62541.
- Older PLCs can usually share data through an OPC UA server, a protocol gateway, an edge device or an added communication module, without rewriting their control logic.
- The right option depends on the ports and protocols the PLC already has, how much spare communication capacity it has and how critical the process is.
- Start read-only, keep plant-floor networks segmented and agree on tag names before the data reaches SCADA, a historian or an MES.
Many plants still run lines on PLCs that were installed decades ago. The trouble starts when someone asks for the data inside them: cycle counts for an OEE dashboard, temperatures for a quality record or states for a new MES. The controller knows the answer, yet it speaks a protocol nothing else in the building understands.
OPC UA is an open standard built for bridging that gap. This guide explains what it is, how it differs from the older OPC DA and the practical ways to get data off legacy PLCs safely.
What is OPC UA?
OPC UA (OPC Unified Architecture) is an open standard for moving industrial data between devices and software. The OPC Foundation released it in 2008 as a platform-independent, service-oriented architecture that brings the earlier OPC Classic specifications into one framework. Its international edition is the IEC 62541 series.
Four features explain why it has become the common language between plant-floor equipment and the systems above it:
- It runs almost anywhere. The OPC Foundation describes implementations ranging from embedded microcontrollers and PLCs to PCs and cloud servers, on Windows, Linux and other operating systems.
- Security is built into the protocol. Clients and servers identify each other with X.509 certificates, messages can be signed and encrypted, users can be required to authenticate, and activity can be logged as an audit trail.
- Data arrives with context. Its information modeling framework lets a server describe a pump or a filler as an object with properties, history, methods and events.
- It supports two communication patterns. Client/server handles request and response, delivering each notification to a single client. PubSub (Part 14) handles many-to-many distribution over transports such as UDP and MQTT.
How is OPC UA different from OPC DA?
OPC DA (Data Access) is one of the OPC Classic specifications, alongside Alarms and Events (A&E) and Historical Data Access (HDA). OPC Classic is built on Microsoft’s COM and DCOM technology, so it runs on Windows and depends on DCOM to communicate between computers.
| Topic | OPC DA (Classic) | OPC UA |
|---|---|---|
| Platform | Windows, built on COM/DCOM | Platform independent, from embedded devices to cloud servers |
| Scope | Current values; alarms and history sit in separate specifications | Current data, history, alarms, events and methods in one framework |
| Security | Relies on Windows and DCOM configuration | Certificates, signing, encryption, user authentication and auditing in the protocol |
| Data model | Tags with value, quality and timestamp | Object-oriented information models with types and relationships |
| Existing servers | Still common on older HMI and historian PCs | Can reach Classic servers through COM wrappers and proxies |
The OPC Foundation maps all COM-based Classic specifications to OPC UA and provides wrappers for Classic products, so an existing OPC DA server can keep running while new systems connect through OPC UA.

Why is it hard to get data off older PLCs?
An older controller was specified to run one machine or line, with communication ports sized for that job. Several conditions tend to show up together:
- Serial or proprietary ports. Many older PLCs communicate over RS-232 or RS-485 serial links or over a vendor network that predates industrial Ethernet. Even an open protocol like Modbus, developed by Modicon in 1979, needs a gateway when a serial device has to reach an Ethernet network.
- Little spare capacity. The processor and ports may already be busy with HMI traffic and peer messaging, so a new client polling hundreds of tags can slow the controller’s communications.
- Undocumented logic. Tag names may be raw memory addresses, and the people who programmed the controller may have left long ago, so the first job is often working out what each address means.
- Unsupported hardware. Spare parts, firmware updates and programming software for an older controller family can be hard to find, which makes any change to the controller itself riskier.
- Validated or qualified systems. In regulated plants, changing a PLC’s program or configuration can trigger change control and revalidation.
Whatever the long-term plan for the controller, the goal at this stage is to read its data while leaving its control logic untouched.
What are the options for connecting legacy PLCs?
Legacy connection projects draw on six approaches, often combined across a plant with mixed equipment generations:
- OPC UA server with native protocol drivers
- Software on a PC or server talks to each PLC in its native protocol and publishes the data as OPC UA. Driver suites and SCADA platforms with built-in drivers (Kepware is one widely used example) work this way. It fits well when the PLC already has an Ethernet port.
- Protocol gateway or converter
- A small hardware device connects to a serial or proprietary port and translates to Ethernet, OPC UA or Modbus TCP. It suits controllers with no Ethernet port and keeps the conversion close to the machine.
- Edge device
- An industrial computer near the line collects data from one or more PLCs, buffers it and publishes it to OPC UA clients or an MQTT broker. It adds local storage and processing when the network to the rest of the plant is unreliable.
- Added communication module
- Some PLC families accept an Ethernet or OPC UA communication card in the existing rack. It connects directly to the controller’s backplane, and it changes the controller’s hardware configuration and requires a planned outage to implement.
- Parallel I/O and sensors
- When the controller cannot be touched at all, new sensors or I/O read the same signals in parallel. It costs more per signal and leaves the original system as it is.
- COM wrapper for existing OPC DA servers
- When an OPC DA server already reads the PLCs, a wrapper or proxy exposes that data as OPC UA for new systems.
Not sure what your older controllers can support?
Our automation engineers can survey your PLCs and recommend a connection approach for each one.
Which connection option fits your PLC?
Start from what the controller already has, then choose the least invasive option that delivers the data you need:
| PLC situation | Usual starting point | What to check first |
|---|---|---|
| Ethernet port with a supported protocol | OPC UA server with a native driver | Spare connections on the port and the polling load the controller can handle |
| Serial port only (RS-232 or RS-485) | Protocol gateway, then an OPC UA server or edge device | Whether the port is free or already used by an HMI or programming link |
| Proprietary vendor network | Gateway or driver that supports that network | Availability and support status of the interface hardware |
| Existing OPC DA server already reading the PLC | COM wrapper or proxy to OPC UA | The health and support status of the Windows host running it |
| Controller cannot be changed or loaded | Parallel sensors and I/O | Which signals matter most, so the retrofit stays small |
| Many machines on an unreliable network | Edge devices with local buffering | How long data must be stored locally during an outage |
“Flexware delivered many successful HMI/SCADA solutions in our facility in the late 1990’s. Most recently, Flexware is delivering a full MES solution to our facility and is instrumental in the start-up of 2 brand new manufacturing lines.”
MES Program Manager, Discrete Manufacturer, Flexware Innovation client
How do you keep legacy PLC connections secure?
Connecting an old controller to a wider network exposes equipment designed for an isolated cell. The ISA/IEC 62443 series is the consensus standard for securing industrial automation and control systems, and its approach of grouping assets into zones and conduits fits these projects well. A few practices apply on almost every legacy connection:
- Read only by default. Configure the driver, gateway or server to read data, and add write access only for a specific, reviewed reason.
- Keep the PLC network segmented. Put the gateway or OPC UA server at the boundary between the control network and the plant network so plant-level applications connect to that boundary device and the PLC stays on its own network.
- Use OPC UA’s security settings. Require signed and encrypted connections and trusted certificates, and avoid anonymous access on production servers.
- Retire DCOM across networks. Where OPC DA is still in use, keep it on one machine and carry the data onward with OPC UA.
- Follow change control. Test and document the new connection as a control system change.

Where should legacy PLC data go next?
The data becomes useful when the systems above the controller can rely on it, which means consistent tag names, units and equipment identifiers across old and new lines.
Typical destinations are HMI/SCADA for supervision and alarms, a historian for trends and an MES for production counts, downtime and quality records. Our guide to MES vs. SCADA explains what each layer needs from the plant floor. Naming assets according to an equipment hierarchy, such as the one described in ISA-95, keeps data from a 30-year-old controller and a new line comparable.
Plants that publish plant-floor data to an MQTT broker can pair it with OPC UA PubSub, a choice that belongs to a wider industrial data management design.
How do you plan a legacy PLC data project?
- Inventory the controllers. Record the make, model, firmware, communication ports and current connections for each PLC in scope.
- Define the data you need. List the signals each use case needs and how often, so the new connection polls only the tags that serve a purpose.
- Pick an approach per controller. Use the table above and choose the least invasive option for each situation.
- Agree on names and units. Map raw addresses to meaningful names before the data reaches any shared system.
- Pilot on one line. Measure the load on the controller, confirm data quality and test the security settings before rolling out.
- Document and hand over. Record drivers, gateways, certificates and tag maps for the maintenance team.
Our Industrial Automation and Controls team works on both sides of this boundary, from older controllers and SCADA systems to the MES and platforms that use the data.
Ready to get data off your older equipment?
Talk with an engineer who works across PLCs, SCADA and plant data systems.
Frequently asked questions
What is OPC UA used for?
OPC UA is used to exchange data securely between industrial devices and software, such as PLCs, SCADA systems, historians, MES and cloud applications. It carries values together with context like units, timestamps and data quality.
What is the difference between OPC UA and OPC DA?
OPC DA is part of OPC Classic and runs on Windows using COM and DCOM. OPC UA is platform independent, has security built into the protocol and combines current data, history, alarms and events in one framework.
Can an old PLC without Ethernet send data to OPC UA?
Usually, yes. A protocol gateway can connect to the PLC’s serial or proprietary port and convert the data for an OPC UA server or edge device, without changing the PLC’s control logic.
Is OPC UA the same as IEC 62541?
IEC 62541 is the international standard edition of OPC UA. The OPC Foundation develops the specifications and works with the IEC on the standard.
Does OPC UA replace MQTT?
They solve different parts of the problem and often work together. OPC UA defines how industrial data is modeled and secured, and its PubSub specification can use MQTT as one of its transports.
Will connecting a legacy PLC slow it down?
It can if a new client polls too many tags too often. A short tag list, sensible update rates and a load test on one line keep communications within the controller’s capacity.
Talk with a Flexware Innovation engineer about your older equipment
Tell us which controllers you need data from and where it needs to go. An engineer who works across PLCs, SCADA and plant data systems will follow up to talk through the options.
Prefer to talk now? Call (317) 813-5400









