Skip to content

PiPLC — Soft-PLC for Raspberry Pi

PiPLC Logo

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.

    User Guide

  • Real-Time Engine


    Configurable scan cycle (10ms–1000ms), up to 8 independent PLC contexts running simultaneously.

    Architecture

  • GPIO Integration


    Direct hardware control via libgpiod. Supports generic GPIO, Explorer HAT Pro, and Modbus TCP.

    GPIO Reference

  • Built-in HMI


    Create interactive operator panels with buttons, indicators, sliders, and trend charts.

    HMI Guide

  • Remote Deployment


    Program and monitor over WebSocket. Run headless as a systemd service with auto-reconnection.

    Deployment Modes

  • Signal Router


    Route data between independent PLC contexts — build multi-PLC systems on a single device.

    Signal Router


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.

    Installation

  • Your first program — Wire a button to an LED in 2 minutes.

    Quick Start

  • Browse examples — Blink LED, motor control, traffic light, and more.

    Examples