Inst ToolsInst ToolsInst Tools
  • Ask
  • 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: PLC Program for 2 Push buttons to Control 1 Output
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • 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 > PLC Program for 2 Push buttons to Control 1 Output

PLC Program for 2 Push buttons to Control 1 Output

Develop a PLC program for 2 push buttons to control 1 output to turn ON or OFF as per the logic.

Last updated: June 10, 2024 3:00 pm
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

Develop a PLC program for 2 push buttons to control 1 output to turn ON or OFF as per the logic.

Contents
2 Push buttons to Control 1 OutputPLC ProgramInputs and OutputsLadder LogicProgram ExplanationSimulation ResultWhen Push Button 1 is PRESSEDWhen Push Button 1 is RELEASEDWhen Push Button 2 is PRESSEDWhen Push Button 2 is RELEASED

Note: This PLC logic is prepared for learning purposes to help users learn ladder logic programming.

2 Push buttons to Control 1 Output

Problem Statement:

Design a PLC ladder logic for the following application.

We are using two push buttons to control the output.

When Push Button 1 is Pressed and then Released, then Output will be ON.

When Push Button 2 is Pressed and then Released, then Output will be OFF.

PLC Program

This PLC program video explains the complete logic development for this problem.

Inputs and Outputs

Digital Inputs:

Push Button 1: I0.0

Push Button 2: I0.1

Digital Output:

Output: Q0.0

Memory Bit

Memory Bit: M0

Ladder Logic

PLC Program for 2 Push buttons to Control 1 Output

Program Explanation

We have used Normally Open Contacts as well Normally Closed Contact and Memory Bits.

Normally Closed Contact is used for Memory Bit in Rung0.

When Push Button 1 is pressed, Output will turn ON.

Output still remains ON, When Push Button 1 is released because of Latching used for Output in Rung0.

When Push Button 2 is pressed, Memory Bit will turn ON and Output will turn OFF as Normally Closed Contact used for Memory Bit in Rung0 will be in true state. In true state, Normally Closed Contact does not allow the signal to pass to the Output.

Output still remains OFF, when Push Button 2 is Released as Memory Bit is connected with Push Button 2 in Rung1, and Push Button 2 in Rung0 will remain in True State because Latching is used for Memory Bit in Rung1. So, Normally Closed Contact used for the Memory Bit in Rung0 also will remain in its true state and will not allow the signal to pass to the Output.

Simulation Result

Now test our logic and discuss the simulation results.

When Push Button 1 is PRESSED

PLC Program with Dual Push Button Inputs

The signal flows through Push Button 1 as it is in true state and Output will turn ON.

In a false state, Memory Bit in Rung0 also passes the signal to turn ON the Output as Normally Closed Contact is used for Memory Bit in Rung0.

When Push Button 1 is RELEASED

Two Push Buttons Single Output Logic

When Push Button I is released, Output will remain ON as Latching is used for the Output in Rung0.

When Push Button 2 is PRESSED

Two Pushbutton On-Off Control

Pressing Push Button 2 will turn OFF the Output because Memory Bits in Rung0 and Rung1 will turn ON.

So, Normally Closed Contact used for the Memory Bit in Rung0 will be in a true state and does not allow the signal to pass to the Output.

When Push Button 2 is RELEASED

Push Buttons and Output Ladder Logic

As Latching is used for Memory Bit in Rung1, when Push Button 2 is released, Output will remain OFF because Memory Bit in Rung0 and Rung1 will remain ON.

In Rung0, Normally Closed Contact in True state will not allow the signal to pass to the Output.

If you liked this article, 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 1 Push Button to Turn ON or OFF 1 Output
  • PLC Program for Gas Pressure Closed-Loop Control
  • PLC Program for Solenoid, Pilot Lamp, and Switch
  • Example of Control the PLC Output using Push Buttons
  • PLC Code to Start & Stop Motor and Pump as per 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 !
PLC based 4 Way Traffic Light Control System
What are User Defined Function Blocks in PLC?
How to Insert Block Calls in SCL Language?
Difference Between Normal Counters and Fast Counters – Learn PLC
PLC Electric Motor Interlocks
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

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

  • 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
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

What is a GSD File and Why it is required?

What is a GSD File and Why it is required?

Basics of Loop Checks

Basics of Loop Checks

Design Counters in PLC Programming With a Move Instruction

Design Counters in PLC Programming With a Move Instruction

Historical Scada graph

Configuration of InTouch Scada Trends

Boolean Logic to PLC Programming

Boolean Logic to PLC Programming

PLC Programming Examples using Timer

Basic PLC Ladder Programming Example

Open Platform Communication (OPC)

Open Platform Communication (OPC)

PLC Program three-phase electric motor

Identify the Problem in the PLC Program

More Articles

Instrumentation and Control Engineering Questions and Answers

Instrumentation and Control Engineering Questions and Answers

Paddle Wheel Level Switch Principle

Paddle Wheel Level Switch Principle

Control Valves Leakage Classifications

Control Valves Leakage Classifications

Ultrasonic Tank Gauging

Ultrasonic Tank Gauging

Siemens S7-200 PLC

Programmable Logic Controller (PLC) Questions and Answers – 13

Difference Between Industrial Computer and Normal Computer

Difference Between Industrial Computer (IPC) and Normal Computer (PC)

PN Junction Questions & Answers

PN Junction Questions & Answers

HART

List of Tools used by Instrument Technician or Engineer

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?