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: Single Push button to ON and OFF a Bulb using Ladder Logic
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 > Single Push button to ON and OFF a Bulb using Ladder Logic

Single Push button to ON and OFF a Bulb using Ladder Logic

Last updated: March 4, 2021 3:28 pm
Editorial Staff
PLC Tutorials
13 Comments
Share
2 Min Read
SHARE

Learn how to use Single Push button to ON and OFF a Bulb using Ladder Logic in programmable logic controllers (PLC) control system.

  • I0.0  : Input Push-Button (Normally-Open)
  • Q0.0 : Output Coil (Bulb)
  • Q1.5 & Q1.6 : Flags

Single Push button Ladder Logic

As soon as the push button I0.0 (N-O) is pressed ,it becomes N-C and coil Q1.5 (flag) is energized. The another flag Q1.6 will not energize as the output coil contact  Q0.0 is N-O, which breaks the circuit to the flag Q1.6.

As soon as the flag Q1.5 is energized ,the contact Q1.5 (N-O) becomes N-C and out bulb coil Q0.0 gets energized and bulb becomes ON.

Single Push button to ON and OFF a Bulb using Ladder Logic

Now, if the push button is released the coil Q0.0 will remain energized because of latching applied as latch contact Q0.0 (N-O) in last rung. To switch off the bulb the push button is again pressed which closes the N-O contact of o/p coil Q0.0 and energizes the flag coil Q1.6.

Due to energize of flag Q1.6 , the N-C contact of this flag in last rung becomes N-O  and as a result of this ,the last rung goes false and output coil Q0.0   is de-energized and bulb goes OFF.

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:

Motor Trip Logic using PLC

What is Relay Logic ?

Introduction to PLC Diagrams

PLC System Documentation

