A factory floor built in 2002 has 45 Modbus RTU devices on RS-485 daisy-chains, each polled by an aging panel-mount HMI at 9,600 baud. The new MES server in the IT department expects Modbus TCP over Ethernet at update rates fast enough for real-time OEE dashboards. Between these two worlds sits a class of devices — protocol gateways and edge computers — whose sole job is to translate serial Modbus to Ethernet Modbus without losing a single register value. This article explains how the conversion works, the difference between a simple gateway and an edge device, and how to choose the right bridge for your serial network.
What a Modbus RTU-to-TCP Gateway Actually Does
At its simplest, a protocol gateway is a two-port device: one RS-485 (or RS-232) serial port facing the legacy Modbus RTU slaves, and one Ethernet port facing the Modbus TCP client (the SCADA server, MES, or cloud platform). The gateway maintains a mapping table — serial slave ID 1 at register 40001 maps to a TCP connection from IP 192.168.1.50 at unit identifier 1, holding register 0. When a Modbus TCP client sends a read request, the gateway translates the TCP packet into an RTU frame, sends it on the serial bus, waits for the slave response, and repackages the data into a TCP response. The conversion is stateless per transaction — the gateway does not store data between polls.
More capable devices like the Mikrodev DM100-E1N-GC0 add programmability on top of protocol conversion. This device combines an IEC 61131-3 programmable RTU with Modbus TCP/RTU gateway functionality, meaning it can convert protocols while simultaneously executing local control logic — a useful capability when the legacy serial network needs local alarm handling or data concentration before forwarding to the SCADA layer.
Simple Gateway vs Edge Device: Understanding the Functional Gap
A simple protocol gateway converts Modbus RTU to Modbus TCP and nothing else. Configuration is typically done through a web page or DIP switches: set the serial baud rate, parity, and slave ID range, assign an IP address, and the gateway runs unchanged for years. These devices cost $200–600 and have no field-serviceable parts.
An edge device — sometimes called an IIoT gateway or protocol converter — does the same conversion but adds data buffering, multi-master support, store-and-forward, and cloud connectivity. An edge device can poll Modbus RTU slaves independently, store the register values in a local buffer, and serve those cached values to multiple Modbus TCP masters simultaneously — something a simple gateway cannot do because it translates transactions one at a time. For installations where both a local SCADA and a cloud dashboard need to read the same serial devices, this multi-master buffering capability eliminates polling collisions on the RS-485 bus. Visit our protocol converters and fieldbus gateways sections for specific models.
RS-485 Electrical Considerations When Adding a Gateway
The most common failure mode when retrofitting a gateway onto an existing Modbus RTU network is not a protocol mismatch — it is an electrical one. RS-485 networks are designed for a specific number of unit loads, termination resistors at both ends of the trunk, and a defined bias voltage for the idle state. Adding a gateway as an additional device on the bus changes the impedance, adds a stub length, and can introduce ground-loop currents if the gateway power supply is referenced to a different ground than the existing devices.
Best practice is to install the gateway at one end of the RS-485 trunk, replacing the existing termination resistor position, and power the gateway from the same 24 V DC supply as the nearest field device. If the legacy network uses non-standard baud rates or vendor-specific Modbus extensions — both common in pre-2010 installations — verify that the gateway supports user-defined baud rates and does not reject non-standard response timing before purchasing. Also see our industrial communication products for broader networking options.
Do You Need a Gateway or a Full Migration?
A gateway is the right choice when the serial devices are staying and only the upstream connection is changing to Ethernet. A full migration — replacing each serial device with a native Modbus TCP instrument — is justified when the serial devices are at end of life, when the RS-485 cabling is degraded, or when the application demands update rates faster than RS-485 at 115,200 baud can deliver. As a practical rule, if the serial cable is over 15 years old and runs through cable trays shared with VFD motor leads, budget for replacement — the electrical noise immunity of RS-485 degrades with cable age, and a gateway cannot compensate for a physically compromised physical layer.
A Modbus gateway is not a permanent solution — it is a bridge that buys you time to migrate devices on your schedule, not the vendor's.



