Industrial Protocol Gateway: 6 Effortless Conversions

Share:
Communication
Industrial Protocol Gateway: 6 Effortless Conversions Explained

A small DIN rail box that lets devices speaking different industrial languages share data without rewriting a single driver.

Modbus PROFINET EtherNet/IP Register Mapping

An industrial protocol gateway translates data between two different communication protocols so that devices and controllers can work together. It is the quickest way to connect a legacy Modbus device to a modern PROFINET or EtherNet/IP PLC.

Hello everyone, today we are going to learn how an industrial protocol gateway works, the most common conversions used in plants, and how to map and size the data exchange correctly.
industrial protocol gateway

What Is an Industrial Protocol Gateway?

An industrial protocol gateway is a device with two communication interfaces that reads data using one protocol and publishes it using another. For example, it can poll a meter over Modbus and present that data to a PLC as a PROFINET IO device.

Plants rarely use a single protocol. Old drives, meters and analyzers often speak Modbus RTU, while new controllers use Ethernet based protocols.

DIN rail protocol gateway converting Modbus and EtherNet/IP to PROFINET
Image credit: Moxa

A gateway avoids replacing working field devices just because the control system changed. It is a common tool in upgrades covered in our DCS migration guide.

Typical units mount on a DIN rail and take 24 V DC power. The Moxa MGate 5103, for example, accepts redundant 12 to 48 V DC inputs and has a web based setup wizard.

How Data Moves Through the Gateway

Field DeviceMeter, drive or analyzer on protocol A
Gateway Client SidePolls or receives data from the device
Internal MemoryStores values in mapped registers
Gateway Server SidePresents data on protocol B
ControllerPLC or SCADA reads the mapped data

On one side the gateway usually acts as a client or master and polls field devices. On the other side it acts as a server, slave or IO device for the main controller.

Data is copied through a shared memory area. The engineer decides which register on one side maps to which byte or tag on the other.

Because the two sides run independently, the data the PLC sees is only as fresh as the last poll cycle. This is why sizing the polling time matters.

6 Effortless Conversions Plants Use Most

1
Modbus RTU to Modbus TCP
Brings serial RS485 devices onto Ethernet networks.
2
Modbus to PROFINET
Connects meters and drives to Siemens PLCs.
3
Modbus TCP to EtherNet/IP
Connects third party devices to Rockwell controllers.
4
HART to Modbus
Reads digital HART variables from 4 to 20 mA transmitters.
5
BACnet to Modbus
Links building HVAC systems with plant utilities.
6
Modbus or OPC UA to MQTT
Sends plant data to cloud and IIoT platforms.

Conversion 1 is often called a serial device server and is the simplest case. Our Modbus RTU vs Modbus TCP article explains the framing differences it handles.

Conversion 6 is growing fast as plants add IIoT dashboards. It relies on the publish and subscribe model described in MQTT for industrial IoT.

Types of Industrial Gateways

Serial Device Server

Converts RS232 or RS485 serial data to Ethernet.

Best for: legacy serial devices
Serial to IP
Fieldbus Gateway

Converts between fieldbus and industrial Ethernet protocols.

Best for: PLC and DCS integration
Fieldbus
IIoT Edge Gateway

Collects plant data and publishes to cloud protocols.

Best for: dashboards and analytics
Cloud
Building Gateway

Bridges BACnet, Modbus and other building protocols.

Best for: HVAC and utilities
Building
Selection Tip
Always check the gateway data limits, such as maximum registers and IO bytes. Large meters with hundreds of registers can exceed small gateways quickly.

For PROFINET, the gateway comes with a GSDML file that you import into the engineering tool. Our PROFINET communication guide explains how IO devices are added.

Register Mapping and Configuration

Start with the device register list and choose only the values the controller really needs. Fewer registers mean faster polling and simpler troubleshooting.

A single Modbus read is limited to 125 registers, so larger blocks must be split into several requests. The SignalFire application note shows exactly this approach for a PROFINET gateway.

Watch data types carefully. A 32 bit float may need its two registers swapped, and a wrong byte order produces nonsense values.

Serial wiring also matters. Follow the rules in RS232 vs RS485 for termination, biasing and cable length.

Modbus RTU Polling Time Formula

Transaction time = (Request bytes + Response bytes) × 11 ÷ Baud + Device delay
Cycle time = Transaction time × Number of slaves

Worked example, read 10 holding registers:
Request = 8 bytes
Response = 5 + (2 × 10) = 25 bytes
Bits = 33 × 11 = 363 bits
At 9600 baud: 363 ÷ 9600 = 37.8 ms
Device delay = 10 ms, so 47.8 ms per slave
10 slaves = 478 ms full cycle

Each byte carries 11 bits on the wire because of start, parity and stop bits. Raising the baud rate to 19200 nearly halves the wire time.

If the PLC needs faster updates, split devices across two serial ports or two gateways. Moving to Modbus TCP removes most of this delay.

Industrial Protocol Gateway Comparison of Options

ApproachSpeedCostEffortBest For
Industrial protocol gatewayMediumLow to mediumLowMixed legacy devices
Native PLC comm moduleHighMediumMediumMany devices of one protocol
Replace field devicesHighHighHighEnd of life equipment
SCADA driverMediumLowMediumMonitoring only

A gateway is usually the fastest and cheapest path when devices still work well. Native modules make sense when many devices share one protocol.

For monitoring only, a SCADA driver or an OPC UA server may avoid extra hardware altogether.

Polling Cycle Calculator

Modbus RTU Cycle Estimate
Estimated polling time
47.8 ms per slave, 478 ms full cycle

Real cycles also include gateway processing and inter frame gaps. Treat the result as a minimum and test on site.

Advantages
  • Keeps working legacy devices in service.
  • Fast to install and configure.
  • Low cost compared with replacement.
  • Web tools and traffic monitors aid troubleshooting.
Limitations
  • Adds a point of failure between systems.
  • Data freshness depends on polling speed.
  • Register mapping errors cause wrong values.
  • Limited data size per gateway.

PROFINET to Modbus RTU Application Note

PDF
PROFINET to Modbus RTU Gateway Application Note
SignalFire note on register remapping, GSDML import and TIA Portal setup

Gateway Setup Walkthrough Video

Industrial Protocol Gateway FAQ

What does an industrial protocol gateway do?
It translates data between two different industrial protocols so devices can share information.
Is a gateway the same as a router?
No, a router forwards packets, while a gateway converts protocol data.
What is a GSDML file?
It is the device description file used to add a PROFINET device to the PLC project.
How many registers can one Modbus read request?
Up to 125 holding registers per request.
Why are my float values wrong?
The word or byte order probably needs swapping in the mapping.
Can a gateway send data to the cloud?
Yes, IIoT gateways publish data over MQTT or similar protocols.
Does a gateway add delay?
Yes, data is only as fresh as the last poll cycle.

Related Articles

External References

What We Learn Today

  • A gateway polls on one protocol and serves the same data on another.
  • Careful register mapping and data type checks prevent wrong values.
  • Polling time depends on baud rate, register count and number of slaves.
I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for reading!! Happy Learning!!

Leave a Reply

Your email address will not be published. Required fields are marked *