Making PLC Data for IoT Applications Usable

Making PLC Data for IoT Applications Usable
Oct 28, 2026

Making PLC Data for IoT Applications Usable

When we make PLC data usable for IoT applications, we first ask which signals are actually relevant and at what rate they need to be transferred into the IT environment. Just as important is a clean separation between the control layer and the IoT layer so that stability, data quality, and maintainability are preserved. Only when we clearly understand the customer’s requirements for interfaces, computing resources, and software integration can we select and configure the right hardware platform in a meaningful way.

When PLC data is made usable for IoT applications, the goal is not to simply copy it from the automation layer into the cloud. What matters is a suitable communication and processing layer that safely extracts data from the control environment, structures it, and makes it understandable for downstream systems. Depending on the application, that can include states, measured values, setpoints and actual values, counters, diagnostics, alarms, or fault codes.

For monitoring, analysis, maintenance, and energy optimization, access to the PLC alone is not enough. Data only becomes useful for IoT when it is clearly assigned, time-referenced, and viewed in its operational context. That is why it makes sense to first define the purpose of the data use, then assess the sources and interfaces, and only after that decide on the right architecture, preparation, and security measures.

What Accessing PLC Data Is Really About

The real question is not only how you can read PLC data, but which information should become usable for which purpose. A PLC is first and foremost a deterministic controller: it reads inputs, processes a program, and updates outputs in a fixed cycle. IoT systems, by contrast, are typically used for visualization, storage, analysis, or site-spanning data usage. These two worlds complement each other, but they perform different tasks.

In practice, the most relevant control data is the information that says something about the condition of a machine or system. This includes digital states, analog measurements, setpoints and actual values, control variables, operating modes, counters, diagnostics, alarms, and fault codes. Such data can help detect downtime, plan maintenance, or assess energy consumption. But the benefit only appears once the data is processed properly and placed in the right context.

PLC, Control Data and IIoT at a Glance

A PLC is an industrial computer with a CPU and input/output modules or fieldbus connections. It collects signals from sensors, processes them in the control program, and then actuates outputs accordingly. The resulting control data therefore comes directly from ongoing process control. The same data can also be used for IoT purposes, for example in dashboards, evaluations, or connections to higher-level systems.

IIoT, the Industrial Internet of Things, describes the networked use of such devices and data platforms. In this setup, the PLC usually remains responsible for the actual machine control, while IoT systems focus more on analysis, storage, and transparency. Keeping these roles separate helps avoid unnecessary вмешachment into the control logic and preserves system stability.

Why Raw Values Alone Are Not Enough

A single measured value is only of limited use without additional context. A temperature reading, a counter value, or an operating time can mean very different things depending on the machine. That is why every data point needs extra information such as the unit, scaling, time reference, operating state, and the part of the system it belongs to. Only then can you tell whether a value is normal, unusual, or critical.

For later use in IoT systems, this context is often more important than the raw value itself. A reading of 127 tells you very little without the unit, value range, and description. That is why data should not be exported in an unstructured way; it should be enriched with metadata in a targeted manner.

Which Data Sources and Access Paths Make Sense

Several sources can be used for machine data: direct PLC variables, inputs and outputs, field devices, sensors, and retrofit solutions in existing plants. Which of these is suitable depends on the PLC type, available interfaces, network infrastructure, and target system. For analytics, read access is usually the best starting point because it interferes least with existing control processes.

In brownfield environments, meaning existing machines and plants, the choice of access path is especially important. Often the existing control system should remain as unchanged as possible. In that case, gateway or edge solutions are useful because they capture data without requiring deep changes to the machine logic.

Reading Directly from the PLC

Reading directly from the PLC means extracting variables such as data blocks, markers, status values, or diagnostic information. Depending on the manufacturer and enabled permissions, these data can be openly accessible or available only through specific communication paths. In practice, you therefore always need to check which variables are available and how access is governed.

This approach is often the most straightforward when the PLC structure is already clear and the relevant signals are well named in the program. Even so, readability should not be confused with immediate usability. PLC-internal values usually still need to be prepared from an engineering perspective.

