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
Notification Show More
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

How to Convert Current to Voltage using Resistor ?
PID Block in RSLogix 500
Comparison of Proportional Integral Derivative Controllers (PID)
What is NOR Flash Memory in PLC?
Difference Between Microcontroller and PLC
PLC Program to Control Gas Pressure using Closed-Loop
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

What is a Watchdog Timer in PLC?
Water Fountain Control Logic – PLC Exercises and Solutions
Converter Instruction in Siemens PLC Programming
Basic PLC Alarm Programming Example
Exhaust Fan Control: Example of PLC Timer Programming
What are Analog Inputs? – Analog Signals Processing in PLC
Delta HMI and VFD Control with Modbus
AI, AO, DI, DO Questions (PLC I/O Types)

Keep Learning

Difference between Analog Signal and Digital Signal

What are Analog and Digital Signals? Differences, Examples

UDT in the PLC Programming

Implement UDT in PLC Programming: User-Defined Data Type

Example of Automated Guided Vehicle with PLC

Example of Automated Guided Vehicle with PLC

Difference Between Wifi and Industrial Wireless

Difference Between Wifi and Industrial Wireless

Compare Servo Motor and Stepper Motor

Compare Servo Motor and Stepper Motor

Introduction to PLC

Introduction to PLC – Advantages of PLC

PLC Ladder Logic Door Open and Closing System

Which Language is Best for PLC Programming?

PLC Important Questions and Answers

PLC Important Questions and Answers

Learn More

What is RTD Sensitivity ?

What is RTD Sensitivity ?

History of Measurement

History of Measurement

Learn SCL programming from scratch

How to Start Writing SCL Language in Siemens Tia Portal?

Pyrometer

Pyrometers Handbook

Quiz on Alternators, Motors, and Transformers

200+ Quiz on Alternators, Motors, and Transformers

Power Electronics Objective Questions

Thyristor Firing Objective Questions

ProfiBus Questions and Answers

Latest ProfiBus Questions and Answers

Transformer Open and Short Circuit Tests

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?