Tecnología moderna de control eléctrico y aplicación de PLC

As electrical equipment becomes more and more complex, industrial production has higher and higher requirements for electrical control. PLC-based automation control technology has been widely used and has gradually become one of the mainstream technologies in current industrial automation production control. The biggest advantage of using PLC technology is to achieve automatic control with high reliability and anti-interference ability, which greatly avoids system instability caused by the use of single-chip microcomputer technology. This paper discusses the application of PLC automation technology in detail in combination with electrical control, and gives specific system design examples, which has good guidance and reference significance for further improving the industrial application of PLC automation technology.

1. Definition and working principle of PLC

PLC CProgrammable Logic Controller), a programmable logic controller. PLC is an electronic system mainly used for digital computing operations required in industrial environment design. It uses a type of programmable memory that is oriented to on-site problems and processes. It is very simple and flexible to use. PLC needs to perform operations such as arithmetic, logical operations, sequence control, timing, and counting. Its internal storage program is a user-oriented operating instruction. PLC controls various types of machinery or production processes through analog 1/0 or numbers. In industrial production plays a very important role in the control process. The main working principle of the controller is that the PLC scans and reads the user program in the order it is stored in the memory, and then executes system control. In the past, the main function of PLC was to replace relays to implement logic control. As the function of PLC becomes increasingly powerful, it has been widely used in various fields of my country’s industry, which to a large extent exceeds the earliest logic control scope of PLC.

2. Characteristics of PLC

2.1 Small size and light weight

The bottom size of the ultra-small PLC is <100mm, the weight is <150g, and its power consumption is only a few watts. Due to its small size, it is easy to install into machinery and facilitates the realization of mechatronics.

2.2 Universal practicality

PLC can be applied to various scales of electrical control situations. In addition to basic logic processing functions, most current PLCs have data computing capabilities and can be used in the field of digital control. In recent years, the functions of PLC have become increasingly perfect, and the application of PLC has been widespread in many control fields such as temperature control, position control, and CNC.

2.3 Strong anti-interference ability

Because PLC adopts modern large-scale integrated circuit technology and adopts advanced anti-interference processing technology in internal circuits, production processes, etc., it has high reliability. In addition, the PLC also has its own automatic hardware fault detection function, which can issue an alarm once a fault occurs. In software applications, users can also program self-diagnosis fault programs for peripheral devices, so that circuits and equipment other than PLC in the system can also obtain self-protection functions.

When the mouse event is clicked, the coordinates of the mouse event click are obtained, and the search starts from this square. Next, destroy the red square that has been clicked, create a judgment point and a blue square, and then use the blue square as a basis to create a judgment point in its four connected directions of up, down, left, and right. If the judgment point is superimposed on the blue square, it means This is an open space and the judgment point will be destroyed. If the judgment point is superimposed on the red square, repeat the above steps. When no decision point exists in the scene, it indicates that the round of search has ended.

2.3 Writing of program events

Based on this idea, we design the event process. The core code is as shown in the figure:

3. Conclusion and outlook

Since the core system of Clickteam Fusion 2.5 is a simple event editor, it has avoided the complexity of programming languages ​​from the beginning. In the above example, the entire function is realized through its built-in events.

Language is added through the condition-action mode. Even if you do not know programming knowledge, you can still easily create programs that meet teaching needs using ClickteamFusion 2.5. Its cross-platform nature greatly expands the teaching environment, even on mobile phones. The same operating effect can also be obtained on a mobile phone or a web page, which conforms to the current hot trend of online teaching platforms.

Educational games have broad development prospects, and what is mentioned in this article is just a simple application case. The author believes that the current design is not mature enough, rich enough, and exciting enough. I hope that in the future, I can learn from experience and lessons, strengthen my studies, and have a deep understanding of the relevant knowledge of Clickteam Fusion 2.5, so as to design more powerful and complete educational games and contribute to the development of education in our country.

Problems arising from PLC application technology in electrical control and measures taken

3.1 Frequent control errors prevent signals from being transmitted to the PLC control system.

3.1.1 Due to reasons such as line aging, mechanical pulling, and damage from natural animals, the transmission signal line malfunctions, causing control errors. When this error occurs, the extraction, addition or conversion of data cannot be completed through the PLC control system.Nor can it normally receive a series of execution instructions from the PLC control system.

Póngase en contacto con nosotros