PLC Traffic Signal Controller (OpenPLC)
Four-way intersection controller in IEC 61131-3 FBD on OpenPLC/Arduino — 33 s cycle plus a priority emergency-flash mode.

A four-way intersection must release one approach at a time, safely, and warn every driver during emergencies.
Designed a 33-second timing plan and an emergency mode (all yellows flashing 1.5 s ON / 1.5 s OFF), programmed it as a Function Block Diagram with TON/TOF timers and interlocks, validated it in the OpenPLC simulator, then ran it on an Arduino Uno driving a scale intersection model.
Simulation traces and hardware tests matched the timing plan exactly; the emergency mode always overrides the normal cycle.
Abstract—This paper presents the design, simulation and hardware implementation of an automated signal controller for a four-way road intersection. The controller operates in two modes: a standard fixed-time sequence that releases one approach at a time over a 33-second cycle, and an emergency mode in which all yellow lamps flash with a 1.5 s ON / 1.5 s OFF period. The logic is written as an IEC 61131-3 Function Block…
PLC-Based Automation of a Four-Way Traffic Signal with an Emergency Flashing Mode Using OpenPLC and Function Block Diagram
Saad Bin Zikria, Salman Sajid — Dept. of Mechatronics & Control Engineering, UET Lahore
This paper presents the design, simulation and hardware implementation of an automated signal controller for a four-way road intersection. The controller operates in two modes: a standard fixed-time sequence that releases one approach at a time over a 33-second cycle, and an emergency mode in which all yellow lamps flash with a 1.5 s ON / 1.5 s OFF period. The logic is written as an IEC 61131-3 Function Block Diagram (FBD) using on-delay and off-delay timers, latching inputs and Boolean interlocks, and is executed…
Keywords: PLC, function block diagram, IEC 61131-3, OpenPLC, traffic signal control, timers, interlocking, industrial automation
More projects

Custom SCADA & OEE Monitoring System
A plant-wide, custom-coded monitoring system: Modbus TCP loggers, PostgreSQL history, editable OEE formulas and a 1-second live dashboard.

Wire-Rod Drawing SCADA, 3D Digital Twin & Edge Vision
Read-only SCADA for two straight-line wire-drawing machines: two PLCs with the same IP read from one industrial PC, a live 3D digital twin, and edge vision for operator safety zones.
Abstract—Filling stations are a core building block of FMCG packaging lines. They need precise sequential control and safety interlocks at every stage. This paper presents the design and simulation of an electro-pneumatic bottle filling line controlled by relay logic and discrete sensors. Bottles are conveyed, detected, positioned by a pneumatic stopper, filled through a solenoid-controlled valve for a timed interval, and…
Pneumatic Bottle Filling Line
Relay and sensor-based automation model of a filling line with safety interlocks and sequential control.