PLC (Programmable Logic Controller) capable of diagnosing extended IO (Input / Output) state
By integrating the management signal output circuit and communication interface in the PLC controller, real-time monitoring and fault diagnosis of the PLC extended IO interface are realized, which solves the problem of the inability to detect the IO interface status in real time in the existing technology and improves the stability of the system. and reliability.
Patent Information
- Application Number
- CN202420635357.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2034-03-29
AI Technical Summary
Existing PLC controllers cannot achieve real-time monitoring and management in extended IO interface fault diagnosis. They mainly rely on physical connection inspection and cannot effectively detect the IO interface status.
A PLC controller including PLC core board, CPU, RAM, FLASH, digital input/output circuit, analog input/output circuit, management signal output circuit and communication interface is designed. The CPU and expansion are realized through the management signal output circuit. Communication between IO interfaces, real-time monitoring of IO interface status and fault diagnosis.
It realizes real-time monitoring of IO interface status and diagnosis of fault status, improves the stability and reliability of the system, and can perform data conversion and input and output acquisition and control under different bus types and protocols.
Smart Images

Figure CN221926984U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of PLC controllers, in particular to a PLC controller capable of diagnosing an extended IO state. Background Art
[0002] Programmable logic controller is a digital operation electronic system designed for use in industrial environments. It uses a programmable memory to store instructions for performing logical operations, sequential control, timing, counting and arithmetic operations, and can be used in various industrial automation control systems, such as production lines, mechanical equipment, building automation, etc. Through PLC expansion modules, more complex and flexible control logic can be achieved, improving the reliability and stability of the control system.
[0003] However, most methods for diagnosing extended IO interface faults are to check the physical connection after a fault occurs, check the power supply, cable, network cable, serial port and other connections, or check the communication settings and parameters. It is impossible to achieve real-time monitoring and management of the IO interface. Therefore, a PLC controller that can diagnose the extended IO status is proposed. Utility Model Content
[0004] In order to solve the above problems, that is, to solve the problems raised by the above background technology, the utility model proposes a PLC controller capable of diagnosing the extended IO status, which includes a PLC core board and an external device electrically connected to the core board, the PLC core board includes a CPU, and the CPU is also connected to a RAM and a FLASH respectively, characterized in that: the PLC core board is respectively connected to a digital input / output circuit, an analog input / output circuit, a management signal output circuit and a communication interface;
[0005] The management signal output circuit is used to connect to an external extended IO interface and to transmit management signals between the CPU and the extended IO interface. An isolated power supply for powering itself is provided inside the management signal output circuit.
[0006] The utility model is further configured as follows: the communication interface is a RS232 / 485 transceiver, a CAN transceiver and an Ethernet transceiver.
[0007] The utility model is further configured as follows: the digital quantity input circuit is used to convert the switch quantity signal into a signal form recognizable by a computer, and the digital quantity output circuit is used to convert the switch quantity signal represented by the binary code output by the computer into a switch quantity signal of a control or display state.
[0008] The utility model is further configured as follows: the analog input circuit is used to convert the analog quantity of the controlled object into a digital signal that can be recognized by the computer, and the analog output circuit converts the output digital signal of the computer into an analog signal that can be accepted by an external control instrument or device.
[0009] The utility model is further configured as follows: the number of the extended IO interfaces is 1 to 32.
[0010] The utility model is further configured as follows: the FLASH includes NANDFLASH and SPIFLASH.
[0011] The beneficial technical effects of the utility model are as follows: the utility model integrates digital input / output circuits, analog input / output circuits, management signal output circuits and communication interfaces to realize the mutual conversion of different bus types and different protocol data as well as the collection and control of digital and analog input and output, and has portability and reusability. By adding management signals, real-time monitoring of the IO interface access status and diagnosis of fault status can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 Shown is a schematic diagram of the structure of the utility model. DETAILED DESCRIPTION
[0013] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0014] The utility model proposes a PLC controller capable of diagnosing an extended IO state, comprising a PLC core board and an external device electrically connected to the core board, wherein the PLC core board comprises a CPU, the CPU is further connected to a RAM and a FLASH, and the PLC core board is respectively connected to a digital quantity input / output circuit, an analog quantity input / output circuit, a management signal output circuit and a communication interface;
[0015] The management signal output circuit is used to connect the external extended IO interface and to transmit the management signal between the CPU and the extended IO interface, to realize the communication between the CPU and the IO interface, to query the status of the IO interface in real time, and then to judge whether the IO interface is faulty through the working status of the IO interface. The management signal output circuit is internally provided with an isolated power supply for powering itself, which not only serves the function of powering itself but also plays an isolation role, avoiding interference of the IO interface power supply, and making the overall system more stable.
[0016] The communication interface is RS232 / 485 transceiver, CAN transceiver and Ethernet transceiver, wherein RS232 / 485 transceiver is used to connect external sensors or modbus devices, etc., CAN transceiver is used to connect external distributed IO, etc., and Ethernet transceiver is used to connect HMI monitoring system, etc.
[0017] The digital quantity input circuit is used to convert the switch quantity signal into a signal form recognizable by the computer, such as the switch quantity status of the limit switch, relay, motor and indicator light on site. The digital quantity output circuit is used to convert the switch quantity signal represented by the binary code output by the computer into a switch quantity signal of the control or display status, such as the on / off of the indicator light on site, the start / stop of the motor, the opening / closing of the valve, the on / off of the relay and other switch quantity status control and status display.
[0018] The analog input circuit is used to convert the analog quantity of the controlled object into a digital signal that can be recognized by the computer, and the analog output circuit converts the output digital signal of the computer into an analog signal that can be accepted by an external control instrument or device, such as a pressure transmitter, a liquid level sensor, a control valve opening, a fan speed, etc.
[0019] The number of the extended IO interfaces is 1 to 32.
[0020] The FLASH includes NANDFLASH and SPIFLASH, which has the advantages of large capacity and fast rewriting speed, is suitable for storing a large amount of data, and has high storage density and low cost.
[0021] Although the present invention has been described with reference to preferred embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present invention. In particular, the various technical features mentioned in the various embodiments may be combined in any manner as long as there is no structural conflict. The present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
[0022] In the description of the present invention, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings, which are only for the convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0023] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0024] The term "comprise" or any other similar term is intended to cover a non-exclusive inclusion, such that a process, article, or apparatus / device that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, article, or apparatus / device.
[0025] So far, the technical solution of the present invention has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A PLC controller capable of diagnosing extended IO status, comprising a PLC core board and an external device electrically connected to the core board, wherein the PLC core board comprises a CPU, and the CPU is further connected to a RAM and a FLASH, respectively, and is characterized in that: The PLC core board is respectively connected with a digital quantity input / output circuit, an analog quantity input / output circuit, a management signal output circuit and a communication interface; The management signal output circuit is used to connect to an external extended IO interface and to transmit management signals between the CPU and the extended IO interface. An isolated power supply for powering itself is provided inside the management signal output circuit.
2. A PLC controller capable of diagnosing extended IO status according to claim 1, characterized in that: The communication interface is a RS232 / 485 transceiver, a CAN transceiver and an Ethernet transceiver.
3. A PLC controller capable of diagnosing extended IO status according to claim 1, characterized in that: The digital quantity input / output circuit is used to convert the switch quantity signal into a signal form recognizable by the computer, or to convert the switch quantity signal represented by the binary code output by the computer into a switch quantity signal for controlling or displaying the status.
4. A PLC controller capable of diagnosing extended IO status according to claim 1, characterized in that: The analog input / output circuit is used to convert the analog quantity of the controlled object into a digital signal that can be recognized by the computer, or to convert the output digital signal of the computer into an analog signal that can be accepted by an external control instrument or device.
5. A PLC controller capable of diagnosing extended IO status according to claim 1, characterized in that: The number of the extended IO interfaces is 1 to 32.
6. A PLC controller capable of diagnosing extended IO status according to claim 1, characterized in that: The FLASH includes NANDFLASH and SPIFLASH.
