In this article, you will learn the PLC example to control LEDs via switches and understand the ladder logic explanation.
This PLC example is designed for engineering students to learn and practice the ladder logic. The implementation of the same PLC program for industrial usage will be different.
Design a PLC ladder logic for the following application.
We are using three switches to control three LED’s.
If any 1 Switch is ON, then LED I will be ON.
If any 2 Switches are ON, then LED II will be ON.
If all the 3 Switches are ON, then LED III will be ON.
In the previous article, we discussed the same PLC example using toggle switches, Learn the logic.
The required digital inputs are listed below.
Switch 1: I0.0
Switch 2: I0.1
Switch 3: I0.2
The required digital outputs are listed below.
Motor 1: Q0.0
Motor 2: Q0.1
Motor 3: Q0.2
The signal flows through switch 1 as it is in true state. In false state, switch 2 and switch 3 also pass signal to the outputs. Therefore, LED 1 will be ON.
LED I will TURN ON when switch 2 is turned ON and switch 1 and switch 3 are OFF as these are in normally closed contact state.
When switch 3 will be ON and other 2 switches which are normally closed contacts will be OFF, then LED 1 will turn ON.
Turning ON more than one switch will break the circuit. The Normally Closed Contact, when in true state, will not allow signal. As a result, LED 1 will be OFF.
LED 2 will TURN ON when switch 1, switch 2 are turned ON and Switch 3 is OFF. The switch 3 as Normally Closed Contact, in false state, will allow signal to pass through it.
When switch 1 and switch 3 are turned ON and switch 2 is OFF, LED 2 will turn ON. Switch 2 will allow signal when in false state.
The signal flows through switch 2 and switch 3 as these are in true state. In false state, switch 1 also pass signal to the outputs. Therefore, LED 2 will be ON.
When more than two inputs are turned ON, the Normally Closed Contact used for the third switch will not close the circuit in true state. Therefore, the LED 2 will get OFF.
When all the three switches SWITCH 1 (I0.0), SWITCH 2 (I0.1), SWITCH 3 (I0.2) are turned ON, LED 3 will be ON and will turn OFF other Two outputs.
We explained this PLC example program in the below video. Watch and learn the ladder logic.
If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.
You can also follow us on Facebook and Twitter to receive daily updates.
Read Next:
In this post, we will learn the basic requirements for a network switch to be…
The PLC panel and MCC panel interface signals are start, stop, run feedback, trip, local…
In this article, we are going to discuss about shutter door control using induction motor…
Electrical Drives control the motion of electric motors. Motion control is required in industrial and…
PLC ladder logic design to control 3 motors with toggle switch and explain the program…
VFD simulator download: Master the online tool from the Yaskawa V1000 & programming software for…