Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Lamp Control using PLC Logic Condition
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Lamp Control using PLC Logic Condition

Lamp Control using PLC Logic Condition

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

Build the ladder logic program to turn ON and OFF the lamp using push buttons with respect to program logic conditions.

Contents
PLC Lamp ControlPLC Problem LogicList of Inputs and OutputsPLC Lamp ProgramPLC Lamp Ladder Logic DescriptionConclusion:

PLC Lamp Control

PLC Lamp Control using Logic Condition

PLC Problem Logic

Start PB and Stop PB are used to turn ON and OFF the lamp.

It should follow the following two cases.

CASE 1 :

Start PB is used to turn ON the lamp, Same Start PB is thrown again to turn OFF the lamp.

CASE 2 :

Start PB is Pressed to turn on the Lamp, if stop PB is pressed to turn OFF the lamp, Start PB is pressed twice to turn ON the lamp again.

PLC Lamp Logic Condition

NOTE: Both the cases should satisfy in single program using minimum number of memories. Its user choice to pick the case option.

List of Inputs and Outputs

PLC Lamp Logic Inputs and Outputs

PLC Lamp Program

PLC Lamp Ladder Logic using Logic Condition

PLC Lamp Ladder Logic Description

RUNG 0000

Latching rung to operate the system through Master Start and Stop PB.

RUNG 0001

To store the status of start PB (When we released hand after we pressed it for first time) when lamp is in ON condition. Since we are using Push Buttons, Memory Switch B3:0/1 is connected in parallel.

RUNG 0002

To store the status of Start PB ON condition for second time to turn off the lamp (Refer CASE 1 in program logic).

Stop PB is connected in parallel as normally open PB to perform OFF condition of lamp.(Refer CASE 2 in program logic).

Since we are using Push Buttons, Memory Switch B3:0/2 is connected in parallel (Latching).

RUNG 0003

For CASE 2 condition, when lamp is turned off using stop PB, Start PB is pressed twice to turn on Lamp .Counter is used to count the ON condition of start PB.

Rung 0004

Main rung to connect the Previous rung condition in series and parallel to turn ON/OFF lamp according to program logic.

Note: Memory bits are used to store the status and get the sequence of operation.

Conclusion:

The above explained ladder logic for lamp turn ON/OFF is for example only. We can use this example program to understand the working of Push Buttons, memory bit and latching in AB PLC.

Author : Hema Sundaresan

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:

Diode Protection Modules ?

PLC Important Questions

Automatic Control using PLC

PLC Drilling Machine Logic

Metro Project using PLC Program

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 !

Continue Reading

Tia Portal – OB121 Programming Errors Interrupt Organization Block
PLC Scan Time
PLC Mixing Process with Adjustable Timer and Valve Control
Real-time PLC Projects – Industrial Automation
Loop Check of 4-20mA or HART Transmitters
Modbus Communication between Delta PLC with VFD
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
2 Comments
  • Steve Wurgler says:
    June 18, 2020 at 9:01 pm

    Do you have to reset the counter?

    Reply
  • Naveen says:
    July 26, 2021 at 10:23 am

    In 4th rung why did you used motor.?

    Reply

Leave a Reply Cancel reply

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

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Flood Warning System using Programmable Logic Controller
SCADA Systems
T Flip Flop PLC Ladder Diagram
Delta PLC Counter with Comparison
PLC Motor Logic with START, STOP, TEST Push buttons
Shutdown Motors in Timed Operation PLC Program
How to Use ModScan Software for Testing Modbus Communication?
Does Really a Safety Barrier is Important? – PLC DCS Systems

Keep Learning

PLC Programmer Salary and Future Career Scope

PLC Programmer Salary and Future Career Scope

Alarm and Trip Documentation

PLC Alarm and Trip Documentation

Color detection PLC logic

Conveyor Sorting System with Color Detection PLC Logic

PLC Sequential Operation Example Program

PLC Sequential Operation Example Program

Industrial Oven Control Application with PLC Controller

Industrial Oven Control Application with PLC Controller

PLC Program for Automatic Heating and Mixing of Products

Heating and Mixing of Products using PLC Example Tutorial

Brands PLC communication interface and protocol

Communicating Between Siemens PLC and Other PLC Brands

PLC Math instructions

PLC Math instructions

Learn More

Pressure Transmitter Calibration at the bench

Pressure Transmitter Calibration at the bench

Internal parts of relief valve

What is a Boiler Pressure Relief Valve?

Basics of Thermistors, Thermocouples and RTD's

Basics of Thermistors, Thermocouples and RTD’s

Inductive Transducers Objective Questions

Inductive Transducers Objective Questions

Magnetically coupled float indicates liquid level

What are Mechanical Level Indicators? – Classification & Principle

AND Logic in Bently Nevada Vibration System

AND Logic in Bently Nevada Vibration System

Relay Parts

Difference Between NO and NC Contacts

Thermo Electric Transducers Objective Questions

Thermo Electric Transducers Objective Questions

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?