PiPLC — Soft-PLC for Raspberry Pi¶
Turn your Raspberry Pi into a real Programmable Logic Controller
What is PiPLC?¶
PiPLC is an open-source Soft-PLC that transforms a Raspberry Pi (or any ARM SBC) into a fully functional programmable logic controller. It features a visual ladder logic editor built with Qt, a real-time execution engine, and hardware GPIO integration via libgpiod.
-
Visual Ladder Editor
Drag-and-drop ladder logic programming with 30+ instructions, parallel branches, and contact decorators.
-
Real-Time Engine
Configurable scan cycle (10ms–1000ms), up to 8 independent PLC contexts running simultaneously.
-
GPIO Integration
Direct hardware control via libgpiod. Supports generic GPIO, Explorer HAT Pro, and Modbus TCP.
-
Built-in HMI
Create interactive operator panels with buttons, indicators, sliders, and trend charts.
-
Remote Deployment
Program and monitor over WebSocket. Run headless as a systemd service with auto-reconnection.
-
Signal Router
Route data between independent PLC contexts — build multi-PLC systems on a single device.
Who Is It For?¶
| Audience | Use Case |
|---|---|
| Students | Learn PLC concepts with real hardware |
| Makers & Hobbyists | Home automation, robotics, DIY projects |
| Small Industry | Low-cost automation solutions |
| Engineers | Rapid prototyping of control logic |
| Researchers | Experimentation with control algorithms |
Get Started¶
-
Install PiPLC — Windows installer, Debian package, or build from source.
-
Your first program — Wire a button to an LED in 2 minutes.
-
Browse examples — Blink LED, motor control, traffic light, and more.