HOME >  ABOUT US >  PRODUCT INFORMATION >  METHODS FOR IMPLEMENTING MODBUS RTU WIRELESS TRANS...

Methods for implementing Modbus RTU wireless transmission with LoRa modules

13

Aug . 2026

By NiceRF Team
Updated: Aug 13, 2026

In industrial automation and the Internet of Things, Modbus RTU, as a classic serial communication protocol, is widely used for data exchange among PLCs, instruments, sensors, and other devices. However, traditional wired RS485 networks often struggle when faced with difficult cabling, long distances, mobile devices, or complex terrain. The emergence of LoRa (Long Range) wireless technology—with its low power consumption, long range, and anti-interference characteristics—provides an ideal solution for extending Modbus RTU wirelessly. This article will discuss in detail how to use LoRa modules to implement wireless transmission of Modbus RTU, covering core technical points, common problem symptoms, troubleshooting measures, and applicable boundaries.

1. Core technical points analysis

Implementing Modbus RTU wireless transmission using LoRa modules essentially replaces the physical cable with a wireless link without changing the original protocol architecture. This process involves multiple key technical aspects.

LoRa module bridging Modbus RTU master and slave

1.1 Bridging relationship between master and slave and LoRa modules

Modbus RTU uses a strict master-slave polling mechanism. In wireless solutions, the master (e.g., host computer, PLC) and slaves (e.g., instruments, sensors) maintain their master-slave relationship via pairwise or multi-node LoRa modules that provide transparent bridging. LoRa data transmission modules typically support transparent transmission, i.e., they "carry data intact", being completely transparent to the upper-layer Modbus protocol.

When used for Modbus RTU wireless bridging, priority should be given to LoRa data transmission modules with transparent interfaces such as UART, RS232, or RS485. Based on interface type, network topology, frequency band, communication distance, and transmit power, select LoRa Pro or LoRa II series: for example, LoRa611Pro at 100mW; LoRa611II or LoRa611II-DZ at 160mW; LoRa6100Pro, LoRa6100Pro-mini, or LoRa6100II-1W at 1W; LoRa6200II at 2W; LoRa6500Pro or LoRa6500II at 5W; for ultra-long-distance scenarios, consider LoRaP30PRO (30W). The final model should be determined based on local frequency and transmit power regulations, interface types, on-site link budget, and power supply conditions.

1.2 Key parameter matching

To ensure accurate data restoration, parameters on the serial side and the wireless side must be carefully configured:

  • Serial-Side Parameters: The LoRa module and the connected device must use exactly the same baud rate, data bits, parity, and stop bits.
  • Wireless-Side Parameters: Spreading factor (SF), bandwidth (BW), and air data rate directly determine the maximum single-packet payload and over-the-air transmission latency.

1.3 Modbus RTU frame structure

The Modbus RTU frame structure is the basis for data parsing. A typical frame structure is shown in the following table:

Field

Length

Description

Slave Address

1 byte

Identifies the target slave. 0x00 is the broadcast address; valid range: 1–247.

Function Code

1 byte

Specifies the operation type, such as 03 (Read Holding Registers) or 06 (Write Single Register).

Data Field

Variable length

Register address, quantity, or data to write; length is determined by the function code.

CRC Check

2 bytes

CRC-16 check; low byte first; used to verify frame integrity.

1.4 Frame transmission process

A complete Modbus wireless query-response process is as follows:

  1. Master Sends Query Frame: The master sends a standard Modbus RTU query frame through the serial port.
  2. LoRa Transmitter Encapsulation: The LoRa module on the master side receives the serial data and encapsulates it into a wireless packet.
  3. Over-the-Air Transmission: The packet is transmitted over the air through a LoRa RF signal.
  4. LoRa Receiver Restoration: The LoRa module on the slave side receives the RF signal, decapsulates it, and restores the original serial data.
  5. Slave Response: The slave receives the data, processes it, and returns a response frame over the serial port.
  6. Reverse Transmission: The response frame follows the same process in reverse back to the master.

Modbus RTU frame structure table

1.5 Advanced issues that need to be handled independently

Although LoRa modules provide transparent transmission, customers still need to adapt and handle the following issues in practical applications:

  • Packet Fragmentation and Reassembly: For example, function code 03 can read up to 125 registers in a single request, which can make a frame exceed the maximum LoRa single-packet payload. Application-layer fragmentation and reassembly are therefore required.
  • Timeout Mismatch: LoRa round-trip latency (50–200 ms, and up to several seconds at high SF) is much greater than the default Modbus timeout (200–500 ms), so it must be adjusted accordingly.
  • Multi-Slave Polling Conflicts: Because LoRa is usually half-duplex, concurrent responses from multiple slaves can cause over-the-air collisions, so the polling strategy must be optimized.

2. Typical problem symptoms and scenarios

In actual deployments, when replacing wired links with wireless, communication failures or high packet loss rates are commonly encountered. These problems often manifest under specific devices and environments.

Symptom Description:
In remote factory meter reading or environmental monitoring scenarios, the master continuously sends query commands but receives no response or encounters a large number of CRC errors.

