PLC controller with gateway function

By designing a PLC controller with gateway function, the problem that the PLC controller cannot perform integrated management of multiple external devices is solved, efficient control and remote management of multiple devices is achieved, control efficiency is improved and power supply is simplified .

CN222259900UActive Publication Date: 2024-12-27SHANGHAI YUANKONG AUTOMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421160828.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-12-27
Estimated Expiration
2034-05-24

AI Technical Summary

Technical Problem

Current PLC controllers cannot integrate management of multiple external devices, resulting in inefficient control.

Method used

A PLC controller with gateway function was designed, including PLC circuits, equipment wiring modules, power wiring modules, control boards and gateway modules. These modules realize the control and management of multiple external devices, allowing computer equipment to remotely control the external. equipment.

Benefits of technology

It realizes integrated management of multiple external devices, improves control efficiency, and simultaneously supplies power to multiple external devices through a PLC controller, simplifying power supply line layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222259900U_ABST
    Figure CN222259900U_ABST
Patent Text Reader

Abstract

The utility model provides a PLC controller with a gateway function. The PLC controller comprises a PLC circuit, at least one equipment wiring module, a power supply wiring module, a control panel, a gateway module and a housing. The PLC circuit is connected with at least one device wiring module, and the device wiring module is used for being connected with at least one external device. The PLC circuit is connected with the power supply wiring module, and the power supply wiring module is used for being connected with power supply equipment; the PLC circuit is connected with the control panel, and the control panel is used for controlling the PLC circuit; the PLC circuit is connected with the gateway module, and the gateway module is used for being connected with computer equipment; the PLC circuit is fixed in the shell, the at least one equipment wiring module is fixed on the upper side of the exterior of the shell, and the power supply wiring module, the control panel and the gateway module are fixed on the lower side of the exterior of the shell. According to the invention, integrated management of the plurality of external devices is realized, and the control efficiency of the plurality of devices is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a PLC controller with a gateway function. Background Art

[0002] PLC controller (Programmable Logic Controller) is a type of programmable memory used to store programs internally, execute user-oriented instructions such as logical operations, sequential control, timing, counting and arithmetic operations, and control various types of machinery or production processes through digital or analog input / output.

[0003] However, the inventors have found that the current PLC controller can only control one external device, but cannot control multiple external devices at the same time, resulting in the inability to perform integrated management of multiple external devices, which reduces the control efficiency of the external devices. Utility Model Content

[0004] The present application provides a PLC controller with a gateway function, which is used to solve the problem that the current PLC controller cannot perform integrated management of multiple external devices, thereby reducing the control efficiency of the external devices.

[0005] The present application provides a PLC controller with a gateway function, comprising: a PLC circuit, at least one device wiring module, a power wiring module, a control board, a gateway module and a housing;

[0006] The PLC circuits are respectively connected to at least one of the device wiring modules, and the device wiring module is used to connect to at least one external device;

[0007] The PLC circuit is connected to the power wiring module, and the power wiring module is used to connect to the power supply equipment;

[0008] The PLC circuit is connected to the control board, and the control board is used to control the PLC circuit;

[0009] The PLC circuit is connected to the gateway module, and the gateway module is used to connect to a computer device;

[0010] The PLC circuit is fixed inside the shell, at least one of the device wiring modules is fixed on the upper side outside the shell, and the power wiring module, the control board and the gateway module are fixed on the lower side outside the shell.

[0011] In the above scheme, the PLC circuit includes: an input module, a central processing unit, a control memory, an output module and a main board;

[0012] The input modules are respectively connected to at least one of the device wiring modules;

[0013] The central processing unit is connected to the input module;

[0014] The control memory is connected to the central processing unit;

[0015] The output modules are respectively connected to at least one of the device wiring modules, and the output modules are also connected to the central processing unit;

[0016] The input module, the central processing unit, the control memory and the output module are respectively fixed on the main board.

[0017] In the above solution, the PLC circuit further includes: a power supply module;

