Combined IO module with DP communication

By designing a combined IO module with DP communication, and using the loop control submodule to flexibly configure the digital input and output ports, the problem of input and output point mismatch caused by changes in the digital properties of IO is solved, and the flexibility and cost-effectiveness are improved.

CN222850867UActive Publication Date: 2025-05-09SHANGHAI SUNCON AUTOMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421773645.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2025-05-09
Estimated Expiration
2034-07-25

AI Technical Summary

Technical Problem

During engineering design, user needs are unclear. After the IO point is formed into a cabinet, the properties of the IO digital quantity change. Often, there are many digital input backup points but not enough digital output points, or there are many digital output points but not enough input points, resulting in high cost of increasing the board and insufficient installation location.

Method used

Design a combined IO module with DP communication, including a processor, several digital input and output modules and analog input modules. The digital input and output module controls the input and output ports through the loop control submodule, allowing each common port to be configured as a digital input port or a digital output port as required.

Benefits of technology

It improves the flexibility and expansion convenience of combined IO modules, reduces production costs, and avoids the cost and space problems of adding new modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222850867U_ABST
    Figure CN222850867U_ABST
Patent Text Reader

Abstract

The utility model belongs to the field of IO (input / output) modules, and discloses a combined IO module with DP (data processing) communication. Each digital input and output module comprises a digital input loop, a digital output loop and a loop control sub-module, the input end of the digital input loop and the connecting end of the digital output loop share a common port, the output end of the digital input loop is connected with the IO port of the processor, and the loop control sub-module is connected with the processor. The controlled end of the digital output loop is connected with the IO port of the processor; and two analog quantity input loops. The controlled end of the loop control submodule is connected with the IO port of the processor, and the loop control submodule is used for controlling the input end of the digital input loop to be connected with an external input unit or controlling the connecting end of the digital output loop to be connected with an external output unit. According to the utility model, the flexibility of the combined IO module is improved, and the combined IO module has higher expansion convenience and low production cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the field of IO modules, and in particular relates to a combined IO module with DP communication. Background Art

[0002] In various types of industrial control, it is often necessary to collect the auxiliary contact signals of buttons, switches or other devices on the remote site and the input of field sensors into the PLC in the central control room. At the same time, it is necessary to send the output signals of the PLC in the central control room (such as controlling the remote field motor contactor coil drive command, inverter start or stop, various indicator lights on the field console, abnormal alarm lights, etc.) to the field remote IO station or other similar devices through the commonly used field Profibus-DP (Decentralized Peripherals, DP for short, for distributed peripherals) bus to achieve local control or output. Since the original remote IO station with DP communication requires a communication interface module, a field IO installation frame and a bus duct, etc., the cost is high on the one hand and the space is large on the other hand. Therefore, it is very necessary to design and produce an IO module with small size, multiple functions and DP communication.

[0003] In engineering design, user needs are often unclear. After the IO points are built into the cabinet, once the digital nature of the project IO changes, for example, there are more spare digital input points, but not enough digital output points, and the completed on-site electrical cabinet itself does not have much spare space, adding a set of digital output modules will increase the cost. In addition, there is no embarrassing situation because of the increase in the installation position of the board. At this time, if there is a way to convert the redundant digital input channels into digital output channels through software modification, there is no need to add new modules. Utility Model Content

[0004] The purpose of the utility model is to provide a combined IO module with DP communication to solve the problem that user needs are often unclear during engineering design, and the nature of IO digital quantity changes after the IO points are built into the cabinet. There are often embarrassing situations such as too many spare digital input points, but not enough digital output points; or too many digital output points, but not enough digital input points. If the spare space of the on-site electrical cabinet is not enough at this time, adding boards will increase the cost on the one hand, and there will be no extra installation space for adding boards on the other hand. The present invention is a new product produced to solve the above problems.

[0005] In order to achieve the above object, the utility model adopts the following technical solution: a combined IO module with DP communication, the combined IO module comprising:

[0006] processor;

[0007] A plurality of digital input and output modules, each of which comprises: a digital input loop, a digital output loop and a loop control submodule, wherein the input end of the digital input loop and the connecting end of the digital output loop share a common port, the output end of the digital input loop is connected to the IO port of the processor, and the controlled end of the digital output loop is connected to the IO port of the processor;

