Bus communication system supporting data interaction of multiple slave stations
By using MODBUS bus isolation repeaters and high-speed optocoupler isolation technology, the problem of existing devices being unable to communicate simultaneously was solved, enabling data interaction between multiple slave devices and simultaneous communication between the master device, thus improving the system's communication stability and anti-interference capability.
Patent Information
- Application Number
- CN202423122534.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2034-12-18
AI Technical Summary
Existing programmable logic controllers (PLCs) or Modbus RTU electrical equipment typically only have one communication port, which cannot support simultaneous communication between two host computers, and multiple devices cannot exchange data, leading to communication problems.
The system employs a MODBUS bus isolation repeater, connects to the host computer through multiple master communication ports, and utilizes high-speed optocoupler isolation and Modbus RTU protocol to achieve data interaction between multiple slave devices and simultaneous communication with the master station. It uses function codes 03 and 16/06 for data transmission and sets 128 holding registers for data storage and conversion.
It enables data interaction between multiple slave devices and simultaneous communication with the master station, improving the system's anti-interference and stability, supporting simultaneous data acquisition by two master station devices, and enhancing the system's communication capabilities.
Smart Images

Figure CN223652280U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to a bus communication system, specifically a bus communication system that supports data interaction between multiple slave stations. Background Technology
[0002] Currently, most programmable controllers or electrical devices with Modbus RTU communication only have one Modbus RTU communication port, which cannot support simultaneous communication between two host computers. The inability of multiple programmable controllers or Modbus RTU electrical devices to exchange data has caused significant problems in the field of communication. Summary of the Invention
[0003] This utility model provides a bus communication system that supports data interaction between multiple slaves, allows multiple slaves to merge into one slave, enables data exchange between multiple slaves, and allows simultaneous communication with two master stations.
[0004] The technical solution adopted by this utility model is: a bus communication system that supports data interaction among multiple slave stations, including... MODBUS The bus isolation repeater is characterized in that: MODBUS The multiple master communication ports of the bus isolation repeater are connected to multiple host computers. MODBUS The power interface of the bus isolation repeater is connected to a switching power supply. MODBUS The slave communication port of the bus isolation repeater is connected to the first sensor or the first slave device. The first sensor or the first slave device is connected to 1-8 sensors or slave devices in sequence. The two COM ports of two adjacent sensors or slave devices are connected to each other by multiple 03 function code read data commands or 16 / 06 function code write data commands.
[0005] The two adjacent sensors or the two COM ports of the slave device communicate using no more than eight 03 function code read data commands or 16 / 06 function code write data commands.
[0006] The number of registers for a single command of function code 03 (read data command) or function code 16 / 06 (write data command) shall not exceed 16.
[0007] All communication ports are serial asynchronous half-duplex RS485 communication interfaces, using the MODBUS-RTU communication protocol.
[0008] High-speed optical coupling isolation is provided between the communication connections.
[0009] High-speed optical coupling isolation is provided between the communication connections.
[0010] The MODBUS The data storage space of the bus isolation repeater is 128 holding registers.
[0011] The holding register address range is as follows: 40001~40128 is the external communication data address; 40201~40325 is the configuration parameter address.
[0012] The beneficial effects of this utility model are:
[0013] 1. In the communication system, the slave device provides data to the master device in a Modbus RTU network. Its COM ports are completely isolated, allowing it to provide data to two master devices simultaneously. The slave device can send a maximum of 8 read commands (function code 03) and 8 write commands (function code 16 / 06), with a maximum of 16 registers per command. The transmission delay time for read and write commands can be configured individually. Modbus RTU protocol conversion is supported between the two COM ports of the slave device, enabling multiple slave devices to be merged into one, and allowing data exchange between multiple slave devices.
[0014] 2. The master station communication port is used by the host computer or master station to collect data from other slave devices and store it in... MODBUS The bus isolation repeater's internal memory then provides data to two host computers or master stations or enables data interaction between slave devices, supporting simultaneous communication between two master station systems.
[0015] 3. The communication uses high-speed optical coupling isolation, which makes the circuit more resistant to interference and more stable. Attached Figure Description
[0016] Figure 1 This is a system diagram of the present utility model.
[0017] In the picture: MODBUS Bus isolation repeater 1, master communication port 2, first host computer 3, second host computer 4, power interface 5, switching power supply 6, slave communication port 7, first slave device 8, first COM port 9, second COM port 10, eighth slave device 11. Detailed Implementation
[0018] The following explanation, in conjunction with the accompanying drawings, will provide further details.
[0019] Figure 1 As shown: A bus communication system supporting multi-slave data interaction, including... MODBUS Bus isolation repeater 1, MODBUS The two master communication ports 2 of the bus isolation repeater 1 are connected to the first host computer 3 and the second host computer 4, respectively. MODBUS The power interface 5 of the bus isolation repeater 1 is connected to the switching power supply 6. MODBUSThe slave communication port 7 of the bus isolation repeater 1 is connected to the first slave device 8. The first slave device 8 is followed by eight slave devices, up to the eighth slave device 11. The first COM port 9 and the second COM port 10 of adjacent slave devices are connected one-to-one using multiple 03 function code read data commands or 16 / 06 function code write data commands. The two COM ports of two adjacent sensors or slave devices are connected using no more than eight 03 function code read data commands or 16 / 06 function code write data commands. The number of registers in a single 03 function code read data command or 16 / 06 function code write data command does not exceed 16.
[0020] In this embodiment, all communication ports are serial asynchronous half-duplex RS485 communication interfaces, using the MODBUS-RTU communication protocol.
[0021] In this embodiment, high-speed optical coupler isolation is provided between communication connections.
[0022] In this embodiment MODBUS The data storage space of the bus isolation repeater is 128 holding registers.
[0023] In this embodiment, the register address range is maintained as follows: 40001~40128 is the external communication data address; 40201~40325 is the configuration parameter address.
Claims
1. A bus communication system supporting multi-slave data interaction, comprising a MODBUS bus isolation repeater, characterized in that: The MODBUS bus isolation repeater has multiple master communication ports connected to multiple host computers. The power interface of the MODBUS bus isolation repeater is connected to a switching power supply. The slave communication port of the MODBUS bus isolation repeater is connected to the first sensor or the first slave device. The first sensor or the first slave device is connected to 1-8 sensors or slave devices in sequence. The two COM ports of two adjacent sensors or slave devices are connected by multiple 03 function code read data commands or 16 / 06 function code write data commands.
2. The bus communication system supporting multi-slave data interaction according to claim 1, characterized in that: The two adjacent sensors or the two COM ports of the slave device are connected by a one-to-one correspondence using no more than 8 03 function code read data commands or 16 / 06 function code write data commands.
3. A bus communication system supporting multi-slave data interaction according to claim 1 or 2, characterized in that: The number of registers for a single command of function code 03 (read data command) or function code 16 / 06 (write data command) shall not exceed 16.
4. A bus communication system supporting multi-slave data interaction according to claim 1, characterized in that: All communication ports are serial asynchronous half-duplex RS485 communication interfaces, using the MODBUS-RTU communication protocol.
5. A bus communication system supporting multi-slave data interaction according to claim 1, 2, or 4, characterized in that: High-speed optical coupling isolation is provided between the communication connections.
6. A bus communication system supporting multi-slave data interaction according to claim 3, characterized in that: High-speed optical coupling isolation is provided between the communication connections.
7. A bus communication system supporting multi-slave data interaction according to claim 1, characterized in that: The MODBUS bus isolation repeater has 128 holding registers for data storage.
8. A bus communication system supporting multi-slave data interaction according to claim 7, characterized in that: The holding register address range is 40001~40128, which is the external communication data address. 40201~40325 are the configuration parameter addresses.