-
Notifications
You must be signed in to change notification settings - Fork 1
OpenPLC
Hamza BENDALI BRAHAM edited this page Nov 20, 2022
·
1 revision
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"
}
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.