[0008] The controlled end of the loop control submodule is connected to the IO port of the processor, and the loop control submodule is used to control the input end of the digital input loop to be connected to the external input unit or control the connection end of the digital output loop to be connected to the external output unit.

[0009] Preferably, the loop control submodule of each digital input / output module includes: an input selector K1 and an output selector K2;

[0010] The two connection ends of the input selector K1 are connected in series in the digital input loop, and the controlled end of the input selector K1 is connected to the IO port of the processor;

[0011] The two connection ends of the output selector K2 are connected in series to the controlled end of the digital output loop, and the controlled end of the output selector K2 is connected to the IO port of the processor.

[0012] Preferably, the combined IO module further comprises: a plurality of analog input modules, the output ends of the plurality of analog input modules are connected to the analog signal input ends of the processor.

[0013] Preferably, each analog input module includes: a resistor R3, a resistor R4, a capacitor C1 and a diode D2;

[0014] The first end of the resistor R3 is used as an analog input port, and the second end of the resistor R3 is respectively connected to the first end of the resistor R4, the positive electrode of the diode D2, the first end of the capacitor C1 and the analog signal input end of the processor;

[0015] The cathode of the diode D2 is connected to the VCC power supply, and the second end of the resistor R4 and the second end of the capacitor C1 are both grounded.

[0016] Preferably, the digital input circuit of each digital input / output module includes: a resistor R1, a resistor R2, a diode D1 and an optocoupler isolator U1;

[0017] The first end of the resistor R1 serves as the input end of the digital input loop, the second end of the resistor R1 is respectively connected to the first end of the resistor R2, the cathode of the diode D1 and the first end of the input side of the optocoupler isolator U1, and the second end of the resistor R2, the anode of the diode D1 and the second end of the input side of the optocoupler isolator U1 are all grounded;

[0018] The two connection terminals of the input selector K1 are connected in series between a common terminal formed by the second terminal of the resistor R2, the anode of the diode D1 and the second terminal of the input side of the optocoupler isolator U1 and the ground.

[0019] Preferably, the digital output circuit of each digital input and output module includes: a transistor Q1, a fuse RT, a resistor R5 and a diode D3;

[0020] The first end of the fuse RT is used as the connection end of the digital output circuit, the second end of the fuse RT is connected to the collector of the transistor Q1 and the positive electrode of the diode D3 respectively, and the negative electrode of the diode D3 is used to connect the positive electrode of the input power supply;

[0021] The base of the transistor Q1 is connected to the first end of the resistor R5, the second end of the resistor R5 is connected to the IO port of the processor, and the two connection ends of the output selector K2 are connected in series between the second end of the resistor R5 of the digital output loop and the IO port of the processor;

[0022] The emitter of the transistor Q1 is grounded.

[0023] Preferably, the digital input circuit of each digital input / output module further includes: an output disable switch K3, and the output disable switch K3 is connected in series in the digital output circuit.

[0024] Preferably, the combined IO module also includes: a power supply module, the power supply module includes: an input power supply, a diode D4 and a DC converter U2, the positive electrode of the input power supply is connected to the positive electrode of the diode D4, the negative electrode of the diode D4 is connected to the input end of the DC converter U2, and the DC converter U2 outputs a VCC power supply, and the VCC power supply is used to provide working power for the processor.

[0025] Preferably, the combined IO module further includes:

[0026] Indicator lights, connected to the IO port of the processor, the indicator lights at least including: a DP offline indicator light, a DP online indicator light, and an output disable indicator light;

[0027] A DP address switch connected to the IO port of the processor, wherein the DP address switch comprises a high switch and a low switch;

[0028] I2C module, connected to the communication port of the processor;

[0029] The DP communication module is connected to the communication port of the processor.

[0030] Beneficial effects:

