Remote IO module communication system, communication method, device and medium

By designing redundant IO expansion modules in the remote IO module communication system, the reliability problems caused by the failure of the central host in traditional systems are solved, and higher flexibility and ease of use are achieved.

CN119807105APending Publication Date: 2025-04-11SHENZHEN ENVICOOL INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411990608.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the traditional distributed IO module architecture, failure of the central host may cause the entire system to be paralyzed, limiting the flexibility, reliability and ease of use of the system.

Method used

A remote IO module communication system is designed, in which the IO expansion module contains more than two IO modules, each IO module has an external power supply interface, an external communication interface and a connection terminal. The adjacent IO modules share power supply and data communication through the power bus and the communication bus to ensure redundant power supply and redundant communication between the PLC host and the IO expansion module.

Benefits of technology

It improves the flexibility, reliability and ease of use of the system, ensuring that even if any IO module cannot communicate normally, the communication between the PLC host and the IO extension module will not be interrupted, and supports high-reliability remote IO module communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119807105A_ABST
    Figure CN119807105A_ABST
Patent Text Reader

Abstract

The invention discloses a remote IO module communication system, a communication method, a device and a medium, and relates to the field of power electronics. The remote IO module communication system comprises a PLC host and an IO expansion module, the IO expansion module comprises at least two IO modules, a power bus and a communication bus are communicated between connecting terminals of every two adjacent IO modules, and power supply and data communication sharing between the IO modules in the same group are achieved. At least two IO modules in each IO expansion module are connected to the PLC host through the power external interfaces and the communication external interfaces of the IO modules, and one IO expansion module can output communication data to the PLC host through the communication external interface of one IO module. And other IO modules can be switched to realize power supply and data communication, so that redundant power supply and redundant communication between the IO expansion module and the PLC host are realized, and the flexibility, the reliability and the usability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronics, and further to a remote IO module communication system and a communication method, device and medium. Background Art

[0002] In the field of industrial automation, remote IO modules (ipput / output) play a vital role. They are responsible for collecting and distributing data in industrial control systems to achieve remote monitoring and control of equipment. With the rapid development of intelligent manufacturing and industrial Internet technology, the market demand for remote IO modules continues to expand.

[0003] In the process of implementing this application, the inventors found that the prior art has at least the following problems: In traditional distributed IO modules, a central host is usually required to coordinate and manage the data interaction of each module. This architecture limits the flexibility and scalability of the system, and once the central host fails, the entire system may be paralyzed.

[0004] For those skilled in the art, how to improve the flexibility, reliability and usability of the system is a technical problem that needs to be solved at present. Summary of the invention

[0005] The core of the present invention is to provide a remote IO module communication system and communication method, device, and medium. An IO expansion module has more than two IO modules that can realize power supply and data communication with the PLC host. When any IO module fails to communicate normally, it does not affect the communication between the PLC host and the IO expansion module, which can effectively improve the flexibility, reliability, and ease of use of the system. The specific scheme is as follows:

[0006] A remote IO module communication system includes a PLC host and an IO expansion module; the IO expansion module includes N IO modules, where N is an integer greater than 2;

[0007] Each of the IO modules in each of the IO expansion modules is respectively provided with a power supply external interface, a communication external interface and two connection terminals, and the connection terminals of two adjacent IO modules are connected to a power bus and a communication bus to achieve power supply and data communication sharing between the same group of IO modules;

[0008] At least two IO modules are provided in each IO expansion module, which are connected to the PLC host through the power supply external interface and the communication external interface, so as to realize redundant power supply and redundant communication with the PLC host.

[0009] Optionally, in the IO expansion module,

[0010] The power external interfaces of the IO modules connected to the PLC host are respectively connected to different power interfaces of the PLC host;

[0011] And / or, the external communication interfaces of the respective IO modules connected to the PLC host are respectively connected to different communication interfaces of the PLC host.

