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
- 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.
- Timers are used to give time delay for output to turn on and off.
- Reset using timer done bit at the end to run the program continuously.
- Program done in AB RSLogix 500 Software.
List of Inputs and Outputs
Sequence of Operation
Below tabular column gives the Steps or sequence of outputs to turn ON the traffic system lamps (RED, GREEN, YELLOW)
PLC Ladder Logic
Latching rung to operate the system through Master Start and Stop PB.
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.
Turning on North Yellow and East Yellow. Parallel circuits are added to turn ON/OFF the output in up next sequence.
Turn on East Red and North Green.
Same procedures followed to turn on further outputs.( Refer Above Tabular column for sequence of operation)
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
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.
If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.