Write a PLC program to run a motor in case that when the first Push Button (PB) is pressed the motor runs in a latched mode, when the second PB is pressed the motor will not be in the latched mode and will be in the momentary mode and when the stop PB is pressed the motor should be stopped.
Note: the best practice to learn the PLC programming is to start writing the PLC program, take your time before you review the answer.
I0.0: First Push Button (Normally open contact)
I0.1: Second Push Button (Normally open contact)
I0.2: Stop Push Button (Normally Closed Contact)
Q0.0: Motor
M0.0: marker for SR flip flop
M0.1: marker for positive edge
In order to keep the motor latched you can use the SR flip flop where the set branch is energized by positive edge detection from the First_push_button, and the reset branch is energized by either the stop_push_button or the Second_push_button is energized.
The second_push_button is connected to the stop normally open (in this case normally open is the reverse case of the Stop_push_button) in order to not operate the motor in the case of the stop_push_button is pressed.
Author: Karim Ali Anwar
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:
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…
The conveyor sorting machine is widely used in the packing industries using the PLC program…
Learn the example of flip-flop PLC program for lamps application using the ladder logic to…
In this article, you will learn the STAR DELTA programming using PLC controller to start…
Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…