An architecture diagram showing an edge product collecting data from both Modbus and S7 devices and unifying it into a single MQTT stream.

Case Study: Using Edge Products for PLC Data Collection (Modbus/S7)

Written by: Robert Liao

|

Published on

|

Time to read 6 min

Author: Robert Liao, Technical Support Engineer

Robert Liao is an IoT Technical Support Engineer at Robustel with hands-on experience in industrial networking and edge connectivity. Certified as a Networking Engineer, he specializes in helping customers deploy, configure, and troubleshoot IIoT solutions in real-world environments. In addition to delivering expert training and support, Robert provides tailored solutions based on customer needs—ensuring reliable, scalable, and efficient system performance across a wide range of industrial applications.

Summary

Data is the fuel of Industry 4.0, but for most factories, that fuel is trapped inside legacy PLCs that don't speak modern languages. This case study details how a manufacturing plant used edge products to solve the "data silo" problem. We explore how a single industrial edge product acts as a universal translator, simultaneously collecting data from Siemens S7-1500s via Ethernet and legacy motor drives via Modbus RTU. By deploying these smart edge computing products, the factory achieved real-time OEE monitoring and predictive maintenance without replacing a single expensive control system.

Key Takeaways

The "Black Box" Problem: Factories are full of valuable data locked inside PLCs that speak different, legacy protocols (S7, Modbus).

Edge Products as Translators: A modern industrial edge product (like the EG5120) is designed to speak both OT languages (RS485, Profinet) and IT languages (MQTT, JSON).

The "Combo" Solution: This case study shows how one edge product can pull data from multiple different devices—a Siemens PLC and a Modbus VFD—at the same time.

Business Value: Real-time PLC data collection enables OEE dashboards, reducing downtime and identifying bottlenecks, providing an immediate ROI on the edge products.

Case Study: Using Edge Products for PLC Data Collection (Modbus/S7)

In the modern manufacturing landscape, the difference between a profitable factory and a struggling one is often data. If you know exactly how much energy your motors are using, or exactly why Line 3 stopped at 2:00 PM, you can fix it. If you don't, you are guessing.

The problem is that 90% of factories are "brownfields." They run on rock-solid but aging hardware. They have a mix of Siemens PLCs controlling the line, Modbus energy meters monitoring power, and maybe an Allen-Bradley robot arm. None of these devices were designed to talk to the cloud. They are isolated data silos.

This is the exact problem that edge products are built to solve.

A robust industrial edge product acts as the "universal translator" on the factory floor. In this case study, we’ll look at how a mid-sized packaging facility used Robustel edge products to unify their fragmented data, bridging the gap between 1990s controls and 2025 analytics.


A diagram showing the problem of unconnected factory devices using different protocols like S7 and Modbus, which edge products solve.


The Challenge: A Mixed Fleet of "Mute" Machines

The customer, a food packaging plant, faced a visibility crisis. Their production line was controlled by a modern Siemens S7-1500 PLC, but the conveyor belts were driven by legacy Variable Frequency Drives (VFDs) using Modbus RTU over RS485.

They had three major pain points:

  1. No Unified View: To see the PLC status, they had to walk to the HMI. To see the motor currents, they had to use a multimeter on the VFDs. There was no single dashboard.
  2. Reactive Maintenance: They only knew a motor was failing when it smoked and stopped the line. They had no trend data for predictive maintenance.
  3. Complex Integration: Their IT team wanted data in MQTT format for an AWS dashboard. The OT team only knew ladder logic. They were stuck.

They needed a single hardware solution that could talk to everything and send it to the cloud securely. They needed professional industrial edge products.

The Solution: A Multi-Protocol Edge Product (The EG5120)

The plant deployed a Robustel EG5120 edge computing gateway in the main control cabinet. This device was chosen because it is one of the few edge products that combines high-performance compute with the necessary physical interfaces for both modern and legacy equipment.

Step 1: Connecting the Modbus VFDs (The Legacy Link)

