PLC programming example: contactor interlock forward and reverse circuit

Publisher:blazingsLatest update time:2023-10-11 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

PLC programming learning requires not only the enthusiasm for independent learning, but also the skills of imitation. When I have nothing to do, I always practice and explore. Here is a real example in PLC programming. Through this example, I hope it will be helpful to everyone in the process of learning PLC.


First of all, this is a simple contactor interlock forward and reverse circuit. Let's take it as an example to see how it is programmed and briefly understand this circuit diagram:


FR thermal relay, SB1 stop button, the left side is the forward control circuit, the right side is the reverse control circuit, SB2 forward start button, SB3 reverse start button, KM1 forward AC contactor, KM2 reverse AC contactor, this pair of points is KM1's normally open point and the forward start button in parallel, which is its self-locking point. Similarly, this pair of normally open points is the self-locking point of the reverse control circuit. Let's take a look at the interlocking part, we can see KM2, its normally closed point and KM1's coil are connected in series, KM1, its long closed point and KM2, its coil are connected in series, when KM1 is actuated, this pair of normally closed points are disconnected, ensuring that the reverse circuit cannot be connected. Similarly, when KM2 is connected, this pair of points are disconnected. This is the contactor interlocking circuit.

3b6143b6-ffb1-11ed-90ce-dac502259ad0.jpg

Let's see how to do address coding. We code the SB1 stop button address as x1, SB2 address code as x2, SB3 address code as x3 thermal machine electrical appliance, address code x0 output KM1 AC contactor address code Y1, KM2 address code Y2. Let's see how to draw a ladder diagram. The ladder diagram corresponds to the electrical control schematic diagram.


First, you can see SB2. After x2, there is the self-locking key, and it is connected to a pair of normally open points. In case the normally open point of the AC contactor is followed by the x1 stop button and then the heat meter appliance. After x0, there is the AC contactor. The normally closed point serves as an interlocking key. You can see Y2. No slash refers to the normally open point, and a slash refers to the normally closed point. When using it, you must clearly distinguish the output of the positive transmission. In case of KM1 AC contactor, this is the forward control circuit. Let's take a look at the reverse control circuit. They are the same. Then there is the self-locking point, the self-locking point of Y2-KM2, which is all normally open points, followed by the SB1 stop button, the normally closed point, the logical closed point, and x0. After the search point of Y1, there is a slash, which refers to the logical closed point, and no slash refers to the logical open point, and finally the output Y2.


Next, how to convert it into programming language, first of all, the normally open point of the symptom control loop connected to the bus can be recorded as ldx2 with the ld instruction, and then the parallel connection, the normally open instruction we use the o2 instruction, can be recorded as o2y1, the series long close instruction, we can record as ANIx1, ANIx0, ANIY2, and then the output OUTY1, we have marked it here, what does it represent the address code mean? Corresponding to the motor control schematic diagram, this is the forward rotation circuit.

3b6f59d8-ffb1-11ed-90ce-dac502259ad0.jpg

Let's take a look at the reverse loop and the busbar connected to the open point. We can use the ld instruction to record it as LDx3. Similarly, the parallel, normally open instruction ORY2. We use the anI instruction, which can be recorded as anIx1, x0, y1, and then the output coil OUTY2. In the logic programming language, when we are actually programming, we can use ladder diagrams for programming, or we can use logic programming languages ​​to program directly. Both methods are possible.

3b83e344-ffb1-11ed-90ce-dac502259ad0.jpg

Next, let's look at the PLC wiring diagram. Let's look at the input part. You can see that there are 4 inputs corresponding to thermal relays, SB stop button, SB2, SB3 start buttons, and two outputs corresponding to Y1, Y2, connected to the AC contactor. After you can see its coil, friends will ask why the thermal relay is a normally closed point in the electrical control schematic, but a normally open point is used in the PLC wiring diagram. The same is true for the stop button. Here, because we programmed it into a logical closed point when programming, we can see in the ladder diagram that the thermal relay x0 uses a logical closed point. The stop button SB1 also uses a logical closed point, so we can use a normally open point on the outside. Of course, we can also use a normally closed point. We only need to change the logical closed point here to a logical open point when programming. In this case, we can use a normally closed point on the outside. When using it, we must distinguish it clearly and use it flexibly. In fact, both are possible. Simple basics, electrical schematics, address coding ladder diagrams, simple understanding of logic programming languages ​​and PLC wiring diagrams.

