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 Programming to Control Lights in a Sequence
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 Programming to Control Lights in a Sequence

PLC Programming to Control Lights in a Sequence

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

Develop ladder logic program for a display sign that will sequentially turn ON.

Contents
PLC Programming Sequence LogicProgram Description:Rung 0000:Rung 0001:Rung 0002:Rung 0003:Rung 0004:Rung 0005:Rung 0006:Rung 0007:Rung 0008:Program Output:When Timers preset value is 3When Timers preset value is 2When Timers preset value is 1Conclusion:
PLC Programming Sequence Logic
  1. Three lights (L1, L2, L3) 3 sec apart.
  2. Turn Off all the lights after 6 sec.
  3. Three lights (L1, L2, L3) 2 sec apart.
  4. Turn Off all the lights after 4 sec
  5. Three lights (L1, L2, L3) 1 sec apart.
  6. Turn Off all the lights after 2 sec.
  7. Repeat the sequence from step 1

PLC Programming Sequence Logic

PLC Programming to Control Lights in a Sequence
PLC Program to Control Lights in a Sequence
Simple PLC program for light control system
Programming a PLC to Control a Light

Program Description:

Rung 0000:

Start/Stop PB latched with memory B3:0/0.

Rung 0001:

B3:0/0 enabled to turn on L1  (O:0/0 ) and Timer  T4:0 to turn on L2.

Rung 0002:

B3:0/0 and T4:0 enabled to turn on L2  (O:0/1 ) and Timer  T4:1 to turn on L3.

Rung 0003:

B3:0/0 and T4:1 enabled to turn on L3 (O:0/1 ) and Timer  T4:2 to turn on L3.

Rung 0004:

B3:0/0 and T4:2 enabled to turn on Timer T4:3 to Set the timers (T4:0, T4:1, T4:2 and T4:3)  preset to 2sec using move block. Comparator blocks which performing equal operation among counter accumulator and timer accumulator value.

Rung 0005:

The counter block is used to count the number of sequences to choose the preset value of timers.

Rung 0006:

B3:0/0 and comparator block enabled to Set the timers (T4:0.T4:1, T4:2 and T4:3)  preset to 1sec using move block. Comparator blocks which performing equal operation among counter accumulator and timer accumulator value.

Rung 0007:

B3:0/0 and comparator block enabled to Set the timers (T4:0.T4:1, T4:2 and T4:3)  preset to 3 sec using move block. Comparator blocks which performing equal operation among counter accumulator and timer accumulator value.

Rung 0008:

B3:0/0 and comparator block enabled are used to reset the counter to repeat the sequence from beginning

Program Output:

When Timers preset value is 3

PLC Program for Sequentially Light on Application

When Timers preset value is 2

PLC control of lights

When Timers preset value is 1

ladder program for on off control of lamp

Conclusion:

We can use this example to understand the programming logic in Allen Bradley Programmable Logic Controller (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:

JUMP Instruction in PLC Programs

Master Control Reset (MCR) in PLC

One-Shot Rising & Falling Instructions

Sequence and Logic Control in PLC

Scaling with Parameters Instruction

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 !
Daily Alarm PLC Program using Real-Time Clock
#3 PLC Best Practices – Leave Operational Logic in the PLC wherever feasible
What is CODESYS? Why Do You Need to Learn it?
How to Download EcoStruxure Machine Expert? Schneider PLC Software
Simulation of Studio 5000 and FactoryTalk View Studio
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

  • 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
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

How to Train Your Maintenance Team for Industrial Automation Systems

How to Train Your Maintenance Team for Industrial Automation Systems?

Types of Interrupts Organization Blocks in Tia Portal

Types of Interrupt OB in Siemens Tia Portal

Reset Logic for pump Run Hours

PLC Program to Count Running Hours of any Equipment

Introduction to SCL Programming in Siemens PLC

Types of Expressions in the SCL Language of the Tia Portal

Free Industrial Control System (ICS) Cyber Security Training Course

Free Industrial Control System (ICS) Cyber Security Training Course

How CPU Execute Program in Siemens PLC?

How CPU Execute Program in Siemens PLC?

Procedure For reading or searching the tag number in Siemens PLC

Procedure for Reading or Searching the Tag number in Siemens PLC

PLC Documents

PLC System Documentation

More Articles

Ladder Logic Vs. Other Programming Languages - PLC Basics

Ladder Logic Vs. Other Programming Languages – PLC Basics

Oxygen Analyzer Principle

Oxygen Analyzer Working Principle

PLC Program for Automatic Bottle Rejection System

PLC Program for Automatic Bottle Rejection System

Pressure Gauge Datasheet Preparation

How to Prepare Pressure Gauge Datasheet ?

Deluge Valve Operation using Solenoid Valve Animation

Deluge Valve Operation

Stepper Motors Objective Questions & Answers

Stepper Motors Objective Questions & Answers

PLC Latched Circuit Example

PLC Latching Function

Working Principle of Water Chillers

HVAC Water Chillers Principle

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?