Home » Sequential Operation of Output Bits using Two Push buttons
PLC Tutorials

Sequential Operation of Output Bits using Two Push buttons

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. 

Inputs & outputs

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) 

Sequential Operation of Output Bits

Memory Word order of bits

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.

PLC Program

Sequential Operation of Output Bits using Two Push buttons

Network 1

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.

Network 2

In every time the positive edge of step push button is detected the shift left instruction moves 1 to next bit of the QW0.

Network 3

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

Read Next:

Share With Your Friends

Related Articles

Difference between DCS, PLC, and RTU ?

S Bharadwaj Reddy

PLC Logic for Automatic Bending Machine for Exhaust Pipe

S Bharadwaj Reddy

How to Troubleshoot a PLC System

S Bharadwaj Reddy

DeMorgan’s Theorems using Ladder Diagram

S Bharadwaj Reddy

Traffic Light Control using PLC Ladder Logic

S Bharadwaj Reddy

Multiple Pumps Control using PLC

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Sequential Operation of Output Bits using Two Push buttons

WordPress Image Lightbox
Send this to a friend