PLC + IoT Vehicle Barrier for a Port Gate
PLC (IEC 61131-3) · biometrics · REST integration

An intelligent control system for a vehicle barrier at EMPORNAC, the port authority in Puerto Barrios, Izabal, combining a PLC with IoT. It is built for a high-security site that needs robust, continuous operation and follows IEC 61131-3. In normal use the driver places a fingerprint, the guard checks the papers and registers the truck in the port's web system, and the controller picks the new record up over Ethernet and raises the barrier. If the network fails it falls back to local fingerprint validation, and a physical key always works for authorised staff.
Technologies
My role
Project lead. Designed the control logic and the three operating modes, the control cabinets and indicator panel, the power and control wiring and the integration with the client's web system, and delivered the full technical documentation.
Highlights
- Three operating modes: online validation against the client's database, local fingerprint fallback and a manual key for authorised staff
- The PLC polls a REST endpoint per gate (?puesto_id=X) that answers 1 to open or 0 for no action, keeping controller memory use minimal
- 10 status indicators: power, fan, PLC running, fingerprint approved or denied, barrier rising or lowering, and manual, local or online mode
- Cooling fan with its own mode selector to keep the electronics within safe temperatures
- Designed for 24/7 operation under any condition
- Full technical documentation: schematics, power and control wiring, cabinet machining and assembly, process flows, use cases, deployment and network diagrams
Screenshots and diagrams




