SimplePLC is a lightweight, software-based PLC designed for educational use, simulations, and small-scale automation projects.
- Modbus TCP & OPC UA servers
- Lua scripting for control logic
- 100ms cyclic execution with hot-reload
- Cross-platform (Linux, macOS, Windows)
mkdir build && cd build
cmake ..
makeLinux
sudo apt install libmodbus lua open62541macOS
brew install libmodbus lua open62541Ensure the following files are in the same folder (examples in scripts folder):
settings.iniactive.plc(optional)world.plc
Then run:
./SimplePLCBuild it yourself or get pre-built binaries from GitHub Releases.