[0012] Optionally, the PLC host is provided with two or more IO expansion modules.

[0013] A remote IO module communication method, applied to the remote IO module communication system as described above, comprises:

[0014] In each group of the IO expansion modules, the target IO module obtains the communication data of each of the IO modules in the module where it is located, and sends the obtained communication data to the PLC host;

[0015] The target IO module is at least one IO module in the IO expansion module that is connected to the PLC host.

[0016] Optionally, the target IO module sends the acquired communication data to the PLC host, including:

[0017] The target IO module determines a connection sequence of each of the IO modules in the module where the target IO module is located, and sequentially arranges and combines communication data of each of the IO modules according to the connection sequence to form a first data queue;

[0018] The target IO module sends the first data queue to the PLC host.

[0019] Optionally, the target IO module determines the connection order of each of the IO modules in the module where the target IO module is located, including:

[0020] Obtaining the level value of each IO module in the IO expansion module;

[0021] The connection sequence between the IO modules in the IO expansion module is determined according to the order of the level values.

[0022] Optionally, the target IO module determines the connection order of each of the IO modules in the module where the target IO module is located, including:

[0023] Obtaining the level value of each of the IO modules in the IO expansion module to determine the highest level value or the lowest level value therein;

[0024] The IO module with the highest level value or the lowest level value determines the connection order of each IO module in the IO expansion module through a handshake protocol.

[0025] Optionally, it also includes:

[0026] When receiving the second data queue from the PLC host, the target IO module shares the second data queue with other IO modules in the IO expansion module where it is located, and each IO module obtains its own data from the second data queue according to the preset order.

[0027] A remote IO module communication device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes any one of the above remote IO module communication methods when running the computer program.

[0028] A computer-readable storage medium is used to store a computer program, wherein the computer program implements any of the above remote IO module communication methods when executed by a processor.

[0029] The present invention provides a remote IO module communication system. The IO expansion module comprises more than two IO modules. Each IO module in each IO expansion module is respectively provided with a power supply external interface, a communication external interface and two connection terminals. The connection terminals of two adjacent IO modules are connected with a power bus and a communication bus. The power bus supplies power to the IO expansion module. The communication bus transmits data in the IO expansion module, so as to realize the sharing of power supply and data communication between the same group of IO modules. At least two IO modules are provided in each IO expansion module, which are connected to a PLC host through their power supply external interface and communication external interface. An IO expansion module can output communication data to the PLC host by using the communication external interface of one of the IO modules. When any communication external interface or power supply external interface fails, power supply and data communication can be realized by other IO modules, so that the IO expansion module and the PLC host realize redundant power supply and redundant communication, thereby improving the flexibility, reliability and usability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 This is a schematic diagram of the electric control topology of the remote IO module communication system of the present invention;

[0032] Figure 2 The diagram shows the electrical control topology of an IO expansion module with three IO modules.

[0033] The figure includes:

[0034] PLC host 1, IO expansion module 2, IO module 21, power external interface 22, communication external interface 23, connection terminal 24, power bus 25, communication bus 26. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the technical solution of the present invention, the remote IO module communication system of the present invention will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0036] Combination Figure 1 As shown, the present invention provides a remote IO module communication system, which includes a PLC host 1 and an IO expansion module 2; the PLC host 1 is a programmable logic controller (PLC), which is a digital operation controller for automatic control with a microprocessor, and can load control instructions into a memory at any time for storage and execution. It has internal storage for executing instructions for operations such as logical operations, sequential control, timing, counting and arithmetic operations, and controls various types of mechanical equipment or production processes through digital or analog input and output.

[0037] The IO expansion module 2 is a module for inputting and outputting signals. The IO expansion module 2 includes N IO modules 21 , where N is an integer greater than 2, that is, one IO expansion module 2 includes more than two IO modules 21 , and each IO module 21 can realize signal input and output.

