CN212163361U - Two main station controller communication systems - Google Patents
Two main station controller communication systems Download PDFInfo
- Publication number
- CN212163361U CN212163361U CN202021306081.5U CN202021306081U CN212163361U CN 212163361 U CN212163361 U CN 212163361U CN 202021306081 U CN202021306081 U CN 202021306081U CN 212163361 U CN212163361 U CN 212163361U
- Authority
- CN
- China
- Prior art keywords
- modbus
- tcp
- controller
- rtu
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 82
- 238000004891 communication Methods 0.000 title claims abstract description 79
- 238000012545 processing Methods 0.000 description 6
- 238000005034 decoration Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The utility model discloses a communication system of two main station controllers, which comprises at least one Ethernet communication controller, a gateway and at least one serial port communication controller; each Ethernet communication controller is connected with a gateway, and the gateway is connected with each serial port communication controller; the Ethernet communication controller comprises a Modbus-TCP client, the gateway comprises a Modbus-TCP server and a Modbus-RTU slave station connected with the Modbus-TCP server, and the serial communication controller comprises a Modbus-RTU master station; the Modbus-TCP client is connected with the Modbus-TCP server, and the Modbus-RTU master station is connected with the Modbus-RTU slave station. The advantages are that: the communication between Modbus-RTU master and slave stations and the communication between Modbus-TCP client and Modbus-TCP server are integrated, so that the Ethernet communication controller and the serial port communication controller are both master station controllers and are in active positions in the communication process to issue the query command.
Description
Technical Field
The utility model relates to a controller communication field especially relates to a two master controller communication systems.
Background
In the field of industrial automation, communication between PLC of different brands and DCS mostly adopts Modbus protocol to carry out communication between two controllers, when two controllers of different brands need to communicate, one controller is adopted as a master controller to actively issue commands, and the other controller is adopted as a slave controller to passively receive commands. In fact, in many cases, the other controller as a slave station is also constrained by the way that Modbus communication can only be performed by one master and multiple slaves, and the other controller also needs to actively read the data of the master station controller, so that the traditional Modbus communication method cannot be realized.
The traditional Modbus communication adopts a master-slave mode to carry out communication, along with the development of the automation control, more and more higher control requirements are provided, and the master-slave communication mode can not meet the development requirements of the automation control.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a two master controller communication systems to solve the aforementioned problem that exists among the prior art.
In order to realize the purpose, the utility model discloses a technical scheme as follows:
a communication system of two main station controllers comprises at least one Ethernet communication controller, a gateway and at least one serial communication controller; each Ethernet communication controller is connected with the gateway, and the gateway is connected with each serial port communication controller; the Ethernet communication controller comprises a Modbus-TCP client, the gateway comprises a Modbus-TCP server and a Modbus-RTU slave station connected with the Modbus-TCP server, and the serial port communication controller comprises a Modbus-RTU master station; the Modbus-TCP client side is connected with the Modbus-TCP server, and the Modbus-RTU master station is connected with the Modbus-RTU slave station.
Preferably, the gateway comprises a TCP/IP network interface and an RS-232/485/422 serial port, and the Modbus-TCP client is connected with the Modbus-TCP server through the TCP/IP network interface; and the Modbus-RTU master station is connected with the Modbus-RTU slave station through the RS-232/485/422 serial port.
Preferably, the gateway comprises a protocol converter, and the Modbus-TCP server and the Modbus-RTU slave station are connected through the protocol converter.
The utility model has the advantages that: by additionally arranging a Modbus-TCP client and a Modbus-TCP server, the communication between Modbus-RTU master and slave stations and the communication mode between the Modbus-TCP client and the Modbus-TCP server are integrated, so that the Ethernet communication controller and the serial port communication controller are both master controllers and are in active positions in the communication process to issue query commands; the communication mode that two controllers have to follow a master-slave mode through Modbus communication is broken, and the two controllers are simultaneously used as master stations is realized.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are given by way of illustration only.
As shown in fig. 1, this embodiment provides a two-host controller communication system, where the communication system includes at least one ethernet communication controller, a gateway, and at least one serial communication controller; each Ethernet communication controller is connected with the gateway, and the gateway is connected with each serial port communication controller; the Ethernet communication controller comprises a Modbus-TCP client, the gateway comprises a Modbus-TCP server and a Modbus-RTU slave station connected with the Modbus-TCP server, and the serial port communication controller comprises a Modbus-RTU master station; the Modbus-TCP client side is connected with the Modbus-TCP server, and the Modbus-RTU master station is connected with the Modbus-RTU slave station.
In this embodiment, the gateway includes a TCP/IP network interface and an RS-232/485/422 serial port, and the Modbus-TCP client is connected to the Modbus-TCP server through the TCP/IP network interface; and the Modbus-RTU master station is connected with the Modbus-RTU slave station through the RS-232/485/422 serial port.
In this embodiment, the gateway includes a protocol converter, and the Modbus-TCP server and the Modbus-RTU slave station are connected via the protocol converter.
In this embodiment, the ethernet communication controller and the serial communication controller refer to a central processing unit of a PLC or a central processing unit of a DCS in the industrial automation industry, that is, when the ethernet communication controller is the central processing unit of the PLC and the serial communication controller is the central processing unit of the DCS, or the ethernet communication controller is the central processing unit of the DCS and the serial communication controller is the central processing unit of the PLC.
The gateway plays a role in connecting the two communication controllers, and meanwhile, the protocol converter in the gateway is provided with complete protocol conversion software, so that an inquiry command sent by a master station (a TCP client or an RTU master station) can be converted into an instruction which can be matched and received by a slave station (an RTU slave station or a TCP server).
In this embodiment, in the whole communication system, the master station controller includes a Modbus-RTU master station and a Modbus-TCP client, and the slave station controller includes a Modbus-RTU slave station and a Modbus-TCP server; the Ethernet communication controller carries out Modbus-TCP communication through a TCP/IP network interface; the serial port communication controller is used for carrying out Modbus-RTU communication through an RS-232/485/422 serial port; and the Ethernet communication controller and the serial port communication controller carry out Modbus communication through the gateway, so that the Ethernet communication controller and the serial port communication controller simultaneously issue a query command for a master station controller. The Modbus-TCP server can correspondingly forward serial port data and TCP data, and the Modbus-TCP server is used for monitoring a network, waiting for connection of a Modbus-TCP client and receiving and sending data.
In this embodiment, when the PLC controllers or DCS controllers of different brands are used as the master controller, the data in the corresponding Modbus address list can be obtained through the query command according to the Modbus address list (stored in the protocol converter) defined by the other party according to the actual control requirement of the controller, so that the PLC controllers or DCS controllers of different brands can be used as the master controller to perform read-write operations. The Modbus address is divided into two areas by PLC controllers or DCS controllers of different brands, the writing areas of the other side are mutually taken as the areas needing to be read by the two main station controllers, the areas are not influenced mutually, and the two main station controllers can be used for configuring respective control logic highly freely.
Through adopting the utility model discloses an above-mentioned technical scheme has obtained following profitable effect:
the utility model provides a two master station controller communication system, through addding Modbus-TCP customer end and Modbus-TCP server, synthesize the communication between Modbus-RTU master and slave stations and the communication mode between Modbus-TCP customer end and the Modbus-TCP server, realize that ethernet communication controller and serial port communication controller are the master station controller together, all are in the application that the initiative status was issued inquiry command in the communication process; the communication mode that two controllers have to follow a master-slave mode through Modbus communication is broken, and the two controllers are simultaneously used as master stations is realized.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, a plurality of improvements and decorations can be made without departing from the principle of the present invention, and these improvements and decorations should also be viewed as the protection scope of the present invention.
Claims (3)
1. A two host station controller communication system, comprising: the communication system comprises at least one Ethernet communication controller, a gateway and at least one serial port communication controller; each Ethernet communication controller is connected with the gateway, and the gateway is connected with each serial port communication controller; the Ethernet communication controller comprises a Modbus-TCP client, the gateway comprises a Modbus-TCP server and a Modbus-RTU slave station connected with the Modbus-TCP server, and the serial port communication controller comprises a Modbus-RTU master station; the Modbus-TCP client side is connected with the Modbus-TCP server, and the Modbus-RTU master station is connected with the Modbus-RTU slave station.
2. The two master station controller communication system of claim 1, wherein: the gateway comprises a TCP/IP network interface and an RS-232/485/422 serial port, and the Modbus-TCP client is connected with the Modbus-TCP server through the TCP/IP network interface; and the Modbus-RTU master station is connected with the Modbus-RTU slave station through the RS-232/485/422 serial port.
3. The two master station controller communication system of claim 2, wherein: the gateway comprises a protocol converter, and the Modbus-TCP server and the Modbus-RTU slave station are connected through the protocol converter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021306081.5U CN212163361U (en) | 2020-07-06 | 2020-07-06 | Two main station controller communication systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021306081.5U CN212163361U (en) | 2020-07-06 | 2020-07-06 | Two main station controller communication systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212163361U true CN212163361U (en) | 2020-12-15 |
Family
ID=73700373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202021306081.5U Active CN212163361U (en) | 2020-07-06 | 2020-07-06 | Two main station controller communication systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212163361U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259230A (en) * | 2021-05-12 | 2021-08-13 | 苏州和欣致远节能科技有限公司 | BACnet gateway with multiple Modbus ports and communication method thereof |
CN113867230A (en) * | 2021-10-20 | 2021-12-31 | 南京邮电大学 | Modbus remote operation control system |
US20220206473A1 (en) * | 2020-12-31 | 2022-06-30 | Tianjin University | Method for identifying and parsing industrial control protocol based on industrial gateway |
CN115189985A (en) * | 2022-08-24 | 2022-10-14 | 中国科学院沈阳自动化研究所 | Modbus multi-master-station data planning and forwarding device |
-
2020
- 2020-07-06 CN CN202021306081.5U patent/CN212163361U/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220206473A1 (en) * | 2020-12-31 | 2022-06-30 | Tianjin University | Method for identifying and parsing industrial control protocol based on industrial gateway |
US11789432B2 (en) * | 2020-12-31 | 2023-10-17 | Tianjin University | Method for identifying and parsing industrial control protocol based on industrial gateway |
CN113259230A (en) * | 2021-05-12 | 2021-08-13 | 苏州和欣致远节能科技有限公司 | BACnet gateway with multiple Modbus ports and communication method thereof |
CN113867230A (en) * | 2021-10-20 | 2021-12-31 | 南京邮电大学 | Modbus remote operation control system |
CN115189985A (en) * | 2022-08-24 | 2022-10-14 | 中国科学院沈阳自动化研究所 | Modbus multi-master-station data planning and forwarding device |
CN115189985B (en) * | 2022-08-24 | 2023-09-19 | 中国科学院沈阳自动化研究所 | Modbus multi-master-station data planning and forwarding device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN212163361U (en) | Two main station controller communication systems | |
CN108040005B (en) | Digit control machine tool intelligent monitoring gateway based on thing networking | |
CN103425106B (en) | The master/slave station control system of a kind of EtherCAT based on Linux and method | |
CN201966855U (en) | AC (alternating current) servo control system based on Ether CAT network | |
CN104734980B (en) | Industrial field bus MPR and multi protocol conversion method | |
US8990444B2 (en) | Fieldbus gateway using virtual serial fieldbus port and data transmission method thereof | |
CN202583856U (en) | Beer production automation control system based on Ethernet and CC-Link | |
CN101702694A (en) | Train interconnection gateway and system and train communication method | |
CN106873541A (en) | A kind of EtherCAT Distributed Servo kinetic control systems based on DSP | |
CN106888141A (en) | A kind of efficient CAN communication means | |
CN107127811A (en) | Flexible material cutting robot intelligent digital controller and implementation method | |
CN204360184U (en) | A kind of Modbus equipment master-salve station communication management system based on real-time data base | |
CN101895462B (en) | Serial communication gateway | |
CN112400300A (en) | Interconnection device, communication method, and system including robot | |
CN103885393A (en) | Cluster control system and operation method thereof | |
CN109274688B (en) | Design and implementation method of transformer substation protocol conversion function | |
KR101252955B1 (en) | The Apparatus of EtherCAT Slave Module for IEC 61800-based Power Driver System | |
Sharma et al. | Designing c library for modbus-rtu to canbus and modbus-tcp iot converters | |
CN110531685A (en) | A kind of EtherCAT bus multiaxis slave station system | |
CN203224756U (en) | Cluster control system | |
CN201957042U (en) | CNG filling system based on CAN communication | |
CN202094918U (en) | General servo pulse value interface module of ether CAT bus | |
CN112671624A (en) | Method for constructing real-time processing EtherCAT frame | |
CN214236813U (en) | Welding controller and robot communication system | |
CN205015457U (en) | Servo motor drives testing arrangement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: No. 27 Qingfeng West Road, Beicang Village Biomedical Base, Daxing District, Beijing 102600 Patentee after: Beijing Chengyitong Control Technology Group Co.,Ltd. Country or region after: China Address before: Room 418, 4th Floor, Building 6, No. 38 Yongda Road, Daxing Biomedical Industry Base, Zhongguancun Science and Technology Park, Daxing District, Beijing Patentee before: BEIJING CHIEFTAIN CONTROL ENGINEERING TECHNOLOGY Co.,Ltd. Country or region before: China |