[0018] The power module is fixed on the mainboard;

[0019] The power supply module is connected to the central processing unit and the control memory respectively.

[0020] In the above solution, the equipment wiring module includes: an equipment installation block, at least one equipment wiring group and at least one equipment protection device;

[0021] The equipment mounting block is fixed on the housing, and one of the equipment wiring groups is connected to one of the equipment protection devices;

[0022] The device wiring group includes: at least one device wiring terminal and one device grounding terminal;

[0023] The device wiring terminal is connected to the input module and the output module of the PLC circuit, and the device wiring terminal is connected to the signal interface of the external device;

[0024] The equipment grounding terminal is connected to the grounding wire of the external equipment;

[0025] At least one of the device connecting terminals is respectively connected to one of the device protection devices.

[0026] In the above solution, the power wiring module includes: a power installation block, a power input terminal group, a power ground terminal and a power protection device;

[0027] The power supply mounting block is fixed on the housing, and the power supply input terminal group and the power supply ground terminal are fixed on the power supply mounting block;

[0028] The power input terminal group is connected to the power supply device, and the power input terminal is also connected to the PLC circuit;

[0029] The device wiring module has a power output terminal group, the power input terminal group is also connected to the power output terminal group, and the power output terminal group is used to connect to an external device;

[0030] The power grounding terminal is connected to the power supply device, and the power grounding terminal is connected to the grounding pin of the PLC circuit, and the power grounding terminal is also connected to the device grounding terminal;

[0031] The power protection device is respectively connected to at least one power input terminal in the power input terminal group.

[0032] In the above solution, the control panel includes: a control installation block, at least one button and at least one indicator light;

[0033] The control installation block is fixed on the housing, and at least one of the buttons and at least one of the indicator lights are respectively fixed on the control installation block;

[0034] The button is connected to the PLC circuit;

[0035] At least one of the indicator lights includes: a power indicator light and at least one device indicator light;

[0036] The power indicator light is connected to the power input terminal group;

[0037] One of the device indicator lights is connected to one of the device wiring terminal groups.

[0038] In the above solution, the control panel further comprises: a control panel and a control interface;

[0039] The control panel and the control interface are respectively fixed on the control mounting block;

[0040] The control panel is connected to the PLC circuit;

[0041] The control interface is connected to the PLC circuit.

[0042] In the above solution, the gateway module includes: a gateway installation block, at least one communication interface, a gateway processing unit and a gateway memory;

[0043] The gateway mounting block is fixed on the housing;

[0044] At least one of the communication interfaces is fixed to the gateway mounting block;

[0045] The gateway processing unit is respectively connected to at least one of the communication interfaces;

[0046] The gateway processing unit is also connected to the gateway memory.

[0047] The above scheme further includes: a fan;

[0048] The fan is fixed on the PLC circuit.

[0049] In the above solution, the housing includes: at least one upper vent, at least one lower vent, at least one left vent and at least one right vent;

[0050] The upper vent is located on the upper side of the housing and corresponds to the device wiring module;

[0051] The lower vent is located at the lower side of the housing and corresponds to the power wiring module, the control board and the gateway module;

[0052] The left vent is located on the left side of the shell, and the right vent is located on the right side of the shell.

[0053] The present application provides a PLC controller with a gateway function, which achieves the beneficial effect of controlling multiple external devices through a PLC circuit, realizes integrated management of multiple external devices, and improves the control efficiency of multiple devices; at the same time, it also achieves the beneficial effect of remotely controlling multiple external devices through a computer device via a PLC circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0055] Figure 1 A schematic diagram of the structure of a PLC controller with a gateway function provided in this application;

[0056] Figure 2 A schematic block diagram of the structure of a PLC circuit, a device wiring module, a power wiring module, a control panel, a gateway module and a fan in a PLC controller with a gateway function provided in the present application.

[0057] Reference numerals:

[0058] 1: PLC circuit;

[0059] 2: Equipment wiring module;

[0060] 3: Power wiring module;

