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
t683-2-17
Hello, may I ask how to proceed, such as downloading the program to BluePill.
[203128%2F9516198%2Fmceclip0]
[203128%2F9516199%2Fmceclip0]
Reply 0 0
thiagoralves
Hello, may I ask how to proceed, such as downloading the program to BluePill.
You need to untick the “compile only” checkbox
Reply 0 0
t683-2-17
Thank you for your reply! I have successfully downloaded the program to BluePill once.
Then when I associated the pins, I encountered the problem shown in the following picture. May I ask what happened.
Sorry, I want to solve these problems but don't have good resources, so I can only ask you for advice.
[203128%2F9517488%2Fmceclip0]
[203128%2F9517490%2Fmceclip0]
Reply 0 0
t683-2-17
You need to untick the “compile only” checkbox
I set 'class' to' local ', so there won't be any errors. May I ask how to debug next, such as monitoring ladder diagrams.
[203128%2F9517523%2Fmceclip0]
Reply 0 0
t683-2-17
You need to untick the “compile only” checkbox
If debugging is not currently supported, it seems like I need to go back to the V3 version and try it out.
Reply 0 0
thiagoralves
Online debugging has not been implemented in the OpenPLC Editor v4 yet.
.
Reply 0 0
Angelo_KARTE
Great News!!!!!!!!!!!!!!!!!!!
Reply 0 0
Angelo_KARTE
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!
Great News!!!!!!!!!!!!!!!!!
Reply 0 0
l1s9v88
 
upload directly to Arduino boards straight from the IDE
 
 
How to do this?
Reply 0 0
thiagoralves
 
 
How to do this?
Select your board at the device configuration screen and then click on build button at the left sidebar (button with a folder icon and a down arrow)
Reply 0 0
Evenmerk
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!
May i know if in this version if there is a way to use a GPIO extender for esp and arduino boards. if there is may i know how?
thank you.😊😊
Reply 1 0
thiagoralves
May i know if in this version if there is a way to use a GPIO extender for esp and arduino boards. if there is may i know how?
thank you.😊😊
OpenPLC does not support GPIO extenders out of the box. You need to write your own code for that on an Arduino Extension. OpenPLC v4 does not have Arduino Extension implemented in this version. It will come in a future version with a different format
Reply 0 0
l1s9v88
First, you need to uncheck the "compile only" option🙂 But I still couldn't flash the firmware. Here's the file with the console contents.
Reply 0 0
thiagoralves
First, you need to uncheck the "compile only" option🙂 But I still couldn't flash the firmware. Here's the file with the console contents.
Either you selected the wrong board, or the wrong port, or your Arduino board is not working/broken/without bootloader
Reply 0 0
l1s9v88
Arduino IDE 2.3.6 flashes this board. But I specify ATmega328P (Old Bootloader) there. I couldn't find this option in the OpenPLC Editor.
Reply 0 0
Reply