Write a PLC program so that when the set push button is pressed the first bit in output word is energized and every time the step push button is pressed the next bit is energized till the last bit in the output word, when the reset push button is pressed the output word is reset to zero.
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: set Push Button (Normally open contact)
I0.1: step Push Button (Normally open contact)
I0.2: reset Push Button (Normally open contact)
Qw0: output word i.e from (Q0.0 to Q1.7)
Before you start your programming you have to understand the order of bits when you hear memory word, here in the table attached you can figure out the address of any bit number.
When the set push button is pressed the hexadecimal #0001 is moved to QW0 which is equal to 0000 0000 0000 0001 which will sets the bit Q1.0 to 1.
In every time the positive edge of step push button is detected the shift left instruction moves 1 to next bit of the QW0.
In any time when the reset push button is pressed, 0 is moved to QW0 which will reset all the output word.
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.
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…
Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…
This article explains how to blink lights in ladder logic with a detailed explanation video…
In this article, a simple example will teach you the conversion from Boolean algebra to…