[0061] 4: Control panel;

[0062] 5: Gateway module;

[0063] 6: Shell;

[0064] 7: Fan;

[0065] 11: Input module;

[0066] 12: Central processing unit;

[0067] 13: Control memory;

[0068] 14: Output module;

[0069] 15: Mainboard;

[0070] 16: Power module;

[0071] 21: Equipment installation block;

[0072] 22: Equipment wiring group;

[0073] 23: Equipment protection device;

[0074] 24: Power output terminal group;

[0075] 221: Equipment terminal;

[0076] 222: Equipment grounding terminal;

[0077] 31: Power supply mounting block;

[0078] 32: Power input terminal group;

[0079] 33: Power ground terminal;

[0080] 34: Power supply protection device;

[0081] 41: control mounting block;

[0082] 42: Button;

[0083] 43: indicator light;

[0084] 44: Control panel;

[0085] 45: control interface;

[0086] 431: Power indicator light;

[0087] 432: Equipment indicator light;

[0088] 51: Gateway installation block;

[0089] 52: Communication interface;

[0090] 53: Gateway processing unit;

[0091] 54: Gateway memory;

[0092] 61: upper vent;

[0093] 62: lower vent;

[0094] 63: Left vent;

[0095] 64: Right vent.

[0096] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0097] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.

[0098] The following specific embodiments are used to describe in detail the technical solutions of the embodiments of the present application and how the technical solutions of the embodiments of the present application solve the current problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0099] See also Figure 1 and Figure 2 , the embodiment of the present application provides a PLC controller with a gateway function, including: a PLC circuit 1, at least one device wiring module 2, a power wiring module 3, a control board 4, a gateway module 5 and a housing 6;

[0100] The PLC circuit 1 is respectively connected to at least one of the device wiring modules 2, and the device wiring module 2 is used to connect to at least one external device;

[0101] The PLC circuit 1 is connected to the power wiring module 3, and the power wiring module 3 is used to connect to a power supply device;

[0102] The PLC circuit 1 is connected to the control board 4, and the control board 4 is used to control the PLC circuit 1;

[0103] The PLC circuit 1 is connected to the gateway module 5, and the gateway module 5 is used to connect to a computer device;

[0104] The PLC circuit 1 is fixed inside the shell 6 , at least one of the device wiring modules 2 is fixed on the upper side outside the shell 6 , and the power wiring module 3 , the control board 4 and the gateway module 5 are fixed on the lower side outside the shell 6 .

[0105] In this example, by setting the PLC circuit 1 to control the external device through the device wiring module 2, the beneficial effect of controlling multiple external devices separately with only one PLC controller is achieved. The PLC (Programmable Logic Controller) circuit is a digital operation electronic system specially designed for industrial environments, which is used to monitor and control mechanical, electrical and electronic equipment in the production process. It uses a programmable memory to realize the automatic operation of the equipment through pre-written program instructions.

[0106] By connecting the power supply device to the power wiring module 3, the PLC circuit 1 can power itself and external devices through the power wiring module 3, achieving the technical effect of simultaneously powering multiple external devices with only one power supply and one PLC controller, avoiding the situation where each external device requires an independent power supply, resulting in cumbersome power line layout of the external devices.

[0107] The control panel 4 is provided to facilitate workers to operate the PLC circuit 1 by operating the control panel 4 , thereby providing convenience for workers to obtain the operating status of external devices, the connection status of external devices and power devices, and the operating status of external devices.

[0108] By setting up the gateway module 5, it is convenient to operate the PLC circuit 1 through the computer device, and to control the external device through the PLC circuit 1, thereby achieving the beneficial effect of remotely controlling the external device.

[0109] By providing the housing 6 , external dust and dirt are prevented from contacting the PLC circuit 1 , thereby ensuring the safety of the PLC circuit 1 .

