thiagoralves
Big news for the OpenPLC community!
The long-awaited Arduino support has arrived in the new OpenPLC Editor v4.0.6-beta 🎉

You can now design your logic in OpenPLC and compile + upload directly to Arduino boards straight from the IDE. This includes support for popular platforms such as RP2040, ESP32, ESP8266, STM32, and more.

This feature has been one of the most requested since the launch of the new v4 Editor, and it opens the door for students, makers, and professionals to bring their automation ideas to life on low-cost, widely available hardware.

In addition to Arduino support, v4.0.6-beta also brings:
- Fixes for Variable Table text format
- Improved updates for User Function Blocks
- Enhanced autocomplete in Structured Text

Download the release here: https://github.com/Autonomy-Logic/openplc-editor/releases

This is a huge step forward for making industrial automation more accessible and open-source. Can't wait to see what the community builds with it!
Reply 7 0
PeBi
Danke für die neue Version.
Ich habe jetzt mal ein paar Dinge versucht, aber....
Problem Nr.1
Das Herunterladen eines Programms auf meinen Arduino UNO mit der Version 4.0.6 ist nicht möglich.
Anscheinend wird der COM-Port nicht richtig erkannt.
Solange der Arduino nicht verbunden ist, bleibt das Feld "Communcation-Port" leer.
Nach Verbinden mit dem Rechner und aktualisieren wird im Feld "Communcation-Port" -Status- angezeigt.
Das Hochladen endet dann mit fogenden Meldungen:
[15:56:10]: Arduino program compiled successfully.
[15:56:10]: Uploading program to board...
[15:56:16]: Upload failed with code
[15:56:16]: avrdude: ser_open(): can't open device "Status": Das System kann die angegebene Datei nicht finden.
[15:56:16]:
[15:56:16]: Fehlgeschlagenes Hochladen: Hochladefehler: exit status 1
[203128%2F9506997%2Fmceclip0]
Reply 1 0
PeBi
Problem Nr.2
Zum Einfügen eines Funktionsblocks ziehe ich ihn von links in die Oberfläche. (funktioniert)
Nach Doppelclick auf die 3 ??? erscheint die Auswahl aus der Bibliothek. (funktioniert)
Ein entsprechender Funktionsblocks kann ausgewählt werden und ist platziert. (funktioniert)
Aber...
Wenn ich aus der Gruppe "Bitwise" eine Funktion wähle (also AND OR XOR NOT) kommt es zum Absturz des Programms.
Reply 0 0
PeBi
 
Das betrifft scheinbar alle Standard-Funktionen der IEC......
Reply 0 0
djl
Danke für die neue Version.
Ich habe jetzt mal ein paar Dinge versucht, aber....
Problem Nr.1
Das Herunterladen eines Programms auf meinen Arduino UNO mit der Version 4.0.6 ist nicht möglich.
Anscheinend wird der COM-Port nicht richtig erkannt.
Solange der Arduino nicht verbunden ist, bleibt das Feld "Communcation-Port" leer.
Nach Verbinden mit dem Rechner und aktualisieren wird im Feld "Communcation-Port" -Status- angezeigt.
Das Hochladen endet dann mit fogenden Meldungen:
[15:56:10]: Arduino program compiled successfully.
[15:56:10]: Uploading program to board...
[15:56:16]: Upload failed with code
[15:56:16]: avrdude: ser_open(): can't open device "Status": Das System kann die angegebene Datei nicht finden.
[15:56:16]:
[15:56:16]: Fehlgeschlagenes Hochladen: Hochladefehler: exit status 1
[203128%2F9506997%2Fmceclip0]
Getting the same error 🙁 Maybe the update didn't install properly. Will remove and re-install to see if that does the trick
Reply 0 0
thiagoralves
Thank you for reporting these issues. There was a particular issue in the build process for the Windows image. We are regenerating that and will upload the new file soon. I'll ping you guys here once the new file is available for download. Then all you have to do is download the file again and reinstall.
Reply 1 0
djl
Very much appreciated! Keep up the amazing work 🙂
Reply 0 0
thiagoralves
@djl @PeBi The image has been updated with the correct version. Please download and install 4.0.6-beta again and let me know if it worked for you.
Reply 1 0
PeBi
Danke für das Update,
 
Das Einfügen der Funktionsblocks scheint jetzt zu funktionieren.
 
[203128%2F9511285%2Fmceclip0]
 
 
Das Hochladen auf den Arduino funktioniert jetzt auch.
Reply 1 0
sm7bc
Thanks for the new version looks great!
 I'll try compile a very simple AND gate but getting an error message at the end. Any idea?
Thanks
Compile.png
Reply 0 0
thiagoralves
Thanks for the new version looks great!
I'll try compile a very simple AND gate but getting an error message at the end. Any idea?
Thanks
Could you please post your project here for me to take a look? Thanks!
Reply 0 0
sm7bc
Hi,
How can I post it?
Thanks
Reply 0 0
thiagoralves
Compress the folder with the project in a .zip file and attach it here in your post
Reply 0 0
sm7bc
Here is it
Thanks
Reply 0 0
sm7bc
Hi Thiago,
 
Just create a new one and works fine. Other project was created with Version 4.03 I think, so my mistake. Thanks for your help.
AlexSuccess.png
Reply 0 0
Reply