LogixPro Traffic Control Lab Using TON Timers

PLC simulator exercises and training resources

Updated November 26, 2026

☰ Page menuExercise #1 -- Traffic Control using 3 LightsExercise #2 -- Traffic Control using 6 LightsExercise #3 -- Traffic Light With Delayed GreenRelated resources

What you’ll learn

  • Cascade on-delay timers
  • Sequence traffic lamps
  • Insert a clearance interval

Recommended prerequisite: PLC timer lab

Exercise #1 -- Traffic Control using 3 Lights

From the Simulations Menu at the top of the screen, Select the Traffic Light Simulation

trafLite — LogixPro

Using your knowledge of cascading timers, develop a ladder logic program which will sequence a set of green, amber and red lights in the following manner:

Sequence of Operation:

  1. Light O:2/00 (Red) = 12 seconds ON
  2. Light O:2/02 (Green) = 8 seconds ON
  3. Light O:2/01 (Amber) = 4 seconds ON
  4. The sequence now repeats with Red = ON.

<----------------- Time in Seconds ------------------>

RED GREEN AMBER
12 Sec. 8 Sec. 4 Sec.

Exercise #2 -- Traffic Control using 6 Lights

Modify your program so that the 3 lights which represent the other traffic direction are also controlled. It is tempting to use six Timers for this task, but the job can be done with just four, and you'll end up with a much cleaner program as a bonus.

Red = O:2/00 Green = O:2/02 Amber = O:2/01
Green = O:2/06 Amber = O:2/05 Red = O:2/04
8 Sec. 4 Sec. 8 Sec. 4 Sec.

Still getting the odd Crash? Well it's pretty obvious that these drivers aren't paying much attention to Amber Lights! No need for any more wiring however. You can solve this problem, but it's going take a little more programming.


Exercise #3 -- Traffic Light With Delayed Green

Modify your program so that there is a 1 second period when both directions will have their RED lights illuminated. Note that the timing diagram below only shows one of these 1 second intervals but two are actually required. Work the problem out, and try to keep the Timer count down to six.

Red = O:2/00 Green = O:2/02 Amber = O:2/01
Green = O:2/06 Amber = O:2/05 Red = O:2/04
8 Sec. 4 Sec. 1 8 Sec. 4 Sec.

If a one second delay is not enough to get these drivers under control then just go ahead and jack the delay up to two!

......

Lesson FAQs

How can I avoid conflicting green lights?

Test each phase and ensure the opposing greens cannot be commanded together.

What is the purpose of delayed green?

It provides a simulated all-red clearance interval before the opposing traffic is released.