[0038] Combination Figure 2 As shown, each IO module 21 in each IO expansion module 2 is respectively provided with an external power interface 22, a communication external interface 23 and two connection terminals 24. The external power interface 22 is used to connect to the PLC host 1 to provide power, and the external communication interface 23 is used to connect to the PLC host 1 to provide signal transmission.

[0039] The IO modules 21 in each IO expansion module 2 are connected through a power bus 25 and a communication bus 26. The connection terminals 24 of two adjacent IO modules 21 are connected to the power bus 25 and the communication bus 26, so as to realize the power supply and data communication sharing between the same group of IO modules 21. The power bus 25 can realize the power supply of the IO expansion module 2, and the communication bus 26 is used to realize signal transmission between the IO modules 21. Through the communication bus 26, any IO module 21 can obtain the data of other IO modules 21 in the same IO expansion module 2, and realize data input and output between the IO modules 21 in the same IO expansion module 2.

[0040] Combination Figure 2 As shown, connection terminals 24 are respectively provided at the left and right edges of the IO module 21, and the connection terminals 24 can be plugged into the power bus 25 and the communication bus 26. For each IO module 21 in the same IO expansion module 2, a power supply series connection is formed through the power bus 25, and a data series connection is formed through the communication bus 26. The connection terminal 24 is independent of the power external interface 22 and the communication external interface 23, and transmits data signals to the PLC host 1 through the communication external interface 23. When the power external interface 22 or the communication external interface 23 fails, it does not affect the connection terminal 24 to transmit signals between each IO module 21.

[0041] Each IO expansion module 2 is provided with at least two IO modules 21 which are connected to the PLC host 1 through its power external interface 22 and communication external interface 23, so as to realize redundant power supply and redundant communication with the PLC host 1; that is to say, among the N IO modules 21 in an IO expansion module 2, at least two IO modules 21 form independent power supply connections and signal connections with the PLC host 1. Since each IO module 21 can obtain the signal data of all IO modules 21 in the IO expansion module 2 where it is located, any IO module 21 can be used as a data communication node. When there are two or more IO modules 21 connected to the PLC host 1, mutual backup and redundancy can be formed. When any IO module 21 fails and cannot communicate with the PLC host 1, other normal IO modules 21 can maintain communication with the PLC host 1. Normally, as long as there are two IO modules 21 maintaining communication with the PLC host 1, the stability can be greatly improved. The probability of two IO modules 21 failing at the same time is extremely low, which can meet most usage scenarios. If there are higher stability requirements, three IO modules 21 can be set to communicate with the PLC host 1. As long as there is one IO module 21 that can communicate normally with the PLC host 1, normal data communication needs can be guaranteed.

[0042] The remote IO module communication system of the present invention does not need to set up a node module separately for the IO expansion module 2. Each IO module 21 can act as a node for communicating with the PLC host 1, and more than two IO modules 21 communicate with the PLC host 1 to form more than two communication nodes. When any IO module 21 fails and cannot communicate with the PLC host 1, the communication can be replaced with the help of another IO module 21. Under the condition of maintaining normal data communication, the faulty IO module 21 can be repaired. Since each IO module 21 can act as a node for communicating with the PLC host 1, the whole system has higher flexibility and ease of use. The failure of a single IO module 21 does not affect normal data communication. The probability of failure of both IO modules 21 is extremely low, and it has higher reliability.

[0043] The IO modules 21 in the IO expansion module 2 of the present invention can transmit data to each other within the same group of IO modules 21, and can also transmit data to the PLC host 1 through the IO module 21. Through the redundant design of the IO expansion module 2, the entire remote IO module communication system can be made flexible, reliable and easy to use.

[0044] In some embodiments, such as Figure 1 As shown, in an IO expansion module 2, the power external interface 22 / communication external interface 23 of each IO module 21 connected to the PLC host 1 is connected to the corresponding same power interface / communication interface of the PLC host 1 to achieve unidirectional redundancy, that is, when the power external interface 22 / communication external interface 23 of a single IO module 21 fails, it will not affect the normal communication and power supply between the IO expansion module 2 and the PLC host 1.