[0031] The combined IO module of the present invention controls the input end of the digital input loop to be connected with the external input unit or controls the connection end of the digital output loop to be connected with the external output unit through the loop control submodule; when the input end of the digital input loop is connected with the external input unit, the common port is the digital input port; when the connection end of the digital output loop is connected with the external output unit, the common port is the digital output port; and the present invention is provided with a multi-channel digital input and output module, which has a plurality of common ports, each of which can be configured as a digital input port or a digital output port according to actual needs, thereby improving the flexibility of the combined IO module, having high expansion convenience, and low production cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings are used to provide a further understanding of the embodiments of the present utility model and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present utility model, but do not constitute a limitation on the embodiments of the present utility model. In the accompanying drawings:

[0033] Figure 1 It is a block diagram of a combined IO module with DP communication provided by one embodiment of the utility model;

[0034] Figure 2 This is a schematic diagram of a digital input / output module of a combined IO module with DP communication provided by one embodiment of the utility model;

[0035] Figure 3 It is a schematic diagram of 32 common ports of a combined IO module with DP communication provided by an embodiment of the utility model, all of which are digital input ports;

[0036] Figure 4 It is a schematic diagram of 24 common ports of a combined IO module with DP communication provided by an embodiment of the utility model as digital input ports and 8 common ports as digital output ports;

[0037] Figure 5 It is a schematic diagram of 16 common ports of a combined IO module with DP communication provided by an embodiment of the utility model as digital input ports and 16 common ports as digital output ports;

[0038] Figure 6 It is a schematic diagram of 8 common ports of a combined IO module with DP communication provided by an embodiment of the utility model as digital input ports and 24 common ports as digital output ports;

[0039] Figure 7 It is a schematic diagram showing that all 32 common ports of a combined IO module with DP communication provided by an embodiment of the utility model are digital output ports.

[0040] Description of reference numerals:

[0041] 0. Common port; 1. Shell; 2. DP offline indicator light; 3. DP online indicator light; 4. Output disable indicator light; 5. High position switch; 6. Low position switch; 7. Interface of DP communication module; 8. Output disable switch; 9. Interface of I2C module; 10. PR port; 11. 0V terminal block; 12. 24V terminal block; 13. Analog input port; 14. External input unit; 15. External output unit. DETAILED DESCRIPTION

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the utility model or the prior art, the utility model will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the utility model, but does not constitute a limitation of the utility model.

[0043] Figure 1 : is a block diagram of a combined IO module with DP communication provided by an embodiment of the present utility model, such as Figure 1 As shown, this embodiment provides a combined IO module with DP communication, and the combined IO module includes: a processor and a plurality of digital input and output modules;

[0044] Each digital input / output module includes: a digital input loop, a digital output loop and a loop control submodule, wherein the input end of the digital input loop and the connection end of the digital output loop share a common port, the output end of the digital input loop is connected to the IO port of the processor, and the controlled end of the digital output loop is connected to the IO port of the processor;

[0045] The controlled end of the loop control submodule is connected to the IO port of the processor, and the loop control submodule is used to control the input end of the digital input loop to be connected to the external input unit or control the connection end of the digital output loop to be connected to the external output unit.

[0046] In this embodiment, the combined IO module controls the input end of the digital input loop to be connected to the external input unit or controls the connection end of the digital output loop to be connected to the external output unit through the loop control submodule; when the input end of the digital input loop is connected to the external input unit, the common port is the digital input port; when the connection end of the digital output loop is connected to the external output unit, the common port is the digital output port; and the utility model is provided with a multi-channel digital input and output module, which has several common ports, each of which can be configured as a digital input port or a digital output port according to actual needs, thereby improving the flexibility of the combined IO module, having high expansion convenience, and low production cost.

[0047] As a further optimization of this embodiment, the combined IO module further includes: a plurality of analog input modules, and the output ends of the plurality of analog input modules are connected to the analog signal input ends of the processor.

[0048] In this embodiment, the analog input module can be set to two channels, which can provide two analog input channels and receive analog input. Compared with simple IO modules, the combined IO module of the utility model has low cost and smaller size.

[0049] Specifically, Figure 2 As shown, each analog input module includes: a resistor R3, a resistor R4, a capacitor C1 and a diode D2, wherein the diode D2 is used to protect the working power supply, the capacitor C1 plays a role in preventing disturbances in the analog input circuit, and the input port is used to connect an external analog device;

