Home » PLC based 4 Way Traffic Light Control System
PLC Tutorials

PLC based 4 Way Traffic Light Control System

We most often come across four way traffic jam in our city. This PLC ladder logic gives the solution to control city traffic  using programmable logic control.

4 Way Traffic Light Control

PLC based 4 Way Traffic Light Control System

Problem Solution

  1. They are so many ways to write a program for traffic light control ex: sequencer output method but in this normal input, outputs and timers are used.
  2. Timers are used to give time delay for output to turn on and off.
  3. Reset using timer done bit at the end to run the program continuously.
  4. Program done in AB RSLogix 500 Software.

List of Inputs and Outputs

S.noAddressNameInput/Output
1I:0/0StartInput
2I:0/1StopInput
3B3.0MemoryMemory
4O:0/0East GreenOutput
5O:0/1North RedOutput
6O:0/2West RedOutput
7O:0/3South YellowOutput
8O:0/4East YellowOutput
9O:0/5North YellowOutput
10O:0/6North GreenOutput
11O:0/7East RedOutput
12O:0/8West YellowOutput
13O:0/9West GreenOutput
14O:0/10South YellowOutput
15O:0/11South GreenOutput

Sequence of Operation

Below tabular column gives the Steps or sequence of outputs to turn ON the traffic system lamps (RED, GREEN, YELLOW)

PLC Traffic Light System

PLC Ladder Logic

4 Way Traffic Control

traffic light ladder diagram

4 way traffic light plc program

plc ladder diagram for traffic light system

traffic light plc program allen bradley

Logic Description

RUNG000

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

RUNG001

Starting the timer to turn on output East Green ,North-South-West are in red. Parallel circuits are added to turn ON/OFF the output in up next sequence.

RUNG 0002

Turning on North Yellow and East Yellow. Parallel circuits are added to turn ON/OFF the output in up next sequence.

Rung 0003

Turn on East Red and North Green.

Rung 0004-0005-0006-0007

Same procedures followed to turn on further outputs.( Refer Above Tabular column for sequence of operation)

RUNG 0008

Timer (T4:7) done bit is used to restart the cycle from beginning

Program runs continuously until STOP PB is pressed

Time delay of 10s has given using timers.

Note: We can reduce the number of timers using comparator block

Conclusion:

The above explained 4 ways traffic light control using PLC is for example only. It may vary from real time. We can use this example program to understand the working of timers and Interlocking function in AB PLC.

Author : Hema Sundaresan

Articles You May Like :

PLC Counters Program

PLC Logic GATE Program

DeMorgan’s Theorems PLC

PLC Math instructions

Engineering Logic Diagrams

Related Articles

PLC Program for Alarm Security System

S Bharadwaj Reddy

Basics of Permissive and Interlock Circuits

S Bharadwaj Reddy

Relay circuits

S Bharadwaj Reddy

Normally-open and Normally-closed Switch Contacts

S Bharadwaj Reddy

Down Counter PLC Program

S Bharadwaj Reddy

PLC Program for Continuous Filling Operation

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

PLC based 4 Way Traffic Light Control System

WordPress Image Lightbox

Send this to a friend