DEV Community

Jerry H.
Jerry H.

Posted on

How Edge Gateways Collect PLC Data and Send It to the Cloud

Sending PLC data to the cloud sounds simple until you look at what PLCs actually do.
A PLC is usually there for local control. It works close to machines, sensors, actuators, drives, meters, and process equipment. The cloud has a different job: dashboards, remote monitoring, reports, trend analysis, maintenance planning, and cross-site visibility.
So the practical question is not only: Can we connect the PLC?
A better question is: How do we collect selected PLC-side data without turning the PLC into a cloud-facing device?
That is where an industrial edge gateway becomes useful. A gateway such as Robustel EG5120 can sit between PLC-side equipment and upper-layer systems, helping collect selected data, handle it locally where needed, and forward useful information toward cloud or remote monitoring platforms.
It does not replace the PLC. It does not move real-time control logic into the cloud. It provides a controlled data path between the factory floor and the systems that need visibility.

Why PLC data usually needs a gateway layer

PLCs are built for control, not for being exposed directly to every upper-layer system.
In many facilities, PLCs handle machine logic, process control, safety-related coordination, and interaction with field devices. They often sit inside OT environments where reliability and security matter more than convenience.
Sending PLC data directly to the cloud can create problems.
Raw PLC data may not mean much outside the automation context. A register value, status bit, or counter usually needs to be mapped to something a remote team can understand: machine state, alarm condition, runtime, production count, energy reading, or maintenance indicator.
Not every PLC signal should move upstream either. Some values support local control and should stay close to the automation system. Others, such as alarms, operating status, production counters, energy readings, operating hours, and selected process values, may be useful for remote monitoring or analysis.
This is why a PLC data acquisition gateway is often used as a middle layer. It helps define what data leaves the local environment, how it is prepared, and how it is forwarded.

How an edge gateway collects PLC-side data

An edge gateway collects PLC-side data through the interfaces and workflows supported by the project.
In some deployments, data may come through serial communication, especially with legacy systems or Modbus RTU devices. In other cases, data may be available through Ethernet-based communication. For simpler monitoring tasks, digital inputs may capture selected events or status changes.
But physical connection is only the first step.
A gateway may be connected to a PLC-side system, but the data still needs to be read through a supported protocol or application workflow. It may need to be mapped, converted, filtered, buffered, or formatted before it is useful to a cloud platform.
For example, Modbus data may need to be collected from serial equipment and moved into an IP-based workflow. Selected values may then be prepared locally before being sent through MQTT, HTTPS, VPN-based connections, or another project-specific path.
The details depend on the PLC, protocol, gateway configuration, software stack, and cloud platform. This is the part that often gets hidden behind simple phrases like “send PLC data to the cloud.”

A practical PLC-to-cloud data flow

A simple data flow might look like this:

PLC or field device
        ↓
supported serial, Ethernet, or I/O connection
        ↓
edge gateway collection layer
        ↓
local mapping, filtering, buffering, or formatting
        ↓
secure forwarding path
        ↓
cloud, enterprise, or remote monitoring system
Enter fullscreen mode Exit fullscreen mode

This workflow shows why the gateway is not just a network pass-through device.
It may handle interface bridging.
It may prepare data locally.
It may reduce unnecessary traffic.
It may support secure forwarding.
It may make remote gateway management possible after deployment.For remote monitoring projects, this is especially useful when teams need selected machine or process data without changing PLC control logic or exposing the PLC directly to external systems.

What should stay local, and what should go upstream?