[0045] In some implementation schemes, in an IO expansion module 2, the power external interface 22 of each IO module 21 connected to the PLC host 1 is respectively connected to different power interfaces of the PLC host 1; and / or, the communication external interface 23 of each IO module 21 connected to the PLC host 1 is respectively connected to different communication interfaces of the PLC host 1. In this way, bidirectional redundancy can be achieved, that is, as long as a single power interface / communication interface of the PLC host 1 fails, or a single power external interface 22 / communication external interface 23 of an IO module 21 fails, normal communication and power supply will not be affected.

[0046] On the basis of the above scheme, the PLC host 1 of the present invention is provided with more than two IO expansion modules 2, combined with Figure 1 As shown, four IO expansion modules 2 are shown. A PLC host 1 can also be configured with fewer or more IO expansion modules 2 correspondingly. The specific number is determined according to the specific usage scenario.

[0047] Combination Figure 1 As shown, among the multiple IO modules 21 in an IO expansion module 2, any IO module 21 can be connected to the PLC host 1 through the power external interface 22 and the communication external interface 23. For different IO expansion modules 2, as long as there are more than two IO modules 21 connected to the PLC host 1, the selection of which IO modules 21 to connect to the PLC host 1 can be arbitrarily specified without specific requirements; the selection of which IO modules 21 to connect to the PLC host 1 between each IO expansion module 2 can select IO modules 21 at the same position or IO modules 21 at different positions.

[0048] Figure 1 Four IO expansion modules 2 are arranged in order from top to bottom, wherein the first and second IO modules 21 in the first IO expansion module 2 are connected to the PLC host 1 for power supply and communication, the third and fourth IO modules 21 in the second IO expansion module 2 are connected to the PLC host 1 for power supply and communication, the first and third IO modules 21 in the third IO expansion module 2 are connected to the PLC host 1 for power supply and communication, and the second and fourth IO modules 21 in the fourth IO expansion module 2 are connected to the PLC host 1 for power supply and communication. Figure 1 Only two IO modules 21 in an IO expansion module 2 are shown as being connected to the PLC host 1 for power supply and communication, and three or more connections are not shown. The above connection form is only a specific example shown in the accompanying drawings, and other connection forms may also exist. These specific schemes should be included in the protection scope of the present invention.

[0049] Specifically, the PLC host 1 can obtain the communication data sent by any one or two IO modules 21 in an IO extension module 2 that are connected to the PLC host 1 in communication, that is, there are more than two IO modules 21 in an IO extension module 2 that are connected to the PLC host 1 in communication, but when the PLC host 1 obtains data, for one IO extension module 2, it can obtain the communication data only through one of the IO modules 21, or it can obtain the communication data through two IO modules 21 at the same time. When obtaining communication data through one IO module 21, it can discard the communication data of another IO module 21, or it can store the unused communication data additionally. Since any IO module 21 can obtain the communication data of all IO modules 21 in the entire IO extension module 2, the data of the two IO modules 21 should be consistent. When the data of the two IO modules 21 are used at the same time, the PLC host 1 can compare the data of the IO modules 21, and the two IO modules are compared with each other to improve the reliability of the data. When there is a large difference in the data of the two IO modules 21 for a long time, a fault may have occurred, and then overhaul and maintenance are performed.

[0050] When transmitting data, the communication data of each IO module 21 in an IO expansion module 2 is arranged in a preset order and sent to the PLC host 1 through one or two IO modules 21. That is to say, no matter which one or two IO modules 21 are used to send data to the PLC host 1, the order of data received by the PLC host 1 is consistent. Each IO module 21 in an IO expansion module 2 is arranged in a certain order in advance, and the data is arranged in the same order each time, so that the data remains unified and comparable.