3b8d9c86-ffb1-11ed-90ce-dac502259ad0.jpg

3ba47f96-ffb1-11ed-90ce-dac502259ad0.jpg

Learning PLC requires four steps: self-study, imitation, error correction and innovation. Many people stagnate in the self-study step. A big reason is that they don't have perseverance and don't insist on reading all the book knowledge. They always think that the theoretical knowledge is too boring. In fact, this step is very critical. It can help you build a complete PLC concept framework in your mind. Secondly, you need an object to imitate and help you correct errors, so that you can grow slowly in practice.


Keywords:PLC Reference address:PLC programming example: contactor interlock forward and reverse circuit

Previous article:Analysis of three basic drive systems of industrial robots
Next article:What is PID? Let me tell you a story

Recommended ReadingLatest update time:2024-11-16 09:17

Functions and working principles of human-machine interface
The most basic function of the human-machine interface is to display the switch status of the field device (usually PLC) and the value of the digital variable in the memory, use the monitoring screen to send switch commands to the PLC, and modify the parameters in the PLC memory. 1. Configure the screen
[Embedded]
Functions and working principles of human-machine interface
PLC's workflow, classification and key technologies
Programmable Logic Controller (PLC) is a control device widely used in the field of industrial automation. It uses programmable memory, input and output modules, and central processing units to control the production process by writing specific programs. This article will introduce the workflow, classification, and
[Embedded]
About communication with S7-1200 or S7-1500 PLC
In WinCC V7.4SP1, for S7-1200 or S7-1500 communication, you can create status variables and control variables to display and control the communication of S7-1200 or S7-1500 PLC. First, WinCC V7.4SP1 establishes a communication connection with the S7-1200/1500 PLC. Open the tag manager and creat
[Embedded]
About communication with S7-1200 or S7-1500 PLC
Seven steps to complete PLC debugging
Many electrical novices are not sure how to start debugging after designing electrical control cabinets and PLC programs. Some people even burn out PLCs due to improper debugging methods. So how should the designed electrical system be debugged? You can follow the following seven steps. 1. Check the circu
[Embedded]
How structured PLC variables work
Using structured tags (S7-1200 V4 and higher / S7-1500) To make it easier to view the program content, several input/output addresses can be grouped in a higher-level PLC tag. A higher-level PLC tag is a structure that contains several logically related inputs/outputs. When a block is called, the higher-level t
[robot]
Functions of Mitsubishi PLC special soft components
What are the special functions of the M8000 and M8013 bits of Mitsubishi PLC? Both are special soft components. M8000 is the PLC operation monitoring, which means that the PLC is turned on and is set in the RUN state. It can be used as a driving condition for instructions, and can also be used in the external displa
[Embedded]
Functions of Mitsubishi PLC special soft components
Comparison of the advantages and disadvantages of ten PLC analog input filtering methods
Analog input filtering usually includes ten filtering methods: limiting filtering, median filtering, arithmetic mean filtering, recursive mean filtering, median mean filtering, limiting mean filtering, first-order lag filtering, weighted recursive mean filtering, de-jitter filtering and limiting de-jitter filtering.
[Embedded]
Example of Mitsubishi PLC controlling stepper motor
Case 1: 1. Wiring Diagram The wiring in the above picture is for controlling one stepper motor. This time, we will show you how to control two steppers to move simultaneously. The IO table is X0 step 1 origin X1 step 2 origin X2 Start Button Y0 step 1 pulse Y1 Step 1
[Embedded]
Example of Mitsubishi PLC controlling stepper motor
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号