Basic PLC Ladder Programming Examples 18
Basic PLC Ladder Programming Examples 18
Basic PLC Ladder Programming Training Examples for Beginners. Hi friends, here we are starting unique a series of Free Training on PLC Ladder Programming & tutorials. These PLC Ladder Programs are important to learn basics of Ladder programs.
PLC Ladder Practice Problem:
Last-in Priority Circuit.
There are 4 buttons corresponding to 4 indicators. The program is to turn on the indicators corresponding to pressed buttons and to turn off the previous ON indicators.
Topics Covered in this example is PLUSE instruction Ladder Program.
Number of PLC Inputs Required
X0 – Button 1. X0 will go from OFF to ON when pressed
X1 – Button 2. X0 will go from OFF to ON when pressed
X2 – Button 3. X0 will go from OFF to ON when pressed
X3 – Button 4. X0 will go from OFF to ON when pressed
Number of PLC Outputs Required
Y0 – Indicator 1
Y1 – Indicator 2
Y2 – Indicator 3
Y3 – Indicator 4
PLC Ladder Programming:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWkNL0OmMZ0ICh9GAWorUajv-8YawP4GUblvRKtC6F6_bBCDvUuhiXWQWYqhYvFxrsmLGrL39YXNeN8IPIN6beE-hG63XvMWsUgGxwwsLXB4u_HTiyTpi8AUgxaKJImd-acE20Z5zah3s1/s640/button+ladder+program.jpg)
· When a button is pressed, the corresponding device X will go from OFF to ON. In this scan cycle, PLS instruction is executed, and the corresponding internal relay M is enabled as well. CMP instruction will be executed and the compared result is K1M0>0 which makes M10 ON but M11 OFF. [MOV K1M0 K1Y0] instruction will then be executed and sent out the state of M to its corresponding output Y. At the same time, the previous ON indicator(Y) will be turned off.
· When it comes to the 2nd scan cycle, PLS instructions will not be executed and the value of M0~M3 will be 0. Therefore, the CMP instruction will be executed and set M11 to be ON (K1M0 = 0). [MOV K1M0 K1Y0] instruction will not be executed, and the 0 state of device M will not be sent out, either. In this case, Output Y will remain its original state until any other button is pressed next time.
Note: Example is only for training purposes. No practical implementation is done.
See More PLC Ladder Programming Examples
See More PLC Ladder Programming Examples
PLC Ladder Programming Example 1
PLC Ladder Programming Example 1
PLC Ladder Programming Example 2
PLC Ladder Programming Example 3
PLC Ladder Programming Example 4
PLC Ladder Programming Example 5
PLC Ladder Programming Example 6
PLC Ladder Programming Example 7
PLC Ladder Programming Example 8
PLC Ladder Programming Example 9
PLC Ladder Programming Example 10
PLC Ladder Programming Example 11
PLC Ladder Programming Example 12
PLC Ladder Programming Example 13
PLC Ladder Programming Example 14
PLC Ladder Programming Example 15
PLC Ladder Programming Example 16
PLC Ladder Programming Example 17
Comments
Post a Comment