[0051] In one embodiment, the spatial position of each IO module 21 in the IO expansion module 2 forms a corresponding relationship with the data arrangement position, so as to more easily and conveniently identify the IO module 21 to which each data belongs. Exemplarily, the sorting can be achieved by means of level and handshake protocol, and the device ID of the IO module 21 can be adaptively allocated without manual division intervention.

[0052] Since the data of all IO modules 21 of the same IO expansion module 2 are arranged in a certain order, any IO module 21 in the same IO expansion module 2 can transmit communication data to the PLC host 1 in the same order, ensuring that the data order transmitted by any IO module 21 in the same IO expansion module 2 is the same, and the historical order of the data is maintained consistent. A unique data arrangement order is determined for the same IO expansion module 2, and for different IO expansion modules 2, the corresponding data can be arranged in the same or different order. For example, the identification code of the IO module 21 can also be used as the basis for data arrangement.

[0053] When the PLC host 1 obtains data through one of the IO modules 21 in an IO expansion module 2 at a time, the PLC host 1 communicates with the IO module 21 ranked first in the IO expansion module 2 in a preset order from front to back. The order referred to here refers to the order in which the data of each IO module 21 of an IO expansion module 2 is arranged. Figure 1 For example, if one IO expansion module 2 is provided with four IO modules 21, for the first group of IO expansion modules 2, wherein the first and second IO modules 21 are connected to the PLC host 1, the data of the entire IO expansion module 2 can be obtained from the first IO module 21 first, and when the first IO module 21 cannot obtain data normally, the data of the entire IO expansion module 2 can be obtained from the second IO module 21. Of course, this order can also be reversed.

[0054] Specifically, in a specific form, the PLC host 1 only obtains data from an IO expansion module 2 through the same IO module 21, and an IO module 21 in an IO expansion module 2 communicates with the PLC host 1. The PLC host 1 preferentially obtains communication data from the IO module 21 that is ahead in the preset order, and only when the IO module 21 that is ahead in the order cannot communicate normally with the PLC host 1, it switches to the next IO module 21.

[0055] In addition, it should be noted that in the data acquisition process described above, an IO expansion module 2 always stably acquires data through an IO module 21. In another optional solution, when the PLC host 1 acquires data from an IO expansion module 2, it can also acquire data alternately between different IO modules 21. Figure 1 For example, the first and third IO modules 21 of the third IO expansion module 2 are connected to the PLC host 1 by signal, and the PLC host 1 synchronously obtains data of an IO expansion module 2 at intervals, and obtains data through the first IO module 21 for the first time, obtains data through the third IO module 21 for the second time, obtains data through the first IO module 21 for the third time, obtains data through the third IO module 21 for the fourth time..., and so on, alternating and cyclically. Of course, this cycle process can also be subjected to a series of variations, such as obtaining data through the first IO module 21 for the first and second times, obtaining data through the third IO module 21 for the third and fourth times, and so on, which should all be included in the protection scope of the present invention. The two IO modules 21 in an IO expansion module 2 can communicate with the PLC host 1 at the same time, and the PLC host 1 obtains communication data from the two IO modules 21 at the same time.

[0056] Each IO expansion module 2 of the remote IO module communication system of the present invention can be separated from the coupler and run independently, which is convenient for assembly and wiring while also saving material costs. The IO modules 21 are connected in a power bus 25 and a communication bus 26, and a redundant design between modules can be achieved through a dual power supply and communication architecture. The present invention realizes data transmission between each IO module 21 through the communication bus 26, which not only simplifies user wiring, but also improves the communication rate between devices. The present invention adopts an adaptive device ID allocation mechanism, which is compatible with various types of IO modules 21 and can be arranged at will, and also simplifies the software configuration scheme of the remote IO module.

[0057] In some application scenarios that require high reliability of equipment operation, a two-way power supply and communication architecture is used to implement a redundant design of remote IO modules. When one module fails, other devices can still work normally. Unlike traditional remote IO modules, which may cause system paralysis.

