Key Takeaways
- A gateway reads field devices and carries their data to the cloud.
- Most energy devices speak Modbus RTU (RS-485) or Modbus TCP.
- PLCs use OPC UA, Siemens S7 and Beckhoff ADS.
- MQTT suits sensors and third-party gateways.
- SolarTools Gateway reads all of these protocols on a single device.
The first technical question in any monitoring project is: "Can our field devices connect to the system?" The answer depends on which protocol each device speaks and whether the gateway supports it. This post explains what an industrial gateway does, covers the common protocols and shows which device connects with which, in one table.
What Is a Gateway?
A gateway is the bridge between field devices and the cloud platform. An energy analyzer, PLC, inverter or sensor each speaks its own language. The gateway reads these devices on the local network or an RS-485 line. It converts the data into one format and sends it to the platform over a secure connection. If the internet drops, it buffers the data and sends it when the link returns.
For the concepts in more detail, see what are an IoT gateway and connector.
Which Device Uses Which Protocol?
| Protocol | Typical device | Connection |
|---|---|---|
| Modbus RTU | Energy analyzer, power factor relay, sensor | RS-485 serial line |
| Modbus TCP | Inverter, analyzer, PLC | Ethernet |
| Modbus RTU Bridge | Serial devices + RS-485/Ethernet converter | TCP via converter |
| OPC UA | PLC, SCADA and automation servers | Ethernet |
| Siemens S7 | S7-300/400/1200/1500 PLC | Ethernet |
| Beckhoff ADS | TwinCAT PLC | Ethernet |
| MQTT | IoT sensors, third-party gateways | Internet / local broker |
| BACnet | Building automation, HVAC | Ethernet |
| SNMP | UPS, PDU, network devices | Ethernet |
| IEC 62056-21 (Mode C) | Electricity meter (optical port) | Optical probe |
| REST / Socket | Web services, custom devices | HTTP, TCP/UDP |
Modbus: The Common Language of the Field
Most energy devices speak Modbus. The RTU variant runs on an RS-485 line, with up to 247 addresses on one line. The TCP variant carries the same data over Ethernet. If you have a serial device but the line is far from the gateway, an RS-485/Ethernet converter goes in between. The gateway then reads it in "RTU Bridge" mode.
Knowing which value sits in which register is the longest part of setup. Ready-made device templates and automatic Modbus scanning shorten it. For the analyzer side, see energy analyzers and Modbus.
MQTT: Sensors and Third-Party Gateways
MQTT is a lightweight, message-based protocol. It suits battery-powered sensors and cellular modems. If another brand of gateway is already on site, you do not need to remove it. It publishes data over MQTT and the platform reads that stream.
OPC UA, S7 and ADS: The PLC World
Production data in a factory usually lives in the PLC. OPC UA is a secure, vendor-neutral standard. Siemens S7 and Beckhoff ADS talk to those PLCs directly. For details, see moving PLC data to the cloud.
5 Questions When Choosing a Gateway
- 1Can one device read every protocol on site? A separate box per protocol means more maintenance.
- 2Do you need a site visit to add a device? Settings should be sent remotely from a web interface.
- 3Is data lost when the internet drops? Local buffering is a must.
- 4Does it work with your existing gateway? Third-party devices should be accepted over MQTT.
- 5Are there ready-made device templates? Writing a register map from scratch can take days.
SolarTools Gateway
SolarTools Gateway reads every protocol in the table above on a single device. Connection settings are made in the portal and sent to the gateway remotely. Modbus scanning plus OPC UA and ADS tag browsing make adding a device a matter of minutes. See the data logger page for hardware and the pricing page for cost. Sign-up is free; you can start on the Free plan with up to 5 devices.
Frequently Asked Questions
What is a gateway?
A gateway is hardware or software that bridges field devices and a cloud platform. It reads devices in their own protocols, converts the data into one format and sends it to the platform over a secure connection.
Can one gateway read several protocols at once?
Yes. SolarTools Gateway can read, for example, a Modbus line, a Siemens S7 PLC and an MQTT stream at the same time. Each protocol is defined as a separate connector.
We already have another brand of gateway. Do we need to replace it?
No. If the existing gateway can publish data over MQTT, it connects to the platform. SolarTools Gateway is added only for protocols it does not support.
Explore More
Browse our other solutions and resources to accelerate your energy journey.
Ücretsiz Dene