ChatDiagram
Ladder · Traffic Control

Traffic Light Intersection Control

A two-phase traffic light controller: Phase NS runs North-South green for 30 seconds then transitions to yellow; Phase EW runs East-West green for 25 seconds with its own yellow. TON timers drive the phase durations with output gating.

Type Logique à relaisNorme IEC 61131-3 Ladder DiagramMoteur schematex-ladderMis à jour 27/05/2026
Traffic Light Intersection Control
Drawing preview
Le scénario

A PLC student must implement a two-phase signalized intersection controller as their first timer sequencing lab.

Ce que contient ce dessin

Comprenez les décisions qui le sous-tendent.

01

Phase bits (PHASE_NS, PHASE_EW) set/reset by a master sequence rung — decouples phase logic from output logic.

02

Green and yellow share the same phase bit; yellow enabled only when green timer DN fires.

03

XIO on timer.DN ensures each light turns off exactly when its timer expires, preventing simultaneous green outputs.

Add a pedestrian-call XIC to extend the green phase; add a left-turn arrow rung for a 4-phase intersection.

Voir tous les modèles de logique à relais →