Core role of a Modbus gateway between serial fieldbuses and IP networks
A Modbus gateway acts as a protocol bridge connecting legacy serial field devices over RS-485 or RS-232 to modern Ethernet or wireless IP networks. Across industrial facilities, power meters, variable frequency drives, and process controllers commonly run Modbus RTU or Modbus ASCII, whereas supervisory SCADA platforms and historians communicate using Modbus TCP/IP. Deploying a gateway preserves existing field instrumentation while enabling centralized IP polling.
During operation, the gateway listens for incoming IP requests, extracts the application payload, builds a compliant serial frame, and queries the target bus without altering register values. Supplied on quotation by Atlas Electronics within the Protocol Gateways, Serial Device Servers & CAN Adapters family, hardware such as Sollae Systems SMG-5400 combines RS-232 and RS-485 ports with Wi-Fi (802.11 a/b/g) connectivity to link serial devices to IP supervisors.
How Modbus RTU and ASCII framing differ from Modbus TCP/IP
On serial lines, Modbus RTU packs data in compact binary form, delimiting messages by a silent gap of at least three and a half character times and appending a 16-bit CRC checksum. Modbus ASCII encodes each byte as two hexadecimal characters framed by a colon start byte and carriage-return line-feed ending, using an LRC check with lower bandwidth efficiency. Both serial formats depend on predictable timing that standard packetized IP networks disrupt.
Modbus TCP/IP removes the serial CRC or LRC trailer because TCP handles transport error detection, and prepends a 7 byte MBAP header carrying Transaction Identifier, Protocol Identifier, Length, and Unit Identifier fields. When forwarding requests downstream, a Modbus gateway strips the MBAP header, inserts the serial address and recalculates the checksum, then reverses that translation on every slave reply.
Transparent serial device servers versus protocol-aware Modbus gateways
A unit in the Serial-to-Ethernet Device Servers (RS-232/422/485) category operating in transparent mode encapsulates raw serial bytes directly inside TCP or UDP packets without inspecting Modbus function codes. The host must therefore run virtual COM port software or send RTU-over-TCP frames. Modules such as Sollae Systems CSE-B63G, featuring RS-232, RS-485, and Separator settings for packet fragmentation, or Sollae Systems CSE-H53N with RS-232 up to 230,400 bps and Configuring in ATC Mode - Patent support these architectures.
By contrast, a protocol-aware gateway like Sollae Systems SMG-5400 decodes MBAP headers, manages multi-master TCP queues, and prevents serial bus collisions. Buyers must check the datasheet for supported TCP socket counts, fragmentation controls, and serial baudrate ranges such as 300 bps 921,600 bps on Sollae Systems CSE-B63G.
RS-485 differential bus wiring, biasing, and termination resistors
Reliable Modbus bridging depends heavily on proper RS-485 physical layer wiring. Field devices should connect in a linear daisy-chain topology using shielded twisted pair cable for differential data lines alongside a common signal reference ground, avoiding long star stubs. Termination resistors matching the cable characteristic impedance, typically 120 ohms, must be fitted strictly at both physical ends of the trunk to suppress signal reflections.
When all transceivers release the bus, fail-safe bias resistors hold the differential pair in a defined idle state so line noise cannot trigger false start bits or CRC failures. Before installation, buyers must check the product datasheet for built-in termination options, electrical isolation ratings, and minimum operating temperature, such as -20 °C on Sollae Systems SMG-5400 or -40 °C or lower on Sollae Systems CSE-B63G.
Slave ID routing and concurrent request arbitration across RS-485
Every slave attached to an RS-485 trunk carries a distinct address between 1 and 247. In Modbus TCP/IP, this address maps to the single-byte Unit Identifier located at byte seven of the MBAP header. When a TCP request arrives, the gateway reads the Unit Identifier and places it as the destination address of the RTU or ASCII frame on the configured serial port, allowing supervisors to reach multiple instruments behind one IP endpoint.
Because RS-485 is half-duplex and permits only one transmitter at a time, a Modbus gateway buffers concurrent queries from multiple TCP masters using the MBAP Transaction Identifier. It serializes each poll sequentially, enforces configured turnaround timers, and routes every serial reply back exclusively to the originating TCP socket.
Selecting Ethernet, Wi-Fi, cellular, or LoRaWAN uplink connectivity
The upstream network interface depends on cabinet infrastructure and site reach. Inside wired control panels, Serial-to-Ethernet Device Servers (RS-232/422/485) like Sollae Systems CSE-B63G draw 133 mA(100 M Ethernet) or 173 mA(10 M Ethernet). Where Ethernet cabling is impractical, Sollae Systems SMG-5400 bridges RS-232 and RS-485 Modbus devices over Wi-Fi (802.11 a/b/g) with 210 mA Typical consumption.
For remote outdoor assets, units in RS485 Gateways such as RAKwireless 218022 transmit RS-485 Modbus telemetry over LoRaWAN EU868 inside an IP67 enclosure measuring 30 mm × 215 mm rated to -40 °C or lower. In multi-network deployments, Contec CPS-MG341G5-ADSC1-931 combines 4 G LTE cellular connectivity, 2 ports Ethernet, and RS-485. Buyers must check supply voltage, antenna rules, and environmental ratings in the datasheet before ordering on quotation.
Frequently asked questions
What is the difference between a transparent serial server and a Modbus gateway?
A transparent serial server such as Sollae Systems CSE-B63G or Sollae Systems CSE-H53N encapsulates raw serial bytes in TCP packets without decoding Modbus headers, requiring virtual COM drivers or RTU-over-TCP clients. A Modbus gateway like Sollae Systems SMG-5400 converts MBAP headers to RTU or ASCII framing, checks checksums, and arbitrates multiple TCP clients.
How does slave ID routing work over Modbus TCP/IP?
Modbus TCP/IP embeds a Unit Identifier byte inside the MBAP header. The gateway extracts that value and sends it as the serial slave address from 1 to 247 on the RS-485 bus, enabling one IP address to poll multiple serial meters or controllers.
Where should RS-485 termination resistors be installed on a Modbus line?
Termination resistors matching the cable impedance, usually 120 ohms, must be installed only at the two physical ends of the RS-485 daisy-chain bus, paired with fail-safe bias resistors if idle stability is needed. Buyers should check the datasheet to verify whether the gateway includes switchable internal termination.
Can RS-485 Modbus devices connect over LoRaWAN or 4 G LTE without Ethernet cabling?
Yes. Outdoor bridges such as RAKwireless 218022 connect RS-485 Modbus sensors to LoRaWAN EU868 networks inside an IP67 housing rated for -40 °C or lower, while Contec CPS-MG341G5-ADSC1-931 integrates RS-485 with 4 G LTE cellular and dual Ethernet ports, both supplied on quotation.
Products mentioned
CPS-MG341G5-ADSC1-931
Protocol Gateways, Serial Device Servers & CAN Adapters
Integrated M2M Gateway with OPC UA, 4G LTE and CNC · Ref. : CPS-MG341G5-ADSC1-931
Price on request
RAK2470
RS485 Gateways
Outdoor RS485 Modbus to LoRaWAN converter IP67 · Ref. : 218022
Price on request
CSE-H53N
Serial-to-Ethernet Device Servers (RS-232/422/485)
Industrial RS232 Serial-to-Ethernet Device Server
- 300bps ~ 230,400bps
- Datasheet
- TCP Server (T2S)
Price on request
SMG-5400
Protocol Gateways, Serial Device Servers & CAN Adapters
Wireless LAN Modbus gateway, IEEE 802.11b/g · Ref. : SMG-5400
- 1,200bps ~ 230,400bps
- Datasheet
- 9 pin D-sub male
Price on request
CSE-B63G
Serial-to-Ethernet Device Servers (RS-232/422/485)
RS232/RS485 Serial-to-Ethernet Module
- TCP Server(T2S)
- 9 pin D-sub male
- CSE-B63G
Price on request
A project? Our engineers build the solution with you.
Send your requirements: Atlas proposes the architecture, the bill of materials and a quotation, then follows the supply.
Request a quotation