[0050] The first end of the resistor R3 is used as an analog input port, and the second end of the resistor R3 is respectively connected to the first end of the resistor R4, the positive electrode of the diode D2, the first end of the capacitor C1 and the analog signal input end of the processor;

[0051] The cathode of the diode D2 is connected to the VCC power supply, and the second end of the resistor R4 and the second end of the capacitor C1 are both grounded.

[0052] As a further optimization of this embodiment, Figure 2 As shown, the loop control submodule of each digital input and output module includes: an input selector K1 and an output selector K2;

[0053] The two connection ends of the input selector K1 are connected in series in the digital input loop, and the controlled end of the input selector K1 is connected to the IO port of the processor;

[0054] The two connection ends of the output selector K2 are connected in series to the controlled end of the digital output loop, and the controlled end of the output selector K2 is connected to the IO port of the processor.

[0055] As a further optimization of this embodiment, Figure 2 As shown, the digital input circuit of each digital input and output module includes: resistor R1, resistor R2, diode D1 and optocoupler isolator U1, wherein resistor R1 and resistor R2 are voltage divider resistors of the input signal, and diode D1 is used to protect the entire digital input circuit;

[0056] The first end of the resistor R1 serves as the input end of the digital input loop, the second end of the resistor R1 is respectively connected to the first end of the resistor R2, the cathode of the diode D1 and the first end of the input side of the optocoupler isolator U1, and the second end of the resistor R2, the anode of the diode D1 and the second end of the input side of the optocoupler isolator U1 are all grounded;

[0057] The two connection terminals of the input selector K1 are connected in series between a common terminal formed by the second terminal of the resistor R2, the anode of the diode D1 and the second terminal of the input side of the optocoupler isolator U1 and the ground.

[0058] As a further optimization of this embodiment, Figure 2 As shown, the digital output circuit of each digital input and output module includes: transistor Q1, fuse RT, resistor R5 and diode D3. Fuse RT is used to protect the digital output circuit to prevent the current of the digital output circuit from being too large.

[0059] The first end of the fuse RT is used as the connection end of the digital output circuit, the second end of the fuse RT is connected to the collector of the transistor Q1 and the positive electrode of the diode D3 respectively, and the negative electrode of the diode D3 is used to connect the positive electrode of the input power supply;

[0060] The base of the transistor Q1 is connected to the first end of the resistor R5, the second end of the resistor R5 is connected to the IO port of the processor, and the two connection ends of the output selector K2 are connected in series between the second end of the resistor R5 of the digital output loop and the IO port of the processor;

[0061] The emitter of the transistor Q1 is grounded.

[0062] In this embodiment, the input selector K1 and the output selector K2 can be a switch circuit composed of a relay or a triode, the input selector K1 is a normally closed switch, the output selector K2 is a normally open switch, and the controlled end of the input selector K1 and the controlled end of the output selector K2 are both connected to the same IO port of the processor MCU; for example: when the IO port of the processor MCU outputs a low level, the input selector K1 is closed and the output selector K2 is disconnected. Since the input selector K1 is closed, the common end formed by the second end of the resistor R2, the positive electrode of the diode D1 and the second end of the input side of the optocoupler isolator U1 can be connected to the ground. At this time, the digital input loop can form a path, and the digital input and output module is configured as an input mode, that is, the common port is a digital input port; in the input mode, the external input unit can be a button or a sensor. Once the external button or sensor signal is actuated, the module working power supply or the input signal external DC 24V power supply passes through the voltage divider resistor, which will cause the optocoupler isolator U1 to act, and the action signal is input into the processor MCU of the module.

[0063] When the IO port of the processor MCU outputs a high level, the input selector K1 is disconnected and the output selector K2 is closed. At this time, the common end formed by the second end of the resistor R2, the positive electrode of the diode D1 and the second end of the input side of the optocoupler isolator U1 is cut off from the ground, and the digital input loop cannot form a path; when the IO port of the processor MCU connected to one end of the output selector K2 outputs a high level, the base of the transistor Q1 is a high level, and the collector and emitter of the transistor Q1 are connected, and the common port is connected to the ground; at this time, the digital input and output module is configured as an output mode, and the external output unit can be a relay or an input power supply. One end of the coil of the relay is connected to the input power supply, and the other end of the coil is connected to the common port.

