Direct serial connection to the PLC works fine. After switching to 4G wireless, data arrives intermittently. This is not a Modbus protocol problem—it is a conflict between the jitter characteristics of the wireless link and Modbus's strict timing requirements. Follow the sequence below; the root cause is usually identified within 30 minutes.
When 4G signal strength (RSRP) drops below -100 dBm, link retransmission rates rise significantly. MovingComm DTU commissioning guidance recommends an installation location with RSRP > -100 dBm. But good RSRP does not mean a stable link—signal strength reflects received power only, not jitter and packet loss.
Action: Check RSRP and SINR in the DTU/gateway web interface or cloud platform. RSRP within -85 dBm and SINR > 10 dB is preferable. If RSRP is normal but communication still drops, proceed to Step 2.
This is the most common root cause of intermittent behaviour. 4G round-trip latency (RTT) may sit at 30–50 ms normally but jump to 300 ms or higher during peak hours. If the Modbus master timeout is set too tight—for example, carrying over the 200 ms used for direct serial connection—the master declares a timeout and retransmits before a normal response arrives. The retransmission causes the slave to receive duplicate requests; some PLCs return exception code 06 (device busy), creating a vicious cycle.
Parameter reference table (based on MovingComm field experience):
| Parameter | Direct serial | 4G/5G wireless recommended |
|---|---|---|
| Request timeout | 100–300 ms | 500–2000 ms |
| Retry count | 1–2 | 2–3 |
| Polling interval | 50 ms | ≥200 ms |
Action: First measure maximum wireless latency with ping (ping -c 100 target-IP, check the max value), then set the timeout to 2–3 times the maximum latency. If ping shows a max above 500 ms, set the timeout to at least 1500 ms.
MovingComm industrial routers/DTUs typically support two modes, and choosing the wrong one causes frames to be "quietly altered":
Transparent mode: forwards frames unchanged—suitable when both ends use Modbus RTU and 4G serves as the bridge.
Protocol conversion mode: automatically performs RTU↔TCP conversion (strips CRC, adds MBAP header)—suitable when one end is a PLC (RTU) and the other is a cloud platform (TCP).
Typical failure: The PLC sends RTU, the router is set to protocol conversion, converts to TCP and sends to the cloud; the cloud parses as RTU → CRC check fails. Or the cloud sends TCP, the router converts to RTU but loses the Unit-ID, and the PLC rejects it.
Action: Confirm the format each end expects. When uncertain, prefer transparent mode and implement conversion logic yourself—it offers the highest controllability. Capture packets on both the serial and Ethernet sides and compare byte by byte.
Baud rate, data bits, parity and stop bits—if any one does not match, communication becomes intermittent. Modbus RTU most commonly uses 8N1, but power meters often use 8E1 and some legacy devices use 7E1. Occasional successful reception occurs because interference makes the parity bit "happen to" match, but it is unreliable.
Action: Confirm serial parameters against the PLC manual and verify each item in the DTU/gateway configuration. For RS485, check A/B polarity (A to A, B to B—do not cross).
If the CRC error counter is rising while RTT is stable and low, the problem lies on the serial side, not the 4G side. Common interference sources: VFDs, servos, welding machines.
Action:
Add termination resistors (120 Ω) to the RS485 bus; consider isolated transceivers for long buses;
Check shield grounding and avoid grounding both ends, which creates a ground loop;
The DTU/gateway metal enclosure provides shielding, but the antenna should be positioned away from VFD cabinets.
| Symptom | Check first |
|---|---|
| Occasional timeouts, ping latency fluctuates | Increase timeout (500–2000 ms) |
| CRC errors keep growing, RTT stable | Serial interference/wiring |
| Data completely garbled | Wrong transparent/protocol-conversion mode |
| Intermittent communication, serial parameters suspect | Verify baud rate/parity/stop bits |
| Weak signal (RSRP < -100 dBm) | Reposition antenna or add external antenna |
If the problem persists after these five steps, submit the specific device model and field logs through the MovingComm website for targeted technical support.