Underlying Causes and Challenges:

  1. Frame Truncation Caused by Fragmentation/Reassembly: Due to LoRa’s single-packet payload limits, long Modbus frames are forcibly truncated, causing CRC validation to fail.
  2. Unreasonable Timeout Setting: The master’s default timeout is too short. While a LoRa packet is still being transmitted over the air, the master may already declare a timeout, abandon reception, or launch the next query.
  3. Multi-Slave Collisions: In a one-master/multiple-slave network, if the polling interval is too short, one slave response may collide over the air with the next query frame.

3. Troubleshooting and solutions

Faced with the above issues, systematic troubleshooting and parameter optimization should be conducted in a logical order.

3.1 Check serial parameter matching

Diagnostic Action: Confirm that the baud rate, data bits, stop bits, and parity of the LoRa data transmission module exactly match the Modbus device.

Common Misconception: A module’s factory default is often 9600/8/N/1, whereas an on-site device may actually use 19200/8/E/1.

Result: Parameter mismatches can prevent the module from correctly identifying the start of a serial frame, resulting in persistent non-response or garbled parsing (causing large numbers of CRC errors).

Corrective Action: Strictly align the LoRa module’s serial parameters with those of the connected device.

3.2 Check matching between wireless rate and response timeout

Diagnostic Action: Evaluate the current air data rate and the master timeout setting.
Principle: The lower the LoRa air data rate (the higher the SF), the longer the single-packet transmission delay. If the host Modbus timeout is too short (for example, the default 200–500 ms) and the LoRa round-trip delay exceeds it, timeouts will be triggered frequently. At very low air data rates, a slave response may remain over the air so long that the master has already timed out and abandoned reception.

Corrective Action:

  • Select SF and air data rate reasonably according to actual data volume and distance requirements.
  • Critical Action: Adjust the host timeout to 3–5× the LoRa round-trip delay.

3.3 Check communication distance and interference

Diagnostic Action: Evaluate the on-site deployment environment.

Factors to Consider:

  • Whether the actual deployment distance exceeds the effective coverage under the current transmit power and SF configuration.
  • Whether there are strong electromagnetic interference sources on site, such as motors, frequency converters, or high-power equipment.
  • Whether the antenna installation position is severely blocked by metal cabinets or buildings.

Observed Behavior: When distance is insufficient or interference is severe, intermittent packet loss occurs; weaker signals result in more severe packet loss.
Corrective Action:

  • For long-distance or heavily interfered nodes, replace with higher-power LoRa modules or add high-gain antennas.
  • Optimize antenna installation positions, avoiding metal obstructions and strong interference sources as much as possible.
  • If necessary, introduce nodes with Mesh relay functionality to extend network coverage.

4. Applicability boundaries and limitations

Using LoRa modules to implement Modbus RTU wireless transmission is not omnipotent; it has clear applicable scenarios and technical limitations.

Applicable Scenarios:

  • Suitable for scenarios where existing Modbus RTU devices are extended via LoRa wireless, such as factory instrument remote reading, environmental monitoring, and building automation.
  • Transparent Transmission Mode: Requires no modification to host software and is suitable for simple scenarios with few nodes and small data volumes.
  • Protocol Conversion Mode (if supported by the module): Suitable for complex scenarios with many nodes and centralized gateway management.

Limitations and Trade-Offs:

  1. Not Suitable for High-Frequency Real-Time Control: LoRa air data rates are relatively low and cannot meet the low-latency requirements of millisecond-level closed-loop control.
  2. Limited Polling Efficiency: LoRa is mostly half-duplex; it can only receive or transmit at a given time, so multi-slave polling efficiency is lower than in full-duplex wired networks.
  3. Timeout Parameters Must Be Relaxed: High-SF configurations have high latency, so the master timeout must be increased accordingly, reducing overall system response speed.
  4. Large Data Transfer Is Limited: Single-packet payloads are limited, so large data transfers require complex application-layer fragmentation and reassembly logic.
  5. Network Scale Limitations: It is recommended to keep the number of slaves within a single network to several dozen or fewer. With too many nodes, the polling cycle becomes significantly longer and system availability is affected.

In summary, LoRa modules provide a cost-effective solution for the wireless extension of Modbus RTU, but during implementation, engineers must deeply understand LoRa's latency characteristics and single-packet limitations, reasonably configure serial and wireless parameters, and appropriately adjust the master's polling strategy in order to build a stable and reliable wireless communication network.

Related Tags
Contact Us

 +86-755-23080616

 sales@nicerf.com

Website: https://www.nicerf.com/

Address: 309-315, 3/F, Bldg A, Hongdu business building, Zone 43, Baoan Dist, Shenzhen, China

Contact us
Privacy Policy
✕

Privacy Policy

· Privacy Policy

There is currently no content available


           

Email:sales@nicerf.com

Tel:+86-755-23080616

Address:309-315, 3/F, Bldg A, Hongdu business building, Zone 43, Baoan Dist, Shenzhen, China


×