[0064] When the IO port of the processor MCU connected to one end of the output selector K2 outputs a high level, the common port is connected to the ground, current is connected to the coil of the relay, the coil is energized, and the contact switch of the relay is actuated (for example, the contact switch is closed, or the contact switch is disconnected); when the IO port of the processor MCU connected to one end of the output selector K2 outputs a low level, the common port is cut off from the ground, the coil of the relay is de-energized, and the contact switch of the relay is reset; the control of the digital output is achieved by controlling the base of the transistor Q1.

[0065] As a further optimization of this embodiment, during the debugging process, there may be a possibility that the peripheral equipment may malfunction. In order to prevent accidental equipment and personal safety accidents, the digital input circuit of each digital input and output module also includes: an output disable switch K3, and the output disable switch K3 is connected in series in the digital output circuit; for example: the connection end of the digital output circuit is replaced with the first end of the output disable switch K3, and the second end of the output disable switch K3 is connected to the first end of the fuse RT.

[0066] The output disable switch K3 of this embodiment is closed or opened manually by a staff member. When a peripheral device malfunctions, the output disable switch K3 can be opened, and the digital output circuit is cut off, thereby improving the safety of the combined IO module.

[0067] As a further optimization of this embodiment, Figure 2 As shown, the combined IO module also includes: a power supply module, the power supply module includes: an input power supply, a diode D4 and a DC converter U2, the positive electrode of the input power supply is connected to the positive electrode of the diode D4, the negative electrode of the diode D4 is connected to the input end of the DC converter U2, and the DC converter U2 outputs a VCC power supply, and the VCC power supply is used to provide working power for the processor.

[0068] In this embodiment, the input power source adopts a +24V DC power source, and the DC converter U2 is used to convert the +24V voltage into a +3.3V voltage, and the +3.3V voltage is used to provide working power for the processor.

[0069] As a further optimization of this embodiment, the combined IO module further includes: an indicator light, an address switch, an I2C module and a DP communication module;

[0070] The indicator lights are connected to the IO port of the processor, and the indicator lights at least include: a DP offline indicator light, a DP online indicator light, and an output disable indicator light;

[0071] The address switch is connected to the IO port of the processor, and the address switch includes: a high switch and a low switch;

[0072] The I2C module is connected to the communication port of the processor and is mainly used by an external computer to perform internal programming or port setting on the digital input and output module;

[0073] The DP communication module is connected to the communication port of the processor and is used for the module to perform Profibus-DP communication with other systems.

[0074] In this embodiment, the combined IO module communicates with the DP network master station through DP. A DP dedicated communication chip is added inside the combined IO module, and relevant communication software is loaded, as well as a connection interface for DP communication, a status indicator for communication with the master station, and related circuits such as the master station identifying the DP module address of the slave station (the address can be configured through the address switch). In addition, in order to realize the input of some field sensors, two channels of analog input are added to the above module, but the module generally receives 0-10V analog voltage signals. In order to write programs inside the module, a dedicated I 2 C module interface, used for communication between external programming tool computer and module.

[0075] In this embodiment, the combined IO module further includes a housing 1, such as Figure 3 As shown, the above circuits are all arranged inside the housing 1, and the common port 0 is arranged on both sides of the housing 1, that is, Figure 3 on both sides of the front and back; Figure 3 The left side of the DP is equipped with DP offline indicator 2, DP online indicator 3, output prohibition indicator 4, high switch 5, low switch 6 and DP communication module interface 7. Figure 3 The right side of the output disable switch 8 and I 2 Interface 9 of C module.

[0076] Among them, interface 7 of the DP communication module is the Profibus-DP cable connection interface for connecting the slave station. It adopts optoelectronic isolation type (independent power supply). The wiring port is a female port and needs to be configured with a male connector (i.e., a 9-pin DP connector) to be used. The combined IO module can only be used as a slave station for the Profibus-DP communication of the entire system. The address is generally configured as 2~125. Addresses 0 and 1 are used by the master station by default, and 126 and 127 are also not used by default. Its communication rate is related to the number of slave stations and the medium and distance of the communication cable from the master station to the slave station. It is generally at 9.6K~1.5M baud rate (adaptive). Its MCU data line is connected to the data line of the DP dedicated chip, the address and control signals are connected to the related signals of the DP dedicated chip, and the DIP switch signal is input to the DP communication dedicated chip.