[0110] Therefore, the present application achieves the beneficial effect of controlling multiple external devices through a PLC circuit 1, realizes integrated management of multiple external devices, and improves the control efficiency of multiple devices; at the same time, it also achieves the beneficial effect of remotely controlling multiple external devices through computer equipment via the PLC circuit 1.

[0111] In a preferred embodiment, the PLC circuit 1 comprises: an input module 11, a central processing unit 12, a control memory 13, an output module 14 and a mainboard 15;

[0112] The input modules 11 are respectively connected to at least one of the device wiring modules 2;

[0113] The central processing unit 12 is connected to the input module 11;

[0114] The control memory 13 is connected to the central processing unit 12;

[0115] The output module 14 is respectively connected to at least one of the device wiring modules 2, and the output module 14 is also connected to the central processing unit 12;

[0116] The input module 11 , the central processing unit 12 , the control memory 13 and the output module 14 are respectively fixed on the mainboard 15 .

[0117] In this example, the input module 11 is used to receive signals from external devices (eg, sensors, switches, relays or other devices). These signals may be digital signals (eg, switch states) or analog signals (eg, temperature sensor outputs).

[0118] The central processing unit 12 (CPU) is used to execute user-programmed instructions, process input signals, and control output signals according to programmed logic. The CPU is also responsible for communicating with other components (such as control memory 13 and communication modules).

[0119] The control memory 13 is used to store user-written programs, data and system parameters. The control memory 13 generally includes a RAM (random access control memory 13) for storing programs and data, and a ROM (read-only control memory 13) for storing system firmware and initialization programs.

[0120] Output module 14: controls external devices according to the instructions of the CPU, and controls external actuators or external devices through the external devices, such as electric motors, valves, and lights. The output module 14 converts the control signal generated by the CPU into an appropriate form to drive the external device.

[0121] The mainboard 15 is an accessory for carrying the central processing unit 12 , the control memory 13 , the input module 11 and the output module 14 , and the mainboard 15 is fixed inside the housing.

[0122] In a preferred embodiment, the PLC circuit 1 further includes: a power supply module 16 .

[0123] The power module 16 is fixed on the main board 15;

[0124] The power module 16 is connected to the central processing unit 12 and the control memory 13 respectively.

[0125] In this example, the power module 16 is a power supply that can be directly mounted on a printed circuit board, and is characterized in that it can provide power for an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a microprocessor, a memory, a field programmable gate array (FPGA) and other digital or analog loads. The power module 16 is used to forward the power sent by the power supply device to the central processor and the control memory 13.

[0126] The power module 16 is fixed on the mainboard 15 .

[0127] In a preferred embodiment, the device wiring module 2 comprises: an equipment installation block 21, at least one equipment wiring group 22 and at least one equipment protection device 23;

[0128] The device mounting block 21 is fixed on the housing 6, and one of the device wiring groups 22 is connected to one of the device protection devices 23;

[0129] The device wiring group 22 includes: at least one device wiring terminal 221 and one device grounding terminal 222;

[0130] The device connection terminal 221 is connected to the input module 11 and the output module 14 of the PLC circuit 1, and the device connection terminal 221 is connected to the signal interface of the external device;

[0131] The device grounding terminal 222 is connected to the grounding wire of the external device;

[0132] At least one of the device connecting terminals 221 is respectively connected to one of the device protection devices 23 .

[0133] In this instance, a terminal block is a socket or interface for connecting external cables or wires. These terminals typically have a screw or spring clamp mechanism to ensure a secure connection.

[0134] The device connection terminal 221 is plug-in-connected with the input port and the output port and the input module 11 and the output module 14, so that the connection terminal module can be easily installed and replaced.

[0135] The ground connection is used to connect the ground wire of external equipment to ensure the safe operation of the system.

[0136] The device protection device 23 includes a fuse or an overvoltage protector, and the protection device is used to protect the external device from electrical faults or overloads.

[0137] In a preferred embodiment, the power wiring module 3 includes: a power installation block 31, a power input terminal group 32, a power ground terminal 33 and a power protection device 34;

