Home » ON and OFF a Group of Outputs by One Push button PLC Logic
PLC Tutorials

ON and OFF a Group of Outputs by One Push button PLC Logic

Write a PLC program to on or off a group of output by one push button in one network, it can be used for safety operations where you want to on/off a group of output like a group of valves or motors.

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/reset Push Button (Normally open contact)

QB0: output byte i.e from (Q0.0 to Q0.7)

ON and OFF a Group of Outputs PLC Logic

ON and OFF a Group of Outputs by One Push button PLC Logic

The Answer: 

When the Set/reset is pressed for the first time the SR flip flop is energized and energizes the move instruction to move 255 decimal value to the QB0 which means move 1111 1111, i.e sets bits from Q0.0 to Q0.7

When the set/reset push button is pressed for the second time the SR flip flop is de-energized, once the SR flip flop is de-energized the negative edge detects that the SR flip flop moved from positive to negative and sends a trigger to the second move instruction if the QB0 decimal value = 255, that moves 0 to QB0.

And the operation is repeated.

Author: Karim Ali Anwar

Read Next:

Share With Your Friends

Related Articles

Industrial Automation Engineers Interview Questions

S Bharadwaj Reddy

Configuration of Profibus Network in Siemens PLC

S Bharadwaj Reddy

Download Allen Bradley RSLogix PLC Software

S Bharadwaj Reddy

What is SCADA System ?

S Bharadwaj Reddy

Programmable Logic Controller (PLC) Application for Stamping Operation

S Bharadwaj Reddy

DCS versus PLC Architecture

S Bharadwaj Reddy

1 comment

Faruk October 16, 2020 at 3:06 pm

Inst tool is very informative
I will keep on reading thanks a lot

Reply

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

ON and OFF a Group of Outputs by One Push button PLC Logic

 
WordPress Image Lightbox
Send this to a friend