The VFDs communicated via a 2-wire RS485 serial chain.

  • Physical: The RS485 daisy chain was wired directly into the edge product's isolated serial port.
  • Protocol: Using the "Edge2Cloud" software on the edge product, the engineer configured a Modbus Master poller. They mapped the registers for "Current," "Frequency," and "Temperature" for each drive.
  • Result: The edge product began polling the VFDs every second, digitizing this analog-style data instantly.

Step 2: Connecting the Siemens S7-1500 (The Modern Link)

The main PLC was on PROFINET (Ethernet).

  • Physical: An Ethernet cable connected the PLC to the edge product's LAN port.
  • Protocol: The engineer used the native Siemens S7 driver on the edge product. In TIA Portal, they enabled "PUT/GET" access and mapped the specific Data Blocks (DBs) containing production counts and error codes.
  • Result: The edge product could now read the logic state of the main controller directly over the network.

Step 3: Unification and Publishing (The IT Link)

This is the magic of smart edge products. The EG5120 took the Modbus data from the serial port and the S7 data from the Ethernet port, timestamped both, and merged them into a single, standardized JSON object.

  • The Output: It published this unified data stream via MQTT over a secure 4G cellular connection to the AWS cloud.

An architecture diagram showing an edge product collecting data from both Modbus and S7 devices and unifying it into a single MQTT stream.


The Results: From Silos to Insights

The deployment of these industrial edge products transformed the plant's operations within weeks.

  • Real-Time OEE: Management now has a dashboard showing the exact speed of the line (from the PLC) vs. the energy consumption of the motors (from the VFDs). They identified that running the conveyors at 95% speed reduced energy use by 15% with zero impact on throughput.
  • Predictive Alerts: By trending the Modbus data collected by the edge products, they set an alert: "If Motor Current rises by 10% without a speed increase, send an email." This alert caught a failing bearing two weeks before it would have seized, saving $10,000 in downtime.
  • Scalability: Because they used RCMS to manage their edge products, they could copy this configuration to their other three factories in different cities instantly.

Why Not Use a PC? (The TCO of Edge Products)

The customer initially considered using a Windows PC with OPC server software.

  • PC Solution: Cost $2,000 (Hardware) + $1,500 (Software License) + IT Maintenance.
  • Edge Product Solution: Cost ~$600 (Hardware + Software included) + Zero Maintenance.

The edge products offered a rugged, fanless, "set-and-forget" solution that survived the hot factory floor, whereas a PC would have been a dust-clogged liability.

Conclusion

The gap between OT and IT is not as wide as it seems. You don't need to rip and replace your old machines to get smart data. You just need the right bridge.

Modern industrial edge products are that bridge. By fluent speaking the languages of the past (Modbus) and the present (S7), while communicating in the language of the future (MQTT), these devices unlock the massive value hidden in your existing assets. Whether you are monitoring a simple pump or a complex production line, edge products are the fastest, most cost-effective path to Industry 4.0.


A TCO comparison showing the high cost of using an industrial PC for data collection versus the low cost of using a dedicated edge product.


Frequently Asked Questions (FAQ)

Q1: Can one edge product connect to both Modbus and Siemens PLCs simultaneously?

A1: Yes. This is a core feature of high-quality edge products like the Robustel EG5120. They are designed with multiple physical interfaces (RS485, RS232, Ethernet) and a multi-protocol software engine. One single edge product can poll a Modbus RTU chain on its serial port while simultaneously polling a Siemens S7 PLC and an Allen-Bradley PLC on its Ethernet ports, aggregating all data into one stream.

Q2: Do I need to program code to set up these edge products?

A2: Generally, no. Modern industrial edge products come with configuration-based software (like Robustel's Edge2Cloud). You select your protocol (e.g., "Siemens S7"), enter the IP address, and type in the tag addresses (e.g., "DB10,W4"). The edge product handles the driver logic. However, if you need complex custom logic, edge computing products that support Docker or Python allow you to write code if you want to.

Q3: How secure is this connection?

A3: Extremely secure. The edge product acts as a firewall, isolating the PLCs from the factory IT network. It typically uses a separate cellular connection (4G/5G) to send data to the cloud, creating a "digital air gap." Furthermore, the data transmission is encrypted using standard IT security protocols like TLS (for MQTT) or VPNs, ensuring your OT data is safe in transit.