A working status indicator device that saves PLC ports
By decoding and combining level signals using a microcontroller to drive a tri-color LED, the problem of limited PLC port resources is solved, enabling clear expression of multiple status indicators and device stability, while reducing cost and complexity.
Patent Information
- Application Number
- CN202522723705.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2035-12-23
AI Technical Summary
Traditional PLCs have limited port resources, which means that additional modules are needed when multiple states need to be indicated, increasing costs and complexity, and reducing system reliability.
The microcontroller is configured with three I/O ports as input terminals to decode the combination of level signals and drive three-color LEDs to display multiple states. The color and mode of the indicator lights can be independently controlled by the microcontroller, and multiple state indications can be achieved using only three PLC output ports.
It effectively reduces the number of PLC ports, lowers wiring and costs, improves system flexibility and information expression richness, and maintains device stability in vibration environments.
Smart Images

Figure CN224985765U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the technical field of signal indication devices in the field of electrical control, specifically to a working status indication device that saves PLC ports. Background Technology
[0002] In industrial automation systems, PLCs (Programmable Logic Controllers) control external indicators, such as status lights, through their digital output ports. Traditional solutions typically assign one indicator light to each status requiring independent indication (such as running, fault, standby, alarm, etc.), occupying a dedicated output port of the PLC.
[0003] When the equipment status is complex and the number of statuses requiring indication is large, this solution will consume a significant amount of the PLC's limited output port resources. When ports are insufficient, additional PLC expansion I / O modules must be added, which not only directly increases hardware procurement costs but also leads to increased wiring complexity in the control system, increased installation space requirements, and a potential decrease in overall system reliability due to the introduction of additional modules. Therefore, how to reliably indicate multiple operating statuses with limited PLC port resources has become a problem to be solved in practical engineering. Utility Model Content
[0004] To address the shortcomings of existing technologies, this invention provides a working status indicator device that saves PLC ports, thus solving the problems mentioned in the background.
[0005] This utility model provides the following technical solution: a working status indicator device for saving PLC ports, comprising: a cover plate, a fixing component, a support column, a circuit board, a docking socket, a mounting bracket, and an indicator light; The support column is connected to the mounting bracket, the circuit board is connected to the surface of the support column, the cover plate is fixedly installed on the support column by a fastener, the docking socket is used for electrical connection to external lines, and the docking socket is set on the circuit board, which is equipped with a microcontroller. The microcontroller's three I / O ports are configured as three input terminals, which are respectively used to connect to the three output ports of the PLC; The microcontroller is programmed to decode the combination of level signals on the three input terminals and output corresponding control signals according to the decoding results to drive the indicator lights to display a variety of predetermined states.
[0006] Preferably, there are four support columns, which are respectively located at the four corners of the top of the mounting frame. The circuit board has a docking groove corresponding to the position of the four support columns, and the surface of the support column is connected to the inner wall of the docking groove.
[0007] Preferably, the support column is made of rubber material, the bottom end of the support column is provided with a threaded section, the top of the mounting bracket is provided with a first threaded groove, and the threaded section is threadedly connected to the inner wall of the first threaded groove.
[0008] Preferably, there are two docking sockets, which are symmetrically soldered onto the circuit board.
[0009] Preferably, the cover plate is disposed at the end of the support column away from the mounting bracket, and the top of the cover plate has a mounting hole through which a fastener passes.
[0010] Preferably, the fixing component is a fixing screw, and the top end of the support column is provided with a second threaded groove. One end of the fixing screw passes through the mounting hole and is threadedly connected to the inner wall of the second threaded groove.
[0011] Preferably, of the three I / O ports of the microcontroller, two are configured as signal input terminals and the other is configured as a common ground connection terminal.
[0012] Preferably, the indicator light is a tri-color LED. The output terminal of the microcontroller is connected to each cathode of the tri-color LED through a driving circuit to control its display color and light emission mode. The anode of the indicator light is connected to the common positive terminal of the power supply.
[0013] Compared with the prior art, the present invention has the following beneficial effects: 1. This working status indicator device that saves PLC ports configures three I / O ports of a microcontroller as input terminals and programs them to decode the combination of level signals on the three input terminals. Thus, it can encode and generate a variety of different control instructions using the three PLC output ports. This solves the technical problem of limited PLC port resources and the need for additional expansion modules to drive multiple status indicator lights caused by the traditional one-to-one control method.
[0014] 2. The working status indicator device that saves PLC ports is soldered to the circuit board through the docking socket, and the circuit board is firmly installed by the mechanical structure composed of the rubber support column, mounting bracket, cover plate and fixing screws. It provides reliable physical support and connection for electronic components, and solves the technical problem that the device is prone to loosening and poor contact in the vibration environment of the industrial site, thus affecting the reliability of the indication.
[0015] 3. This working status indicator device that saves PLC ports uses tri-color LEDs that can be independently controlled by a microcontroller as indicator lights. The microcontroller outputs control signals based on the decoding results to drive the LEDs to display different colors and lighting modes. This allows a single device to clearly express multiple complex working states, solving the technical problems of large space occupation, complicated wiring, and high cost caused by installing multiple single-color indicator lights to indicate different states. Attached Figure Description
[0016] Figure 1 This is a three-dimensional structural diagram of the present invention; Figure 2 This is an exploded view of the circuit board and support column of this utility model; Figure 3 This is an exploded view of the support column and mounting frame of this utility model; Figure 4 This is the circuit diagram of this utility model.
[0017] In the diagram: 1. Cover plate; 2. Fixing component; 3. Support column; 4. Circuit board; 5. Connecting socket; 6. Mounting bracket; 7. Indicator light; 8. Connecting groove; 9. Threaded section; 10. First threaded groove; 11. Mounting hole; 12. Second threaded groove; 13. Microcontroller. Detailed Implementation
[0018] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0019] Please see Figure 1-4 A working status indicator device for saving PLC ports includes: a cover plate 1, a fixing piece 2, a support column 3, a circuit board 4, a docking socket 5, a mounting bracket 6, and an indicator light 7. The support column 3 is connected to the mounting bracket 6, the circuit board 4 is connected to the surface of the support column 3, the cover plate 1 is fixedly installed on the support column 3 by the fastener 2, the docking socket 5 is used for electrical connection to external lines, and the docking socket 5 is set on the circuit board 4, and the circuit board 4 is equipped with a microcontroller 13. The three I / O ports of the microcontroller 13 are configured as three input terminals, which are respectively used to connect to the three output ports of the PLC; The microcontroller 13 is programmed to decode the combination of level signals on the three input terminals and output corresponding control signals according to the decoding results to drive the indicator light 7 to display a variety of predetermined states.
[0020] There are four support columns 3, which are respectively set at the four corners of the top of the mounting bracket 6. The circuit board 4 has a docking groove 8 corresponding to the position of the four support columns 3, and the surface of the support column 3 is connected to the inner wall of the docking groove 8.
[0021] The support column 3 is made of rubber material. The bottom end of the support column 3 is provided with a threaded section 9. The top of the mounting bracket 6 is provided with a first threaded groove 10. The threaded section 9 is threadedly connected to the inner wall of the first threaded groove 10.
[0022] There are two docking sockets 5, which are symmetrically soldered onto the circuit board 4.
[0023] The cover plate 1 is located at the end of the support column 3 away from the mounting bracket 6, and the top of the cover plate 1 has a mounting hole 11 through which the fastener 2 passes.
[0024] The fixing component 2 is a fixing screw, and the top of the support column 3 is provided with a second threaded groove 12. One end of the fixing screw passes through the mounting hole 11 and is threadedly connected to the inner wall of the second threaded groove 12.
[0025] Of the three I / O ports of the microcontroller 13, two are configured as signal input terminals and the other is configured as a common ground connection terminal.
[0026] Indicator 7 is a tri-color LED. The output of the microcontroller 13 is connected to each cathode of the tri-color LED through a driver circuit to control its display color and light emission mode. The anode of indicator 7 is connected to the common positive terminal of the power supply.
[0027] In one specific embodiment, such as Figures 1 to 3 As shown, during assembly, the mounting bracket 6 is first fixed to the predetermined position on the equipment panel or cabinet. The threaded section 9 of the rubber support column 3 is screwed into the pre-set first threaded groove 10 on the mounting bracket 6 to complete the initial fixation. Subsequently, the mating groove 8 on the circuit board 4 is connected to the outer surface of the rubber support column 3, and the rubber support column 3 limits the circuit board 4. The mating socket 5 is fixed to the edge of the circuit board 4 by welding, such as soldering. After assembling the circuit part, the cover plate 1 is placed at the top of all the rubber support columns 3 away from the mounting bracket 6. Finally, the fixing screw is passed through the mounting hole 11 on the cover plate 1 and screwed into the second threaded groove 12 at the center of the top of the rubber support column 3, thereby pressing and fixing the upper part of the entire device. This structure is stable and reliable and can effectively resist vibrations in the industrial environment.
[0028] The electrical connection and working principle of this utility model are as follows: The core microcontroller 13 is integrated on circuit board 4. For example, an STC8G1K08 microcontroller 13 and its necessary peripheral circuits can be used to form a decoding drive circuit. The connector 5 is used to connect external cables. This device has three input lines leading out from connector 5, which are respectively connected to the three digital output ports of the PLC. Specifically, these three input lines correspond to the configuration of the three I / O ports of the microcontroller 13: one is the common ground line GND, and the other two are signal lines, for example, defined as IN0 and IN1. The PLC controls these three ports to output different high-level combinations, such as 24V or low-level combinations of 0V, through a program.
[0029] The microcontroller 13 acquires the real-time voltage levels of these three input terminals, i.e., their three I / O ports. Since each port has both high and low voltage levels, the three ports can generate a total of 2... 3 =8 unique binary code combinations, and the program embedded in the microcontroller 13 predefines the corresponding indicator light 7 output instructions for each code combination.
[0030] A tri-color LED indicator 7, typically a common-anode RGB LED, is connected to the output side of circuit board 4. The three cathodes of the tri-color LED correspond to red (R), green (G), and blue (B), respectively, and are connected to three designated output I / O ports of microcontroller 13 through current-limiting resistors and other driving circuits. The common anode VCC is connected to the positive terminal of a DC power supply, such as +24V. When microcontroller 13 generates a specific high-low level combination on its output I / O port according to the decoded input code, it can control the different color chips in the tri-color LED to light up, turn off, or perform pulse width modulation (PWM), thereby mixing multiple colors, such as red, green, blue, yellow, purple, cyan, and white, as well as various lighting modes, such as constant light, slow flashing, fast flashing, and breathing light effects. Each input code corresponds to a preset visual indication state. In this way, using only three output ports of the PLC, up to eight different working states can be clearly and accurately indicated. Through three-wire decoding, accurate indication of multiple working states is achieved, which not only reduces the number of PLC control ports, lowers wiring and costs, but also improves the flexibility of system operation and the richness of information expression.
[0031] Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the present invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A PLC port saving working state indication apparatus, characterized by comprising: a PLC port saving working state indication unit configured to indicate a working state of a PLC port. include: Cover plate (1), fastener (2), support column (3), circuit board (4), docking socket (5), mounting bracket (6), and indicator light (7); The support column (3) is connected to the mounting bracket (6), the circuit board (4) is connected to the surface of the support column (3), the cover plate (1) is fixedly installed on the support column (3) by the fastener (2), the docking socket (5) is used to electrically connect external lines, and the docking socket (5) is set on the circuit board (4), and the circuit board (4) is equipped with a microcontroller (13). The three I / O ports of the microcontroller (13) are configured as three input terminals, which are respectively used to connect to the three output ports of the PLC; The microcontroller (13) is programmed to decode the combination of level signals on the three input terminals and output corresponding control signals according to the decoding results to drive the indicator light (7) to display a variety of predetermined states.
2. The working status indication device for saving PLC ports according to claim 1, characterized in that, The number of the support columns (3) is four. The four support columns (3) are respectively set at the four corners of the top of the mounting frame (6). The circuit board (4) is provided with docking grooves (8) corresponding to the positions of the four support columns (3). The surface of the support column (3) is connected to the inner wall of the docking groove (8).
3. The working status indication device for saving PLC ports according to claim 1, characterized in that, The support column (3) is made of rubber material. The bottom end of the support column (3) is provided with a threaded section (9). The top of the mounting bracket (6) is provided with a first threaded groove (10). The threaded section (9) is threadedly connected to the inner wall of the first threaded groove (10).
4. The working status indication device for saving PLC ports according to claim 1, characterized in that, The number of the docking sockets (5) is two, and the two docking sockets (5) are symmetrically soldered on the circuit board (4).
5. The working status indication device for saving PLC ports according to claim 1, characterized in that, The cover plate (1) is located at one end of the support column (3) away from the mounting bracket (6), and the top of the cover plate (1) has a mounting hole (11) through which a fastener (2) passes.
6. The working status indication device for saving PLC ports according to claim 1, characterized in that, The fixing component (2) is a fixing screw. The top of the support column (3) is provided with a second threaded groove (12). One end of the fixing screw passes through the mounting hole (11) and is threadedly connected to the inner wall of the second threaded groove (12).
7. The working status indication device for saving PLC ports according to claim 1, characterized in that, Of the three I / O ports of the microcontroller (13), two are configured as signal input terminals and the other is configured as a common ground connection terminal.
8. The working status indication device for saving PLC ports according to claim 1, characterized in that, The indicator light (7) is a tri-color LED. The output terminal of the microcontroller (13) is connected to each cathode of the tri-color LED through a driving circuit to control its display color and light emission mode. The anode of the indicator light (7) is connected to the common positive terminal of the power supply.
