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: PLC Program for Blinking Lamp on 5 Seconds Interval
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 > PLC Program for Blinking Lamp on 5 Seconds Interval

PLC Program for Blinking Lamp on 5 Seconds Interval

PLC Blinking Lamp on 5 Seconds Interval using Ladder Logic. When user presses the SWITCH then lamp will energize & remains ON for 5 seconds time duration.

Last updated: November 3, 2023 11:07 am
Editorial Staff
PLC Tutorials
4 Comments
Share
3 Min Read
SHARE

This is a PLC Program for Blinking (ON/OFF) lamp at 5 seconds interval.

Contents
Blinking LampProblem DiagramProblem SolutionList of Inputs & OutputsPLC Ladder Diagram for Blinking LampProgram ExplanationResult

Blinking Lamp

Problem Description

Make the Indicator or lamp ON after five seconds and OFF after five seconds.

Make a program which switch ON lamp for 5 seconds, then OFF for 5 seconds, then ON for 5 seconds & again OFF for 5 seconds, and so on.

Problem Diagram

PLC Program for Blinking Lamp on 5 Seconds Interval

Problem Solution

This problem can be solved by using timers. In this case we will use TON (ON Delay Timer).

For explanation we consider one SWITCH for enabling the ON/OFF cycle and one lamp for output.

When user presses the SWITCH then lamp will energize and remains ON for 5 seconds after that it will OFF for 5 seconds. This cycle will repeat itself.

List of Inputs & Outputs

Inputs List

  • SWITCH : I0.0

Outputs List

  • Lamp : Q0.0

M Memory

  • M0.0 : bit memory for lamp OFF condition.

PLC Ladder Diagram for Blinking Lamp

PLC Blinking Lamp
PLC lamp OFF
ladder logic blinking light

Program Explanation

In this problem, we will consider S7-1200 PLC and TIA portal software for programming.

Network 1:

In this network when SWITCH (I0.0) is pressed, when the lamp OFF condition is not present then the lamp (Q0.0) will be ON.

So here we used NO contact of SWITCH (I0.0) and NC contact of lamp OFF condition (M0.0).

Network 2:

In this network when lamp (Q0.0) is ON then TON (ON delay timer) instruction will be executed and it will set the lamp OFF condition.

So we have taken here NO contact of lamp (Q0.0), TON timer and programmed time is 5 seconds.

Network 3:

As per our condition, lamp OFF condition (M0.0) should be OFF after 5 seconds delay, so we have used TON again.

So we used NO contact of lamp OFF condition (M0.0) and TON with 5s programmed time.

Result

PLC Lamp Ladder Logic

Author: Bhavesh

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:

  • Lamp Control in Storage Facility
  • PLC Level Control of Two Tanks
  • Automatic Coffee Vending Machine
  • PLC Two Way Switch Logic
  • Counting Moving Objects PLC
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

What is Resources Tab in the Siemens PLC?
What is a Data Block? Global Data Blocks in PLC
Allen Bradley PLC Interview Questions and Answers
History of Programmable Logic Controllers (PLC)
PLC Interview Questions and Answers
#20 PLC Best Practices – Identify Critical Alerts
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
4 Comments
  • powerup1 says:
    June 24, 2020 at 2:09 pm

    Timer in Networ 3 must have different name.

    Reply
  • Eva B says:
    April 25, 2021 at 5:42 pm

    Thank you very much. It is working and I understood thanks to you also how to refer to things. Thank you, thank you

    Reply
  • N Reddy says:
    June 25, 2021 at 4:49 pm

    Very thankful for extraordinary explaining.

    Reply
  • Yasin hammoudehvery nice says:
    September 24, 2022 at 9:23 pm

    Very nice, I designed a full automatic clothes washing machine
    1 soaking 10 minutes
    Drain 0
    Cold s.v 1 over pressure switch
    Fwd and rev cycle
    Then drain
    2 Washing 25 minutes
    3 1st rinse
    4 2nd rinse
    Buzzer and led also for each cycle

    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

PLC Light Sequence Control using Bit Shift Registers
Electrical and Instrumentation – Automation Pre-engineering Documents
Automatic Coffee Vending Machine – PLC Logic Programming
Complete PLC Project: Traffic Light Auto and Manual Automation
Two Hand Control Logic using PLC
Test and Process Modes in Siemens PLC
Single Push button to ON and OFF a Bulb using Ladder Logic
Importance of Grounding Electronic Equipment

Keep Learning

Motor Feedback Fail Logic in PLC

Motor Feedback Fail Logic in PLC

Siemens CPU Clock Memory

Alarm Acknowledge using PLC

HMI Simulation for PID Controller

PID Controller Output Types – PID_PWM and PID_Output

AI AO DI DO Questions

AI, AO, DI, DO Questions (PLC I/O Types)

Run 4 Motors Sequentially from Same Push button PLC Program

Run 4 Motors Sequentially from Same Push button PLC Program

Configuration of Siemens Scada and PLC

Configuration of Input and Output Tags in Siemens Scada and PLC

PLC SCADA Water Pump

PLC Program for Controlling a Water Pump with 3 Power Sources

PID Block in RSLogix 500

PID Block in RSLogix 500

Learn More

Advantages of Three Phase System Compared to Single Phase System

Advantages of Three Phase System Compared to Single Phase System

NH3 Storage Tanks Ammonia Gas

NH3 Storage Tanks Ammonia Gas Venting Issue – Root Cause Analysis

What is Eddy Current and Eddy Current Loss

What is Eddy Current and Eddy Current Loss?

Power Systems Questions & Answers

Power Systems MCQ Series 1

High-Speed and Fast Counters in PLC

What are High-Speed Counters and Fast Counters in PLC?

What is an Orifice Flange ?

What is an Orifice Flange? – Purpose and Applications

Special Purpose Diodes Interview Questions & Answers

Special Purpose Diodes Interview Questions & Answers

Control Valves - Repeat Actuator Diaphragm Bursts

Control Valves – Repeat Actuator Diaphragm Bursts

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?