[0058] The present invention uses a custom protocol to achieve fast data interaction between modules through the SPI (Serial Peripheral Interface) bus or other bus methods. The PLC only needs to communicate with one module to monitor all modules. By identifying the high and low level signals of the bus, the remote IO module can automatically identify the device ID. The user no longer needs to configure the device information of all modules independently, which greatly simplifies the user's application operation.

[0059] The remote IO module communication system of the present invention can be independently installed near the acquisition or control terminal. By supplying power and communication to any module and connecting the modules through a power bus and a communication bus, remote monitoring can be achieved. There is no need for switching through a coupler or interface module in the middle, and independent operation without a host is truly achieved.

[0060] In addition, the present invention also provides a remote IO module communication method, which can be applied to the above-mentioned remote IO module communication system, and specifically includes the following steps:

[0061] In each group of IO expansion modules 2, the target IO module obtains the communication data of each IO module 21 in the module where it is located, and sends the obtained communication data to the PLC host 1; wherein the target IO module is at least one IO module 21 in the IO expansion module 2 connected to the PLC host 1.

[0062] Since each IO module 21 in the IO expansion module 2 is connected to the power bus 25 and the communication bus 26 in sequence through the connection terminals 24 therebetween, each IO module 21 can obtain all communication data in the entire IO expansion module 2. Therefore, each IO module 21 in the IO expansion module 2 can communicate data with the PLC host 1 through the target IO module.

[0063] In the above method, the target IO module sends the acquired communication data to the PLC host 1, including:

[0064] The target IO module determines the connection sequence of each IO module 21 in the module where it is located, and arranges and combines the communication data of each IO module 21 in sequence according to the connection sequence to form a first data queue; the target IO module sends the first data queue to the PLC host 1.

[0065] By arranging and combining the communication data of each IO module 21 and then sending them, the PLC host 1 can identify the source of each data in the data queue according to a predetermined connection sequence.

[0066] In some implementation schemes, the target IO module determines the connection order of each IO module 21 in the module where it is located, including: obtaining the level value of each IO module 21 in the IO expansion module 2; and determining the connection order between each IO module 21 in the IO expansion module 2 according to the order of the level values. This solution is more suitable for the case where the number of IO modules 21 included in the IO expansion module 2 is small, and the level size of each intermediate IO module 21 can be more accurately identified.

[0067] When the IO expansion module 2 includes a large number of IO modules 21 , the level difference between the intermediate IO modules 21 is small. There will be a certain misjudgment rate when identifying the connection sequence between the IO modules 21 according to the order of high and low level values.

[0068] In order to effectively reduce the problem of false positive rate, in some implementation schemes, the method for the target IO module to determine the connection order of each IO module 21 in the module where it is located includes:

[0069] Obtaining the level value of each IO module 21 in the IO expansion module 2 to determine the highest level value or the lowest level value therein;

[0070] The IO module 21 with the highest level value or the lowest level value determines the connection sequence of each IO module 21 in the IO expansion module 2 through a handshake protocol.

[0071] In this way, any one of the two IO modules 21 whose head and tail positions are determined can communicate with the adjacent IO module 21 through the handshake protocol, and the two adjacent IO modules 21 can ensure the relative position one by one through the handshake protocol, so as to determine the position of each IO module 21 between the head and the tail one by one. For example, taking five IO modules 21 connected in series as an example, the level of the first IO module 21 is 3V, and the level of the last IO module 21 is 1V. After determining the IO module 21 at the first or last position, the ID is allocated with the adjacent IO modules 21 in turn through the handshake protocol, and the position of each IO module 21 in the middle can be determined one by one.

[0072] Similarly, when receiving the second data queue from the PLC host 1, the target IO module shares the second data queue with other IO modules 21 in the IO expansion module 2 where it is located, and each IO module 21 obtains its own data from the second data queue in a preset order.

