THE WORKSHOP / TRAFFIC SIGNALS & PLC CONTROL
The Crossroads Lab
One left-turn lane, two through lanes, and one right-turn lane on each approach. North and south left arrows run together, then north and south through/right signals. East and west follow the same paired sequence. With demand on only one side, its left arrow and through/right green can run together. All movements stop for pedestrian crossings.
Paired service: opposing left arrows or through/right signals run together.
CENTRAL COMMAND / PLC-01
Operate the intersection.
Live simulated telemetry.
Select a command. Requests use the controller’s signal transitions.
All-red hold finishes any active pedestrian crossing and clears vehicles first. Direction requests follow clearance and pending pedestrian calls. Network loss blocks remote commands; local control continues.
Acknowledging records operator awareness. An active condition remains visible until it clears.
Operator command history 0 entries
| Simulation time | Command | Result |
|---|
ENGINEERING WORKSTATION / PROGRAM EDITOR
Change the logic. Watch the result.
This editor supports the assignments and Boolean expressions shown here. It is a small simulation dialect inspired by Structured Text. Changes run in this browser tab; reloading restores the published default program.
MinGreen, MaxGreen, Yellow, and AllRed apply to paired and single-approach phases. EndGreen is evaluated during each green. An opposite-side arrival ends combined service after minimum green, even if EndGreen remains false; yellow and all-red clearance still follow. The controller owns the clearance and pedestrian interlocks.
- Green: minimum 2–45 s; maximum up to 60 s.
- Yellow: 2–10 s. All-red clearance: 1–10 s, extended until the intersection clears.
- Pedestrians: protected crossing stays at 30 s. WALK is adjustable from 3–10 s.
- Dimmer: choose minimum and maximum output from 10–100%.
A downloaded program waits for a clear all-red boundary. Existing signals and the active crossing finish under the current program.
Supported expressions & inputs
AND, OR, NOT, parentheses, TRUE, FALSE, and comparisons >= <= > < = <>.
GreenTime: elapsed green secondsMinGreen / MaxGreen: timer settingsPedCall: pending pedestrian requestOpposingCall: demand outside the active service group; during a single-approach phase, any opposite-side demand waitsCurrentOccupied: detector occupancy in any currently served lane, including all lanes during single-approach service
BEHIND THE INTERSECTION
From field input to physical action.
Controller / CPU
Reads detector and pushbutton inputs, runs the signal sequence, and commands the field outputs.
FIELD OUTPUTS Signal drivers · Pedestrian indicators · Dimmer
AO0 dimmer: 8.3 V · Adjust daylight to see the scene and lamp intensity respond.
Controller events
The loaded program sets the green, yellow, and clearance timers. Detector calls and the editable EndGreen condition determine when a phase ends. The maximum green timer bounds every cycle.
Once the current vehicle phase and clearance finish, requested crossings receive 30 seconds. The program sets the WALK interval; the remaining time is reserved for finishing the crossing.
Disconnect Ethernet to take the workstation offline while the PLC continues controlling the intersection. Local diagnostics remain visible for learning.
Educational simulation with illustrative timing, I/O, and network addresses. Four incoming lanes and four outgoing lanes per road; turning paths, paired phases, and single-approach combined phases are simplified. Real road installations require purpose-built traffic controls and site-specific engineering. At 1×, the crossing countdown lasts 30 real seconds.