[0077] Among them, the DP offline indicator 2 is yellow, indicating that the Profibus-DP communication network is disconnected or the communication is unavailable. When the DP offline indicator 2 is off, there is no other meaning;

[0078] When the DP online indicator 3 is green, it means that the Profibus-DP communication network is online or the communication is normal. When the DP online indicator 3 is off, it has no other meaning.

[0079] When the output disable indicator light 4 shows green light, it means that all digital output circuits of the module are cut off. At this time, the DP offline indicator light 2 and the DP online indicator light 3 flash alternately.

[0080] The high position switch 5 and the low position switch 6 are respectively the upper and lower rows of DIP switches on the left side of the housing 1, which are combined to form a seven-bit binary address (XD7D6D5D4D3D2D1) of a slave station in the Profibus-DP communication network: the high 4 bits correspond to the upper row of DIP switches in the middle left of the module, where X represents the leftmost micro switch of the high position DIP switch is not used, the second bit represents the highest bit D7 of the slave station address, and so on, D5 is the third bit of the address, and the low 4 bits D4D3D2D1 correspond to the lower row of DIP switches in the middle left of the module. D4 represents the leftmost first bit of the low position DIP switch, D3 represents the leftmost second bit of the low position DIP switch, and so on. Each micro switch of the upper and lower DIP switches is turned on when it is turned up, representing 1, otherwise it is turned off when it is turned down, indicating that the bit is 0. If you want to set the slave address to 89, the upper 3 bits are "1", "0", "1", and the lower 4 bits are "1", "0", "0", "1", that is, 1*26+0*25+1*24+1*23+0*22+0*21+1*20=64+0+16+8+0+0+1=89. When the slave is powered on, the master PLC will read the slave address at one time. During normal operation, the system will ignore the change of the address switch, which meets the requirements of the Profibus-DP protocol. That is, when the Profibus-DP module DIP address is modified online, the module must be powered off once, and the new address will take effect after it is powered on.

[0081] There is a PR port 10 at the lower left corner of the housing 1, which is used for signal and protective grounding. The housing 1 is also provided with a 0V terminal 11 and a 24V terminal 12. The 0V terminal 11 is the negative terminal of the DC24V input power supply; the 24V terminal 12 is the positive 24 volt terminal of the DC24V input power supply; there are two analog input ports 13 at the upper right corner of the housing 1.

[0082] In this embodiment, the digital input and output module is provided with 32 channels in total, and at this time, there are 32 common ports 0, and 16 common ports 0 are provided on the front and rear sides of the housing 1. At this time, all 32 common ports 0 can be configured as digital input ports, or all 32 common ports 0 can be configured as digital output ports. This embodiment is preferably configured as the following five types, one of which is Figure 3 The 32 common ports 0 shown are all digital input ports; the second Figure 4 Of the 32 common ports 0 shown, 24 common ports 0 are digital input ports, 8 common ports 0 are digital output ports, and the other three are Figure 5Of the 32 common ports 0 shown, 16 common ports 0 are digital input ports, 16 common ports 0 are digital output ports, and four of them are Figure 6 Of the 32 common ports 0 shown, 8 common ports 0 are digital input ports, 24 common ports 0 are digital output ports, and 5 of them are Figure 7 The 32 common ports 0 shown are all digital output ports; in this embodiment, when common port 0 is configured as a digital output port, common port 0 is connected to an external output unit 15, which may be a relay, and a power supply end of the external output unit 15 is connected to DC24V (24V DC power supply); when common port 0 is configured as a digital input port, common port 0 is connected to an external input unit 14, which may be a button, one end of which is connected to DC24V, and the other end of which is connected to common port 0.