[0138] The power installation block 31 is fixed on the housing 6, and the power input terminal group 32 and the power ground terminal 33 are fixed on the power installation block 31;

[0139] The power input terminal group 32 is connected to the power supply device, and the power input terminal is also connected to the PLC circuit 1;

[0140] The device wiring module 2 has a power output terminal group 24, and the power input terminal group 32 is also connected to the power output terminal group 24, and the power output terminal group 24 is used to connect to an external device;

[0141] The power ground terminal is connected to the power supply device, and the power ground terminal 33 is connected to the ground pin of the PLC circuit 1, and the power ground terminal 33 is also connected to the device ground terminal 222;

[0142] The power protection device 34 is respectively connected to at least one power input terminal in the power input terminal group 32 .

[0143] In this example, the power input terminal group 32 has at least one power input terminal, which is used to connect a power input line, usually a power line from a power harness or a power socket. These terminals usually have screws, spring clamping mechanisms or other connection methods to ensure a stable connection. The power input terminal is connected to the power module 16 in the PLC circuit 1 to ensure the operation of the PLC circuit 1.

[0144] The power output terminal group 24 has at least one power output terminal, which is used to connect to the power input interface of the external device. These terminals provide power to the external device to ensure its normal operation.

[0145] The power ground terminal 33 is used to connect the ground pin of the PLC circuit 1 and the ground wire of the external device to ensure the safe operation and grounding protection of the PLC circuit 1 and the external device. The ground terminal is usually a grounding slot or screw connected to the power ground wire.

[0146] The power supply protection device 34 includes an overcurrent protection device and / or an overvoltage protection device to ensure that the external power supply safely supplies power to the PLC circuit 1 and external devices.

[0147] In a preferred embodiment, the control panel 4 includes: a control installation block 41, at least one button 42 and at least one indicator light 43;

[0148] The control installation block 41 is fixed on the housing 6 , and at least one of the buttons 42 and at least one of the indicator lights 43 are respectively fixed on the control installation block 41 .

[0149] The button 42 is connected to the PLC circuit 1;

[0150] The at least one indicator light 43 includes: a power indicator light 431 and at least one device indicator light 432;

[0151] The power indicator light 431 is connected to the power input terminal group 32;

[0152] One of the device indicator lights 432 is connected to one of the device connection terminals 221 .

[0153] In this example, the key 42 is a button or switch for inputting a control command or an operation signal. These keys 42 may be touch-type, mechanical, membrane-type or other types. The keys 42 usually have different shapes, colors and logos so that users can easily identify and operate them.

[0154] The indicator light 43 is used to display the connection status between the power input terminal group 32 and the power supply device, and the connection status between each device connection terminal group 221 and each external device.

[0155] For example, a red LED indicator light 43 indicates a disconnected state, and a green LED indicator light 43 indicates a connected state.

[0156] In a preferred embodiment, the control panel 4 further includes: a control panel 44 and a control interface 45;

[0157] The control panel 44 and the control interface 45 are respectively fixed on the control mounting block 41;

[0158] The control panel 44 is connected to the PLC circuit 1;

[0159] The control interface 45 is connected to the PLC circuit 1 .

[0160] In this example, the control interface 45 is used to connect the control button 42 board to the interface of the PLC circuit 1. The control interface 45 is a serial port, which is an interface for communication between a computer and an external device, also known as a serial communication interface 52 or a serial communication interface (usually referred to as a COM interface). Common serial ports include RS232 and RS4853. Serial ports can be used to transmit data such as text, images, sounds and videos, and can also be used to control external devices such as relays, controllers and printers.

[0161] The control panel 44 is a liquid crystal panel used to display the operating status of external devices. The PLC circuit 1 controls the external devices through the connection with the external devices, obtains the current operating status of the external devices, and sends the operating status to the control panel 44 for display. The user can also operate the control panel 44 to send control instructions to the PLC circuit 1, and the PLC circuit 1 controls the external devices corresponding to the control instructions according to the control instructions.