Not every PLC signal belongs in the cloud.
Some workloads should normally remain close to the PLC or local automation system, especially control logic, fast machine interlocks, safety-related coordination, and time-sensitive machine operation.
Cloud systems can be useful, but they are not usually the right place for real-time machine control decisions.
Other data may be useful upstream:
●alarms
●operating status
●production counters
●energy readings
●operating hours
●maintenance indicators
●selected process values
These data points help maintenance teams, plant managers, or remote service teams understand what is happening without directly interfering with the control layer.
A good PLC-to-cloud workflow usually starts by asking:
●Which signals support local control?
●Which signals support monitoring or reporting?
●Does every value need to be forwarded?
●Would exceptions, summaries, or scheduled updates be enough?
●Does the cloud platform understand the data context?
Simple questions, but they prevent a lot of messy architecture later.

Security should not be an afterthought

In many industrial environments, PLCs should not be exposed directly to the public internet. They are part of the control environment, and their main job is to keep machines or processes running safely and reliably.
A gateway can help create a controlled separation between PLC-side systems and cloud-facing systems.
That still requires careful design:
●keep PLC control logic separated from remote monitoring workflows
●use VPNs or secure network paths where remote access is required
●apply firewall rules and access control
●forward only the data required by the monitoring use case
●manage gateway users, credentials, and permissions
●maintain firmware and application updates over time
●respect OT network segmentation
The gateway does not create security by itself. Configuration, access policy, network design, and maintenance all matter.
But a gateway layer can make the PLC-to-cloud data path easier to control than direct PLC exposure.

Where Robustel EG5120 fits

In this type of PLC data collection workflow, Robustel EG5120 fits into the site-side industrial edge gateway layer.
It can be used where teams need a gateway for supported serial or Ethernet equipment, local data handling, secure cloud forwarding, cellular connectivity, and remote management.
Relevant use cases may include:
●collecting selected PLC-side or Modbus device data
●moving serial data into an IP-based workflow
●forwarding selected values to cloud or remote monitoring systems
●supporting local applications for data parsing or formatting
●using cellular connectivity for remote access or backup communication
●managing gateway deployments over time
That does not mean EG5120 is a universal PLC connector. The correct integration still depends on the PLC model, protocol, application logic, network design, security policy, and cloud platform.
A gateway provides capability. The project design defines the result.

Closing thought

PLC-to-cloud integration is not just about getting a cable, protocol, or cloud endpoint working.
The more important work is deciding which PLC-side data should leave the local environment, how it should be prepared, how it should be protected, and how it should be maintained after deployment.
A product such as Robustel EG5120 can support this site-side PLC-to-cloud data path for industrial IoT projects that need PLC data acquisition, local data handling, secure forwarding, and remote gateway management. It should still be used within a clear architecture that protects PLC control functions, OT network boundaries, access permissions, and long-term maintenance.
For readers who want a concrete product reference, Robustel EG5120 page gives more detail on its gateway capabilities and deployment options.
If you have worked on PLC data collection, edge gateways, or cloud monitoring systems, I’d be curious to hear where the difficult part usually starts in your projects: PLC interface, protocol mapping, network security, cloud integration, or maintenance after deployment?

FAQs

Q1: Should a PLC connect directly to the cloud?
In many industrial environments, direct PLC-to-cloud exposure is not the preferred approach. PLCs normally support local control tasks and should remain protected inside the OT environment. A gateway or integration layer can collect selected monitoring data and forward it upstream while keeping control logic close to the machine or process.

Q2: How does an edge gateway collect PLC data?
An edge gateway collects PLC-side data through supported interfaces and protocols, such as serial, Ethernet, digital I/O, or configured application workflows. The exact method depends on the PLC, available communication interface, protocol support, gateway configuration, and project design. The data may also need to be mapped, filtered, buffered, or formatted before it is useful to cloud or remote monitoring systems.

Q3: Where does Robustel EG5120 fit in PLC-to-cloud data collection?
Robustel EG5120 fits into the site-side industrial edge gateway layer. It can support PLC data acquisition workflows where selected PLC-side or Modbus device data needs to be collected, handled locally, and forwarded toward cloud or remote monitoring systems. The final integration depends on the PLC, protocol, software stack, network design, and security requirements.

Top comments (0)