[0073] The IO modules 21 of the same group of IO expansion modules 2 allocate register addresses to the IO expansion modules 2 through the software protocol. The number of register addresses is greater than the number of IO modules 21 in the IO expansion modules 2. Several vacancies are reserved to form redundant positions. The PLC host 1 can obtain data of multiple different IO expansion modules 2 at one time, and the same number of register addresses can be uniformly set for each IO expansion module 2.

[0074] An embodiment of the present invention further provides a remote IO module communication device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor executes any one of the above remote IO module communication methods when running the computer program.

[0075] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding contents of the aforementioned method embodiment.

[0076] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A remote IO module communication system, characterized in that: It comprises a PLC host (1) and an IO expansion module (2); the IO expansion module (2) comprises N IO modules (21), where N is an integer greater than 2; Each of the IO modules (21) in each of the IO expansion modules (2) is provided with a power supply external interface (22), a communication external interface (23) and two connection terminals (24), and the connection terminals (24) of two adjacent IO modules (21) are connected to a power supply bus (25) and a communication bus (26) to achieve power supply and data communication sharing between the same group of IO modules (21); Each of the IO expansion modules (2) is provided with at least two IO modules (21) connected to the PLC host (1) via the power supply external interface (22) and the communication external interface (23), thereby achieving redundant power supply and redundant communication with the PLC host (1).

2. The remote IO module communication system according to claim 1, characterized in that: In the IO expansion module (2), The external power supply interface (22) of each of the IO modules (21) connected to the PLC host (1) is respectively connected to different power supply interfaces of the PLC host (1); And / or, the external communication interfaces (23) of the various IO modules (21) connected to the PLC host (1) are respectively connected to different communication interfaces of the PLC host (1).

3. The remote IO module communication system according to claim 1, characterized in that: The PLC host (1) is provided with two or more IO expansion modules (2) in correspondence.

4. A remote IO module communication method, characterized in that: A remote IO module communication system as claimed in any one of claims 1 to 3, comprising: In each group of the IO expansion modules (2), the target IO module obtains the communication data of each of the IO modules (21) in the module where it is located, and sends the obtained communication data to the PLC host (1); The target IO module is at least one IO module (21) in the IO expansion module (2) connected to the PLC host (1).

5. The remote IO module communication method according to claim 4, characterized in that: The target IO module sends the acquired communication data to the PLC host (1), including: The target IO module determines the connection sequence of each of the IO modules (21) in the module where it is located, and arranges and combines the communication data of each of the IO modules (21) in sequence according to the connection sequence to form a first data queue; The target IO module sends the first data queue to the PLC host (1).

6. The remote IO module communication method according to claim 5, characterized in that: The target IO module determines the connection order of each of the IO modules (21) in the module where the target IO module is located, including: Obtaining the level value of each of the IO modules (21) in the IO expansion module (2); The connection sequence between the IO modules (21) in the IO expansion module (2) is determined according to the order of the level values.

7. The remote IO module communication method according to claim 5, characterized in that: The target IO module determines the connection order of each of the IO modules (21) in the module where the target IO module is located, including: Obtaining the level value of each of the IO modules (21) in the IO expansion module (2) to determine the highest level value or the lowest level value therein; The IO module (21) having the highest level value or the lowest level value determines the connection order of each IO module (21) in the IO expansion module (2) through a handshake protocol.

8. The remote IO module communication method according to claim 4, characterized in that: Also includes: When the target IO module receives the second data queue from the PLC host (1), the target IO module shares the second data queue with each of the other IO modules (21) in the IO expansion module (2) where the target IO module is located, and each of the IO modules (21) obtains its own data from the second data queue in the preset order.

9. A remote IO module communication device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the remote IO module communication method according to any one of claims 4 to 8 when running the computer program.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the remote IO module communication method according to any one of claims 4 to 8 is implemented.