[0162] In a preferred embodiment, the gateway module 5 includes: a gateway installation block 51, at least one communication interface 52, a gateway processing unit 53 and a gateway memory 54;

[0163] The gateway mounting block 51 is fixed on the housing 6;

[0164] At least one of the communication interfaces 52 is fixed on the gateway mounting block 51;

[0165] The gateway processing unit 53 is respectively connected to at least one of the communication interfaces 52;

[0166] The gateway processing unit 53 is also connected to the gateway memory 54;

[0167] The gateway processing unit 53 is also connected to the central processing unit 12 .

[0168] In this example, the communication interface 52 is used to connect to different types of networks or communication devices to achieve connection with computer devices. These interfaces can be Ethernet ports, serial interfaces (such as RS-232, RS-485), wireless communication interfaces 52 (such as Wi-Fi, Bluetooth) or interfaces of other communication protocols.

[0169] The gateway processing unit 53 is a central processing unit or microcontroller for processing data transmission and conversion. The processing unit usually performs tasks such as protocol conversion, data packet analysis and data processing.

[0170] The gateway memory 54 is used to store configuration files, routing tables and other necessary data. The memory can be a storage device of the type of flash memory, RAM or EEPROM.

[0171] The gateway processing unit 53 is connected to the central processing unit 12 so that the computer device can exchange information with the central processing unit 12 through the communication interface 52 and the gateway processing unit 53 to achieve control of external devices.

[0172] In a preferred embodiment, it further comprises: a fan 7;

[0173] The fan 7 is fixed on the PLC circuit 1 .

[0174] In this example, the fan 7 is used to dissipate the heat on the PLC circuit 1 to reduce the temperature of the PLC circuit 1 and ensure the service life of the PLC circuit 1.

[0175] The fan 7 is fixed on the main board 15 of the PLC circuit 1. The fan 7 is connected to the power module 16 on the main board 15. The fan 7 is also connected to the central processing unit 12 of the PLC circuit 1. The central processing unit is used to control the on and off of the fan 7. The power module 16 is used to provide electrical energy to the fan 7.

[0176] In a preferred embodiment, the housing 6 includes: at least one upper vent 61, at least one lower vent 62, at least one left vent 63 and at least one right vent 64;

[0177] The upper vent 61 is located on the upper side of the housing 6 and corresponds to the device wiring module 2;

[0178] The lower vent 62 is located at the lower side of the housing 6 and corresponds to the power wiring module 3, the control board 4 and the gateway module 5;

[0179] The left vent 63 is located on the left side of the shell 6 , and the right vent 64 is located on the right side of the shell 6 .

[0180] In this example, since the device wiring module 2, the power wiring module 3, the control board 4 and the gateway module 5 are connected to the PLC circuit 1, as well as to external devices and computer equipment, these places are also heat sources.

[0181] Therefore, by setting the upper vents 61 and the lower vents 62, the heat source mentioned above can be dissipated in a focused manner, which helps to improve the service life and stability of the PLC controller of the present application; by setting the left vents 63 and the right vents 64, the air flow between the inside of the shell 6 and the outside world can be further improved, thereby ensuring the service life and stability of the PLC controller.

[0182] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0183] Those skilled in the art will readily come to other embodiments of the present application after considering the specification and practicing the utility model disclosed herein. The present application embodiment is intended to cover any variation, use or adaptation of the present application embodiment, which follows the general principles of the present application embodiment and includes common knowledge or customary technical means in the art that are not disclosed in the present application embodiment. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present application embodiment are indicated by the following claims.

[0184] It should be understood that the embodiments of the present application are not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the appended claims.

Claims

