Skip to content

Quick Start

Launch PiPLC

./build/bin/PiPLC
./build/bin/PiPLC-Engine --port 9100 --name "My PLC"
./build/bin/PiPLC-HMI --url ws://192.168.1.100:9100

Your First Program: Button Controls LED

  1. Open PiPLC
  2. Drag an XIC contact from the instruction palette onto the rung
  3. Set the address to I:0/0 (button)
  4. Drag an OTE coil onto the same rung
  5. Set the address to O:0/0 (LED)
  6. Press ++f5++ to start the simulation
  7. In the simulation panel, toggle I:0/0 — you'll see O:0/0 light up
    ──[ I:0/0 ]──────────( O:0/0 )──
       Button              LED

Congratulations!

Your first PLC program is running. When I:0/0 is TRUE, O:0/0 energizes.

Next Steps