DeMorgan’s Ladder Diagram

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 !
What is Midline Instruction in Siemens PLC?
What is the Firmware Version of a PLC? – Siemens PLC Hardware
Siemens TIA Portal Free Version Download
PLC Count values higher than 999
Quiz Program Logic Using PLC Programming
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
13 Comments
  • Jakaria says:
    December 18, 2019 at 9:03 pm

    Very nc

    Reply
    • José Ignacio Theodor says:
      October 12, 2022 at 6:58 pm

      No funciona tal como está. Queda cambiando indefinidamente.
      El primer contacto I 0.0 no debe ser de estado ON, debe ser de flanco de subida.
      It doesn’t work just like that.
      It keeps changing state as long as the button remains ON
      You should change the I 0.0 button contact to be a rising edge detector.

      Reply
  • Sergey says:
    January 15, 2020 at 6:01 pm

    DO not fill people, this will not work.

    Reply
  • Raj says:
    January 16, 2020 at 10:38 pm

    This will not work….gave a try

    Reply
  • Brett says:
    March 21, 2020 at 9:41 am

    I’m no expert but this should turn it on, just to turn it right off again. Just based on me reading it. The bulb will open the top closed contacts to open, and the contacts below that to close, causing the second flag to get power. Once that gets power, it will then open it’s corresponding contacts, cutting off power to the bulb.

    So it will turn it on, then turn off. Basically flicker. Though maybe I’m wrong in my observation, though I don’t see how it could work regardless.

    Reply
  • Olgierd says:
    December 4, 2020 at 10:41 am

    This will cause output Q0.0 to flicker as it will be set in one program cycle just to get reset in next and again and again.
    You will need to add rising edge detection dor input I0.0 for it to work.

    Reply
  • Ilahi says:
    December 12, 2020 at 12:47 pm

    It’s a flicker for led not working properly as gets flick when turn on and similar when turning off.

    Reply
  • Novellus says:
    May 3, 2021 at 3:10 am

    I’m not understanding all the negative comments… I’m in CODESYS and this ladder seems to function exactly as shown…

    I did add a simple T_TRIG to my input signal to de-bounce the switch (pretty standard stuff when dealing with mechanical switches), but otherwise the ladder did exactly what the author claims. Win for me.

    Reply
  • Josue says:
    September 24, 2021 at 3:55 am

    No funciona

    Reply
  • Andy says:
    November 11, 2021 at 11:14 pm

    Below works. Basically a ring counter that just loops through counting from 1 to 2 due to successive button presses. 1. Press and hold to energize C01. 2. Release to energize CN01. 3. Press and hold to energize C02. 4. Release to energize CN02. 5. Press and hold to energize C01 (and so on, and so on…) You can use then use C01 and C02 as a momentary ON and OFF, or combine them as I’ve done to have a solid ON and OFF. For the bulb application, the bulb would be driven by C01 OR CN01.

    PB CN01 C02 C01
    —+-] [–+-]/[–+-]/[–+—(R)
    | |
    | C01 |
    +-] [–|

    PB C01 C02 CN01
    —+-]/[–+-] [–+-]/[–+—(R)
    | |
    |CN01 |
    +-] [———+

    CN01 PB CN02 C02
    —+-] [–+-] [–+-]/[–+—(R)
    | |
    | C02 |
    +-] [———+

    C02 PB CN02
    —+-] [–+-]/[–+—(R)
    | |
    |CN02 |
    +-] [–|

    C01 ON
    —+-] [–+—(R)
    | |
    |CN01 |
    +-] [–|

    C02 OFF
    —+-] [–+—(R)
    | |
    |CN02 |
    +-] [–|

    Reply
  • Andy says:
    November 11, 2021 at 11:21 pm

    It kind of works, mostly doesn’t. If you hold the push button down the bulb will go on and off repeatedly. When you release the button it just depends on timing whether it end up on or off. I’ve got a better way that is basically a ring counter that counts from 1 to 2 repeatedly due to successive button presses.

    Reply
  • Kavi says:
    July 8, 2022 at 8:13 pm

    If there’s a single switch as input,and 3 lamps as output..like…
    S1 is on-L1 on.
    S1 is off-L1 off.
    Again S1 is on- L1 still off and L2 is on.
    S1 off-L2 on.
    S1 on-L2 off,L3 on.
    S1 off-L3 off.

    What should be the ladder logic?

    Reply
  • Sundareswara Nathan says:
    July 3, 2023 at 8:21 pm

    I dont know, How people consider I0.0 as push button because rule for push button is, if the button is released it need to be in on state due to latch coil. Here no latch for I0.0. If we consider 2nd rung as latch network means it only flickers wont be in on or off state continuously.

    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

  • 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

Color detection PLC logic

Conveyor Sorting System with Color Detection PLC Logic

SCADA Multiple Choice Questions

SCADA Multiple Choice Questions

PLC Interlock Example

PLC Interlock Logic with First Input Priority

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

Reset Logic for pump Run Hours

PLC Program to Count Running Hours of any Equipment

Omron PLC increment and decrement

Increment & Decrement Instructions in CX-Programmer (OMRON)

4-20mA Loop Power Supply Questions

4-20mA Loop Power Supply Questions and Answers

Automatic Box Filling System using PLC Programming

Automatic Box Filling System using PLC Programming

More Articles

Control valve performance with varying pressure

Control Valve Performance with Varying Pressure

Changing Process Medium Density has no influence on Level Indication (Full Absorption)

Nuclear Interface Level Measurement Principle, Limitations, Installation and Calibration

What is Directional Control Valve (DCV)?

What is Directional Control Valve (DCV)?

Working of Proximitor

Different Types of Turbine Protective Devices

Auto Sugar Bag Filling Station

Auto Sugar Bag Filling Station

Piston No-Diaphragm Seal Instrument

Seal Pressure Instruments Root Cause Analysis

PLC Ladder Logic Chemical Mixing Process

Chemical Mixing Process using PLC

Power Electronics Objective Questions

Single-Phase Half Wave AC-DC Converter Quiz

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?