Inst ToolsInst ToolsInst Tools
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: ON and OFF a Group of Outputs by One Push button PLC Logic
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > ON and OFF a Group of Outputs by One Push button PLC Logic

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

Write a PLC program to ON or OFF a group of outputs by one push button in one network for safety operations.

Last updated: March 4, 2021 10:50 am
Editorial Staff
PLC Tutorials
1 Comment
Share
2 Min Read
SHARE

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.

Contents
Inputs & OutputsON and OFF a Group of Outputs PLC Logic

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

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:

  • Example PLC Programs
  • PLC Motor Stop Interlock
  • PLC Programming Example
  • Master Control Reset
  • Pause the Timer Logic
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Recommended Articles

DeMorgan’s Theorems using Ladder Diagram
Best Practices of PLC Wiring – Programmable Logic Controller
Traffic Light Control using PLC Ladder Logic
Program Flow Control Instructions in PLC Programming
Control Speed of Induction Motor using Analog Output of PLC
#6 PLC Best Practices – Validate Timers and Counters
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
1 Comment
  • Faruk says:
    October 16, 2020 at 3:06 pm

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

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • William Snyder on Top Non-PLC Certification Courses for Automation Professionals
  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Simatic 300 Station Configuration

Monitor and Modify Variables in Simatic Manager

Electrical Ladder Diagram Control using Timers Example

Electrical Ladder Diagram Control using Timers Example

Basic PLC Exercise on Heater and Cooler for Students

Basic PLC Exercise on Heater and Cooler for Students

How to Read an Electrical Wiring Diagram

How to Read an Electrical Wiring Diagram?

siemens plc db addressing

FB Block in Siemens PLC Programming

Omron PLC programs

Daily Alarm PLC Program using Real-Time Clock

Motor Clock Wise Operation using PLC

CW and CCW Operation of Motor from Same Push button

What is PID Controller

What is PID Controller?

More Articles

Electrical Circuit Breaker Quiz

100 Electrical Circuit Breaker Quiz

example-of-KCL

What is Kirchhoff’s Current Law

PLC Programming Example on Bottle Line Control

PLC Programming Example on Bottle Line Control

Introduction to Protective Systems

Introduction to Protective Systems

Vacuum Gauges Working Principle

Vacuum Gauges Working Principle

Field Instrumentation Interview Questions and Answers

Field Instrumentation Interview Questions and Answers

Closed Tank Level Measurement using DP Transmitter

Cat and Mouse type Level Indicator

Turbine and Compressor Control System

Turbine and Compressor Control System

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?