RS485-to-Ethernet Converter / Modbus TCP Gateway (DIN-rail, 1–4 Port, OEM)
Source RS485 Ethernet converters and Modbus TCP gateways from China OEMs. DIN-rail, 2500V isolated, -40°C to +70°C. MOQ 10 units.
Modbus RTU to Modbus TCP: What the Gateway Actually Does
Modbus RTU is a serial protocol designed for a single master polling multiple slaves on a half-duplex RS485 bus. One master only, one transaction at a time, master-initiated. The physical layer is two-wire differential (A/B), half-duplex, meaning the bus cannot transmit and receive simultaneously. At 9,600 bps — still common in older meters and PLCs — a single Modbus RTU read of 10 holding registers takes approximately 30ms including bus turnaround delays. That is not a performance problem for SCADA polling; it becomes a problem when multiple SCADA clients try to talk to the same RS485 network simultaneously.
Modbus TCP removes several of those constraints. It runs over Ethernet, is full-duplex at the network layer, and allows multiple TCP clients to connect to the same server simultaneously. A SCADA system, a historian, and an HMI can all issue Modbus TCP reads independently without coordinating access.
The gateway bridges the two. Mechanically: a Modbus TCP client (your SCADA software) opens a TCP connection to port 502 on the gateway. It sends a Modbus TCP frame — same function codes and register addresses as Modbus RTU, but with a 6-byte MBAP header replacing the device address and CRC. The gateway strips the MBAP header, reformats the request as a Modbus RTU frame, places it on the RS485 bus, waits for the slave response, and returns the data to the originating TCP client in Modbus TCP format.
Where simultaneous client handling gets complicated. The RS485 bus is still half-duplex and can still only run one transaction at a time. If four Modbus TCP clients issue requests simultaneously, the gateway must queue them and serialize execution onto the RS485 bus. The behavior when a request queue fills is firmware-defined: some gateways return a Modbus exception code 06 (server busy), others silently drop requests, and others block new TCP connections entirely. A maximum simultaneous TCP client count of 4–16 is a firmware limit, not a hardware limit — verify what the gateway does when that limit is reached under load.
Response timeout handling. When the gateway sends a Modbus RTU request to an RS485 slave and the slave does not respond within the configured timeout (typically 200–1000ms), the gateway must decide what to return to the TCP client. Good firmware returns Modbus exception code 11 (gateway target device failed to respond) — the TCP client receives a well-formed error and knows the slave is unreachable. Poor firmware holds the TCP connection open until the TCP timeout expires (often 30–120 seconds), blocking that connection slot for the duration. Under repeated slave timeouts, this behavior exhausts the TCP client pool and causes the gateway to appear non-responsive even though it is operating normally.
Inter-request gap (the 3.5-character silent interval). Modbus RTU uses line silence of 3.5 character times (at 9,600 bps: approximately 4ms) to delimit frame boundaries. A gateway that transmits the next RTU request before the required silence interval causes collisions or frame merging on the RS485 bus, which slave devices cannot parse correctly. This detail is poorly implemented in several low-cost Chinese firmware stacks — the symptom is intermittent CRC errors that appear at higher polling rates or when multiple slaves are on the same bus segment. Test with back-to-back polling of three or more slaves at the application’s target polling interval before committing to a supplier.
RS485 Electrical Isolation: Why It Matters and How to Verify It
Industrial RS485 networks span long cable runs, often across multiple electrical panels connected to different circuit breakers or different electrical phases. Ground potential difference between two physically distant RS485 devices — even on the same building’s electrical system — can be 10–100V under normal conditions and 50–500V during a fault or lightning event. A non-isolated RS485 transceiver ties the bus ground (RS485 common or GND terminal) directly to the converter’s DC supply ground, which connects to the Ethernet device’s chassis ground. The common-mode voltage from the RS485 bus appears directly across the transceiver’s input, and a transient exceeding the transceiver’s maximum input voltage (typically ±15V for RS-485 spec compliant devices, ±60V for some robust transceivers) destroys the IC.
Galvanic isolation breaks the DC path between the RS485 bus and the Ethernet/power circuit. The signal crosses via optocouplers or a small isolation transformer, and no conductive path exists for fault current to flow.
Isolation voltage ratings: what they mean in practice. A 1,500V isolation rating means the dielectric barrier can withstand 1,500V AC RMS (or 2,121V DC) applied continuously between isolated domains without breakdown. A 2,500V rating is appropriate for most industrial applications — it exceeds the surge voltage requirements of IEC 61000-4-5 Level 4 (4kV open-circuit, which appears as roughly 2kV across a 50Ω source impedance). A 3,000V rating provides additional margin for high-voltage industrial environments (substation automation, motor drive panels). Do not confuse isolation voltage with surge withstand — they are different measurements. A 2,500V galvanic isolation rating combined with a TVS diode on the RS485 terminals is a complete surge protection strategy; galvanic isolation alone without TVS does not protect against fast transients that charge the isolation capacitance.
Optical isolation vs transformer isolation. Optocouplers dominate in converters under $30 because they are inexpensive and fast — signal delay through a standard optocoupler is <1µs, which causes no baud rate limitation at 115,200 bps. The weakness of optical isolation is poor common-mode rejection at power-line frequencies (50/60Hz). The ground loop current that flows through stray capacitance across the optocoupler can couple 50Hz noise onto the RS485 signal. In practice, this is rarely an issue for Modbus RTU applications because the baud rate is much higher than 60Hz — the noise is rejected by the RS485 receiver’s differential input. Transformer isolation (smaller, wound on a ferrite core) has better low-frequency common-mode rejection but is slightly slower and more expensive. For most industrial Modbus applications, optical isolation at 2,500V is sufficient.
How to test isolation without a hipot tester. Apply 500V DC between the RS485 GND terminal and the converter’s DC supply negative terminal (or chassis GND) using a DC power supply with current limiting set to 1mA. A non-isolated unit will show the supply current rising immediately as current flows through the direct conductive path. An isolated unit will show <0.1mA leakage current (through stray capacitance). A standard digital multimeter on the resistance setting can also detect non-isolated units: measure between RS485 GND and DC supply GND — non-isolated units show continuity (typically <10Ω). This test does not verify the isolation voltage rating, but it confirms whether isolation exists at all. For full hipot testing (verifying the 2,500V rating), a dedicated hipot tester applying 2,500V AC for one minute is required — this is a standard test in a qualified inspection engagement.
Transparent Mode vs Modbus TCP Gateway Mode vs Virtual COM Port
Three operating modes appear across different RS485-to-Ethernet converter products. They solve different problems, and selecting the wrong mode causes integration failures that look like hardware defects.
Transparent TCP/IP serial tunneling. The converter acts as a pipe: raw serial bytes arriving on the RS485 port are encapsulated in a TCP stream and forwarded to a preconfigured remote IP and port. The TCP peer receives the raw Modbus RTU bytes — SCADA software or a driver must implement Modbus RTU parsing, including device addressing and CRC checking. This mode is useful when the Ethernet-side software already speaks Modbus RTU natively (some older SCADA systems), or when the serial protocol is not Modbus at all (proprietary binary protocols, ANSI C12.18 metering protocols). It does not allow multiple simultaneous Modbus TCP clients — the TCP connection is point-to-point between the converter and one configured peer.
Modbus TCP gateway mode (protocol conversion). The converter implements full Modbus TCP server functionality on the Ethernet side and Modbus RTU master on the RS485 side. Standard Modbus TCP clients — SCADA, HMI, historian software — connect directly to port 502 without any modification. This is the most common use case: integrating legacy Modbus RTU devices (older PLCs, energy meters, motor drives) into a modern Ethernet-based SCADA infrastructure without replacing the field devices or modifying the SCADA software. Multiple clients connect simultaneously, and the gateway manages the serialization to the RS485 bus.
Virtual COM port driver. A software driver installed on a Windows or Linux PC creates a virtual serial port (e.g., COM7) that communicates over TCP to the converter. Legacy software that only supports COMx port addressing — older lab equipment control software, legacy SCADA packages from the 1990s — sees a normal serial port and operates without modification. The converter accepts the TCP connection from the virtual COM port driver and forwards the serial bytes to the RS485 bus. This mode is useful for software migration: the RS485 device and field wiring are retained while the physical serial cable from the PC is replaced by Ethernet.
Latency budget for SCADA polling. Building a realistic latency expectation prevents integration surprises. A complete Modbus TCP read cycle breaks down as follows: Ethernet round-trip from SCADA server to gateway at 100Mbps on a local LAN is approximately 1ms. Gateway processing — MBAP header stripping, RTU frame assembly, TCP client queue management — adds 2–5ms in firmware (verified under light load; can increase to 10–15ms under heavy simultaneous client load). RS485 bus time for a Modbus RTU read of 10 holding registers at 9,600 bps: the request frame is 8 bytes (1 device address + 1 function + 2 start register + 2 quantity + 2 CRC = 8 bytes × ~1ms/byte at 9,600 bps) plus the slave processing time (typically 5–20ms for a simple PLC) plus the response frame (25 bytes for 10 registers). Total RS485 bus time: approximately 30ms at 9,600 bps. Total round-trip for one Modbus TCP read: approximately 33–36ms. At 19,200 bps the RS485 bus component halves to approximately 15ms; at 115,200 bps it drops to <5ms.
SCADA scan cycles are typically 1–10 seconds — a 35ms transaction time is entirely adequate for status monitoring and setpoint writing. Closed-loop real-time control with sub-100ms cycle times cannot tolerate this latency budget and should use deterministic fieldbus protocols (EtherNet/IP, PROFINET) rather than Modbus TCP over a shared gateway.
Chinese Supplier Landscape
The RS485-to-Ethernet converter market from China covers a wide range from DIN-rail-mounted industrial units to bare PCB modules intended for integration. Understanding the tiers reduces evaluation time.
Premium Taiwanese reference (for benchmarking). Moxa’s NPort series (NPort 5110, NPort 5150, NPort 5650) is the engineering benchmark. Moxa publishes MTBF figures backed by actual test data, ships with a Windows/Linux configuration utility, and provides firmware releases with documented CVE response. The NPort 5150 (1-port RS485, DIN-rail, 2,000V isolation) retails at approximately $170–200. Advantech’s Adam-4570 series occupies similar territory. These products matter as a benchmark for evaluating Chinese OEM documentation and test report quality, not necessarily as the purchase target.
Tier 1 Chinese OEM — USR IOT and PUSR. USR IOT (有人物联网, Jinan) and PUSR (深圳市普联技术) are the two Chinese suppliers most commonly found in building automation and light industrial deployments. USR’s USR-N510 (1-port RS485, 3,000V isolation, DIN-rail optional) retails at $18–25 in quantity and is widely used in smart metering, building management systems, and energy monitoring projects. The firmware implements Modbus TCP gateway mode with up to 16 simultaneous TCP clients and includes a watchdog that resets the TCP stack after detecting a stale connection. PUSR’s PLK-104 offers similar specifications with a slightly more polished web configuration UI. Both suppliers provide CE and FCC Part 15 Class B documentation. The honest limitation: MTBF figures are MIL-HDBK-217F calculations, not test data; cold-start testing at -40°C is not documented in supplier datasheets and should be verified independently.
Budget OEM tier — Waveshare and catalog modules. Waveshare produces RS485-to-Ethernet modules in the $12–18 range targeting makers and system integrators who need basic serial tunneling or simple Modbus TCP gateway function. These use lower-cost optical isolation rated at 1,500V. The simultaneous TCP client limit is typically 4, and firmware behavior on client exhaustion is to silently drop new connection attempts. For building automation applications where Ethernet segment is shared with IT infrastructure and the RS485 network connects to 10–20 meters and PLCs in a single electrical panel, these are workable and cost-effective. For substation automation, oil and gas RTU panels, or any installation with documented ground fault risks, the 1,500V isolation rating and unverified surge withstand performance are engineering gaps.
Quality verification for any supplier. Before placing a production order, run these checks in a sample inspection:
-
Simultaneous connection test. Open 8 TCP Modbus connections to the gateway simultaneously using a Modbus TCP test tool (Modscan, Simply Modbus). Poll all 8 connections at 1-second intervals for 24 hours continuously. Verify zero dropped responses and no connection lockup. This test exposes the TCP connection leak failure mode — where a gateway holds a half-open TCP connection indefinitely, consuming a connection slot, until the connection slot pool is exhausted.
-
Isolation verification. Apply 500V DC between RS485 GND and DC supply negative. Measure leakage current — should be <0.1mA for galvanic isolation. For full hipot, apply 2,500V AC for 60 seconds between isolated domains; no flashover or breakdown.
-
RS485 inter-request gap. Connect three RS485 slaves on the same bus segment. Configure Modbus TCP polling of all three at maximum polling rate. Capture the RS485 bus with a logic analyzer and measure the silent interval between consecutive RTU frames. Should be >3.5 character times at the configured baud rate. Values below this indicate firmware does not comply with the Modbus specification’s frame delimiter requirement.
-
Watchdog recovery. Force a TCP connection lockup (connect a client, begin polling, then kill the client without sending FIN/RST). Verify the gateway detects the dead connection and frees the slot within the documented timeout. If undocumented, the default in many firmwares is 30–120 seconds — verify this is acceptable for your application.
-
Operating temperature cold-start. If -40°C cold-start is required, power on the gateway at -40°C in a temperature chamber and verify the Modbus TCP gateway function is operational within the specified startup time. Many suppliers document -40°C operating temperature based on component vendor specifications without validating the firmware initialization sequence at temperature.
For sourcing across the Chinese RS485 converter market — including supplier shortlisting, sample procurement, and comparison of USR IOT, PUSR, Waveshare, and factory-direct PCB-level integrations — see our industrial IoT sourcing service. For OEM private-label requirements (custom firmware branding, web UI customization, or multi-port variants with custom enclosures), typical MOQ starts at 50–100 units with a 30–60 day tooling lead time. The IoT modules industry page covers related module-level sourcing where the RS485 interface is one component in a larger IoT gateway design.
Van egy beszerzési projektje?
Mondja el, mire van szüksége. 24 órán belül válaszolunk, hétvégén is.