Adding Data from Field Devices and Remote I/O

Many systems provide additional data not only through the PLC, but also through field devices and decentralized I/O systems. IO-Link masters, drives, or energy meters can supply measurement and diagnostic data that would not be directly available in the PLC, or only indirectly. That is often valuable for condition monitoring and energy monitoring.

In retrofit projects, it can make sense to collect data through a separate communication path or a gateway. This reduces the load on the existing control system and leaves the machine’s original functionality largely untouched. Especially with older machines, this is often the more pragmatic approach.

Common Protocols Compared

Several protocols are available for IoT connectivity, and they differ in structure, effort, and suitability. OPC UA is well suited for structured, vendor-independent communication between PLCs, gateways, SCADA, MES, and applications. It is particularly useful when data needs to be provided with clear structures and defined access rights.

MQTT is a lightweight publish/subscribe protocol. It is especially suitable for passing data to brokers, edge systems, or IoT platforms. However, MQTT does not automatically define the semantics of the data. Topic structure, payload format, and information model therefore need to be specified for the project.

REST APIs are practical for web applications and integrations, but are usually not the first choice for cyclic communication with a PLC. Vendor-specific protocols can be powerful, but they often increase integration effort and create stronger dependence on individual tools. Fieldbus and industrial Ethernet protocols such as PROFINET or EtherCAT are primarily designed for machine communication and are not automatically the best IoT interface.

A Practical Reference Architecture for IIoT Data

A robust IIoT architecture follows a clear logical chain: from the machine through data access and an edge system to the target system and later evaluation. The architecture should be adapted to the existing installation, not the other way around. Especially in existing environments, it is more important to define the right transition points than to use as many technologies as possible.

An edge system can take on the bridging role here. It collects data close to the machine, prepares it, and converts it into the format required by the target system. This can reduce bandwidth needs, complexity, and dependence on a central cloud solution, where the use case allows it.

From the Machine to the Target System

The technical chain can be divided into several layers. First, the machine and its PLC capture the process. Data access then takes place via a PLC channel, a protocol, a gateway, or a field device. After that, an edge system handles tasks such as selection, scaling, and buffering. Transport can then happen via MQTT, OPC UA, HTTPS, or an existing integration platform.

The target system may be a historian, a database, a dashboard, an MES, maintenance software, or a cloud platform. The subsequent analysis uses this data for trends, threshold values, alarms, OEE metrics, energy analysis, or condition monitoring. The clearer this chain is defined, the more stable the data solution can be operated.

What an Edge System Does

An edge system can collect data, filter it, scale it, apply timestamps, buffer it, and translate it into other protocols. It therefore sits between automation and downstream IT or IoT systems. This position is especially useful when data from multiple sources needs to be combined or preprocessed locally.

The benefit is not only technical decoupling. Edge processing can also help avoid unnecessary data volumes, make the cloud connection more robust, and support local responses. Whether this is worthwhile depends on the use case. Not every application needs a complex edge layer, but many benefit from a clear separation between control and analytics.

Preparing and Contextualizing Data

Raw data from the PLC only becomes truly useful when it is enriched with metadata and context. For IoT and analytics purposes, a value alone is rarely enough. What matters is what was measured, when, under which conditions, and with what quality. Only then can values be compared reliably and analyzed later.

That is why a targeted selection is more effective than transferring all PLC data without filtering. If you only transmit the variables that are relevant to the specific purpose, you reduce data volume, integration effort, and analysis effort.

Which Metadata Should Be Added

Each relevant variable should ideally have a unique identifier, unit, value range, timestamp, time zone, quality or validity status, and assignment to a machine, line, order, or location. The sampling rate or transmission interval is also important so that later analyses can be interpreted correctly.

In practice, clean scaling is also worthwhile. If a raw value has to be converted internally into engineering units, that information should be documented. The same applies to thresholds that may vary depending on the operating mode.

How Data Becomes Usable Information

