OpenPLC - Proton-Electronics/proton-plc GitHub Wiki
Using with OpenPLC Editor
OpenPLC is an open-source Programmable Logic Controller that is based on an easy to use software. It is the first fully functional standardized open source PLC, both in software and in hardware. The OpenPLC project was created in accordance with the IEC 61131-3 standard, which defines the basic software architecture and programming languages for PLCs.
- Install
OpenPLC_Editor
from here - Copy this two files proton_arduino_a5.hal and proton_arduino_a5.cpp to
./OpenPLC_Editor/editor/arduino/src/hal/
- Add Board to
./OpenPLC_Editor/editor/arduino/examples/Baremetal/hals.json
.
"Proton Arduino PLC A5": {
"platform": "arduino:avr:nano",
"source": "proton_arduino_a5.cpp"
}
CREATING YOUR FIRST PROJECT ON OPENPLC EDITOR
Now that you’ve learned the basics around OpenPLC and Proton Adruino PLC A5, it’s time to get your hands dirty and code something on the OpenPLC Editor.This project is a simple on/off switch.