Level 10 of 23 · PLC lab
Pedestrian crossing
Level 10 of 23 in the PLC lab: a free PLC exercise at Intermediate level, which takes about 1 hour 15 minutes. A timed sequence with a push button, where one wrong light puts somebody in danger. It is a traffic light PLC program, which you write yourself and test on a simulated plant.
Goal
Run a push-button crossing through amber, walk and clearance on timers, never showing Walk to pedestrians while cars can move.
What you do
- Read the client brief and the tag table: 6 tags, 1 inputs and 5 outputs.
- Write the logic in ladder, Structured Text or SFC.
- Download it, press RUN and watch the plant answer your program.
- Run the factory acceptance test and fix what fails.
Done when
The factory acceptance test runs 5 numbered tests against your program. The numbers in the brief are drawn per learner.
- Cars keep green until somebody presses
- A press runs the whole cycle with the right times
- Presses during the cycle are ignored
- Holding the button runs one cycle only
- The crossing is ready for the next pedestrian
Skills
- Sequential control with timers
- One-shot (ONS) edge detection
- Safety interlocking of outputs
- State thinking
Before you start
Level 9, Tank filling pump, comes first. Do it first if the ideas are new to you.
Free, in your browser, nothing to install. Your work is saved on this device. Updated 4 Dec 2026.