Data only becomes usable information when it is linked to a specific objective. If you want to monitor energy consumption, availability, or temperature, you need different variables than if you are analyzing fault reasons or speeds. The use case therefore determines which data should be collected in the first place.

Typical selection criteria include energy consumption, machine availability, pressure, temperature, speed, output quantities, scrap, or maintenance indicators. Additional sensor data or calculated condition variables can also be useful. However, they should be validated before they are used to support operational decisions.

What Matters in Selecting and Operating the Solution

When selecting a PLC-to-IoT connection, technical compatibility is only part of the picture; operational reliability, integration effort, and future scalability also matter. For technical decision-makers, the key questions are: Which protocols does the PLC support? Do you only need current values or also historical ones? Is a gateway required? How are buffering, diagnostics, and access rights handled?

Brownfield systems have different requirements from new machines or standardized platform projects. Existing environments often involve proprietary structures, older interfaces, or limited access options. The solution should therefore fit the plant and avoid unnecessary intervention in the control system.

Selection Criteria for Connectivity

Before implementation, a few questions should be clarified: Does the controller support OPC UA, MQTT, or only proprietary interfaces? Is read access sufficient, or will write access also be needed later? What data rate is required? How important are latency, buffering, and diagnostics? Are historical values stored or only current states transmitted?

The question of the right architecture is also important. A separate gateway or edge system is often useful when multiple PLCs, older assets, or different protocols need to be integrated. It creates a clear separation and makes later adjustments easier.

Security and Clean Separation of Write Access

Any IoT connection expands the attack surface of a system. For this reason, a read-only architecture should be used first for pure analysis purposes. This keeps the controller readable from the outside without allowing intervention in the process. For monitoring, analytics, and maintenance scenarios, that is enough in many cases.

It is also important to segment OT, IT, and cloud networks, use encrypted connections, assign individual user accounts, and implement role-based access. Write access to PLC variables should only be enabled where it is truly necessary. It requires additional approvals, tests, and proper logging because it directly affects process control.

Typical Use Cases and Key Limitations

The value of PLC data for IoT applications becomes especially visible where transparency and condition assessment are needed. Typical use cases include condition monitoring, predictive maintenance, energy monitoring, and production monitoring. Remote monitoring can also be useful when responsibilities and access rights are clearly defined.

At the same time, it is important to keep expectations realistic. IoT technologies do not replace real-time control, they do not provide automatic semantics, and they do not make every data source useful by default. Real value only emerges through selection, structure, and secure processing.

Monitoring, Predictive Maintenance and Energy Optimization

Condition monitoring can use temperature, vibration, current draw, or operating time to detect unusual states early. Predictive maintenance combines such data with operating hours, error frequency, or condition indicators to derive maintenance signals. Whether this results in reliable predictions depends on data quality and modeling.

Energy optimization also benefits from well-prepared control data. When energy and process data are linked to operating states, it becomes easier to identify peaks, idle times, or inefficient operating phases. Additional sensor data can be helpful in such scenarios, provided it is technically and functionally validated.

What Not to Expect

IoT protocols do not replace deterministic real-time communication. They are intended for networking and analysis, not for the machine’s actual control loop. Likewise, there is no automatic selection of the right data: transmitting everything does not automatically produce better insight, only more effort.

A cloud is not mandatory either. Depending on the application, data can also be stored and analyzed locally at the edge. Equally important is the realization that not every value is usable without context. Only when context, selection, and secure processing come together do PLC data become truly valuable for IoT applications.

For the hardware decision, we recommend not designing the IoT task at the edge of what is technically possible, but deliberately allowing headroom for interfaces, buffering, and later adjustments. This keeps your solution manageable even if signals, protocols, or data volumes change during operation. We support you with a structured requirements analysis, manufacturer-independent component selection, as well as prototyping and hardware testing, so you can build a robust platform for your application. We would be pleased to discuss your specific application and the requirements it creates with you.

Write us a message or send us an email to:
vertrieb@psb-engineering.de


    to top