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: Traffic Lights Ladder Diagram using Timers
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 > Traffic Lights Ladder Diagram using Timers

Traffic Lights Ladder Diagram using Timers

Design traffic lights ladder diagram using timers in the PLC programming to control the Red, Yellow, and Green signals.

Last updated: May 2, 2024 3:18 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Design the traffic lights ladder diagram using timers in the PLC programming to control the Red, Yellow, and Green signals.

Contents
Traffic LightsPLC Tutorial VideosInputs and OutputsLadder Diagram using TimersProgram DescriptionProgram Testing

Note: The content provided in this PLC programming example is for study purposes and is meant to help individuals with ladder logic basics.

Traffic Lights

Problem Statement:

Design a PLC ladder logic for the following application.

This is a basic traffic lights PLC program. We are using one toggle switch to control 3 Lights. Turn ON the following signals in sequence.

  • Green Light for 20 seconds,
  • Yellow Light for 5 seconds and
  • Red Light for 15 seconds.

PLC Tutorial Videos

Learn PLC programming in simple steps. Select the required PLC course on “Instrumentation Tools” YouTube channel and complete the training series.

This video explains the traffic lights PLC logic.

PLC Traffic Lights Ladder Diagram - Learning PLC Programming

Inputs and Outputs

Digital Inputs:

Start Button: I0.0

Digital Outputs:

Green: Q0.0

Yellow: Q0.1

Red: Q0.2

Ladder Diagram using Timers

Traffic Lights Ladder Diagram using Timers

Program Description

We have used Normally Open Contact for the Start Button(I0.0).

In Rung 0:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON the output  Green (Q0.0).
  2. Timer TP is used to Turn ON the output Green (Q0.0) for a limited time.

In Rung 1:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON the output Yellow (Q0.1).
  2. Timer TON is used to delay the turning ON time of the output Yellow (Q0.1) for some time.
  3. Timer TP is used to Turn ON the output Yellow (Q0.1) for a limited time.

In Rung 2:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON the output Red (Q0.2).
  2. Timer TON is used to delay the turning ON time of the output Red (Q0.2) for some time.
  3. Timer TP is used to Turn ON the output Red (Q0.2) for a limited time.

Program Testing

Let’s do the PLC program testing and observe the outputs status.

Rung 0:

When Start Button (I0.0) is turned ON, the signal will flow through Start Button (I0.0) as Normally Open Contact is used for Start Button (I0.0).

Traffic Signal Control with PLC Ladder Logic Programming

The output Green (Q0.0) turns ON for 20 seconds because Timer Function Block type TP is used to turn ON the output Green (Q0.0) for limited time and time is set to 20 seconds. After 20 seconds, the output Green (Q0.0) will turn OFF.

PLC Ladder Diagrams - Traffic Lights

Rung 1:

Traffic Signal Control with PLC Ladder Logic Programming

When Start Button(I0.0) is turned ON, the output Yellow (Q0.1) will turn ON after 20 s ( i.e immediately when the output Green (Q0.0) gets turned OFF) because Timer Function Block type TON is used to delay the turning ON time of the output Yellow (Q0.1) and the time is set to 20 seconds.

PLC Ladder Diagrams - Traffic Lights

The output Yellow (Q0.1) will remain ON only for 5 seconds as we have used Timer Function Block type TP to turn ON the output Yellow (Q0.1) only for limited time and the time is set to 5 seconds. So after 5 seconds, the output Yellow (Q0.1) will turn OFF.

traffic control using programmable logic

Rung 2:

PLC Ladder Diagrams - Traffic Lights

When Start Button(I0.0) is turned ON, the output Red (Q0.2) will turn ON after 25 seconds ( i.e immediately when the output Yellow (Q0.1) gets turned OFF) because Timer Function Block type TON is used to delay the turning ON time of the output Red (Q0.2) and the time is set to 25 seconds.

traffic control using programmable logic

After 25 seconds, the output Red (Q0.2) will turn ON. The output Red (Q0.2) will remain ON only for 15 seconds as we have used Timer Function Block type TP to turn ON the output Red (Q0.2) only for limited time and the time is set to 15 seconds. So after 15 seconds, the output Red (Q0.2) will turn OFF.

PLC Traffic Light Control System

If you liked this article, 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:

  • 4 Way Traffic Light Control System
  • Siemens S7 CPU LED Status & Errors
  • PLC-to-PLC Communication Project
  • Data Sharing Between PLC Systems
  • One-Shot Rising and Falling Edge
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

Check Block Consistency Tools in Simatic Manager
PLC Programming for 3 Motors control in Ladder logic
PLC based Metro Automation Project
Wiring in a PLC Control Panel
Motor Trip Logic using PLC Programming
Wiring Diagrams of PLC and DCS Systems – DI, DO, AI, AO
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Programming and Tuning PID Controller in PLC – Siemens TIA Portal
Hardwired I/O and Serial I/O – Differences Explained
VFD Commissioning and Testing Procedure (Variable Frequency Drive)
Timer-Based Sequential PLC Program with One Button
PLC Pump Permissive Interlocks
PLC Instruction List for Motor Reverse and Forward Direction
Why different PLC Programming Languages were Developed?
PLC Structured Text Program for Output Generation via Equations

Keep Learning

SCADA Run

PLC Based Industrial Conveyor Ladder Logic

Types of PLC

Types of PLC

Use of Isolators and Barriers in Electrical Panel

Use of Isolators and Barriers in Electrical Panel

PLC automation timers and counters

Medium-Level PLC Exercise for Students in Automation

PLC Program for Temperature Control using Thermostat

PLC Program for Temperature Control using Thermostat

Top Automation Vendors

Top Automation Vendors from Around the World – An Overview

Offline UPS

UPS Working Principle and Types – Offline and Online UPS Systems

Safety Considerations in PLC System Design

Safety Considerations in PLC System Design

Learn More

Modbus in Industrial Networks

How Modbus is used in Industrial Networks?

Power Electronics Objective Questions

PWM based Inverters in Power Electronics Quiz

Electrical Machines Questions and Answers

Synchronous Machine Multiple Choice Questions

Electrical and Instrument Engineers Job Profile

Instrumentation and Electrical Teams Interactions (Detail Design Engineering)

Hammer Handwheel

Valve Handwheel Types : Fixed, Hammer, Gear

Instrumentation Engineer Interview Questions

Interview Questions on PID Controllers

pH Analyzers Questions and Answers

pH Meters Questions & Answers

What is Optical Coating

What is Optical Coating?

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?