1. A PLC controller with gateway function, characterized in that: include: a PLC circuit, at least one device wiring module, a power wiring module, a control board, a gateway module and a housing; The PLC circuits are respectively connected to at least one of the device wiring modules, and the device wiring module is used to connect to at least one external device; The PLC circuit is connected to the power wiring module, and the power wiring module is used to connect to the power supply equipment; The PLC circuit is connected to the control board, and the control board is used to control the PLC circuit; The PLC circuit is connected to the gateway module, and the gateway module is used to connect to a computer device; The PLC circuit is fixed inside the shell, at least one of the device wiring modules is fixed on the upper side outside the shell, and the power wiring module, the control board and the gateway module are fixed on the lower side outside the shell.

2. The PLC controller according to claim 1, characterized in that: The PLC circuit includes: an input module, a central processing unit, a control memory, an output module and a mainboard; The input modules are respectively connected to at least one of the device wiring modules; The central processing unit is connected to the input module; The control memory is connected to the central processing unit; The output modules are respectively connected to at least one of the device wiring modules, and the output modules are also connected to the central processing unit; The input module, the central processing unit, the control memory and the output module are respectively fixed on the main board.

3. The PLC controller according to claim 2, characterized in that: The PLC circuit also includes: a power supply module; The power module is fixed on the mainboard; The power supply module is connected to the central processing unit and the control memory respectively.

4. The PLC controller according to claim 1, characterized in that: The equipment wiring module includes: an equipment installation block, at least one equipment wiring group and at least one equipment protection device; The equipment mounting block is fixed on the housing, and one of the equipment wiring groups is connected to one of the equipment protection devices; The device wiring group includes: at least one device wiring terminal and one device grounding terminal; The device wiring terminal is connected to the input module and the output module of the PLC circuit, and the device wiring terminal is connected to the signal interface of the external device; The equipment grounding terminal is connected to the grounding wire of the external equipment; At least one of the device connecting terminals is respectively connected to one of the device protection devices.

5. The PLC controller according to claim 4, characterized in that: The power wiring module includes: a power installation block, a power input terminal group, a power ground terminal and a power protection device; The power supply mounting block is fixed on the housing, and the power supply input terminal group and the power supply ground terminal are fixed on the power supply mounting block; The power input terminal group is connected to the power supply device, and the power input terminal is also connected to the PLC circuit; The device wiring module has a power output terminal group, the power input terminal group is also connected to the power output terminal group, and the power output terminal group is used to connect to an external device; The power grounding terminal is connected to the power supply device, and the power grounding terminal is connected to the grounding pin of the PLC circuit, and the power grounding terminal is also connected to the device grounding terminal; The power protection device is respectively connected to at least one power input terminal in the power input terminal group.

6. The PLC controller according to claim 5, characterized in that: The control panel includes: a control installation block, at least one button and at least one indicator light; The control installation block is fixed on the housing, and at least one of the buttons and at least one of the indicator lights are respectively fixed on the control installation block; The button is connected to the PLC circuit; At least one of the indicator lights includes: a power indicator light and at least one device indicator light; The power indicator light is connected to the power input terminal group; One of the device indicator lights is connected to one of the device wiring terminals.

7. The PLC controller according to claim 6, characterized in that: The control panel also includes: a control panel and a control interface; The control panel and the control interface are respectively fixed on the control mounting block; The control panel is connected to the PLC circuit; The control interface is connected to the PLC circuit.

8. The PLC controller according to claim 1, characterized in that: The gateway module includes: a gateway installation block, at least one communication interface, a gateway processing unit and a gateway memory; The gateway mounting block is fixed on the housing; At least one of the communication interfaces is fixed to the gateway mounting block; The gateway processing unit is respectively connected to at least one of the communication interfaces; The gateway processing unit is also connected to the gateway memory.

9. The PLC controller according to claim 1, characterized in that: Also includes: A fan; The fan is fixed on the PLC circuit.

10. The PLC controller according to claim 1, characterized in that: The housing comprises: at least one upper vent, at least one lower vent, at least one left vent and at least one right vent; The upper vent is located on the upper side of the housing and corresponds to the device wiring module; The lower vent is located at the lower side of the housing and corresponds to the power wiring module, the control board and the gateway module; The left vent is located on the left side of the shell, and the right vent is located on the right side of the shell.