[0083] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A combined IO module with DP communication, characterized in that: The combined IO module comprises: processor; A plurality of digital input and output modules, each of which comprises: a digital input loop, a digital output loop and a loop control submodule, wherein the input end of the digital input loop and the connecting end of the digital output loop share a common port, the output end of the digital input loop is connected to the IO port of the processor, and the controlled end of the digital output loop is connected to the IO port of the processor; The controlled end of the loop control submodule is connected to the IO port of the processor, and the loop control submodule is used to control the input end of the digital input loop to be connected to the external input unit or control the connection end of the digital output loop to be connected to the external output unit.

2. The combined IO module with DP communication according to claim 1, characterized in that: The combined IO module further comprises: a plurality of analog quantity input modules, the output ends of the plurality of analog quantity input modules are connected to the analog signal input ends of the processor.

3. The combined IO module with DP communication according to claim 2, characterized in that: Each analog input module includes: resistor R3, resistor R4, capacitor C1 and diode D2; The first end of the resistor R3 is used as an analog input port, and the second end of the resistor R3 is respectively connected to the first end of the resistor R4, the positive electrode of the diode D2, the first end of the capacitor C1 and the analog signal input end of the processor; The cathode of the diode D2 is connected to the VCC power supply, and the second end of the resistor R4 and the second end of the capacitor C1 are both grounded.

4. The combined IO module with DP communication according to claim 1, characterized in that: The loop control submodule of each digital input and output module includes: an input selector K1 and an output selector K2; The two connection ends of the input selector K1 are connected in series in the digital input loop, and the controlled end of the input selector K1 is connected to the IO port of the processor; The two connection ends of the output selector K2 are connected in series to the controlled end of the digital output loop, and the controlled end of the output selector K2 is connected to the IO port of the processor.

5. The combined IO module with DP communication according to claim 4, characterized in that: The digital input circuit of each digital input and output module includes: resistor R1, resistor R2, diode D1 and optocoupler isolator U1; The first end of the resistor R1 serves as the input end of the digital input loop, the second end of the resistor R1 is respectively connected to the first end of the resistor R2, the cathode of the diode D1 and the first end of the input side of the optocoupler isolator U1, and the second end of the resistor R2, the anode of the diode D1 and the second end of the input side of the optocoupler isolator U1 are all grounded; The two connection terminals of the input selector K1 are connected in series between a common terminal formed by the second terminal of the resistor R2, the anode of the diode D1 and the second terminal of the input side of the optocoupler isolator U1 and the ground.

6. The combined IO module with DP communication according to claim 4, characterized in that: The digital output circuit of each digital input and output module includes: transistor Q1, fuse RT, resistor R5 and diode D3; The first end of the fuse RT is used as the connection end of the digital output circuit, the second end of the fuse RT is connected to the collector of the transistor Q1 and the positive electrode of the diode D3 respectively, and the negative electrode of the diode D3 is used to connect the positive electrode of the input power supply; The base of the transistor Q1 is connected to the first end of the resistor R5, the second end of the resistor R5 is connected to the IO port of the processor, and the two connection ends of the output selector K2 are connected in series between the second end of the resistor R5 of the digital output loop and the IO port of the processor; The emitter of the transistor Q1 is grounded.

7. The combined IO module with DP communication according to claim 6, characterized in that: The digital output circuit of each digital input and output module further includes: an output disable switch K3, and the output disable switch K3 is connected in series in the digital output circuit.

8. The combined IO module with DP communication according to claim 1, characterized in that: The combined IO module also includes: a power supply module, which includes: an input power supply, a diode D4 and a DC converter U2, wherein the positive electrode of the input power supply is connected to the positive electrode of the diode D4, the negative electrode of the diode D4 is connected to the input end of the DC converter U2, and the DC converter U2 outputs a VCC power supply, which is used to provide working power for the processor.

9. The combined IO module with DP communication according to claim 1, characterized in that: The combined IO module also includes: Indicator lights, connected to the IO port of the processor, the indicator lights at least including: a DP offline indicator light, a DP online indicator light, and an output disable indicator light; A DP address switch connected to the IO port of the processor, wherein the DP address switch comprises a high switch and a low switch; I2C module, connected to the communication port of the processor; The DP communication module is connected to the communication port of the processor.