thiagoralves
Hello everyone!
 
I know that Arduino has its own Arduino PLC IDE, but many users have complained that it is not free, neither open source, and that it only runs on Windows. Therefore, I came here to announce that Arduino Opta now works on OpenPLC Editor!! 🙌
 
This means that you can now program your Arduino Opta on Windows, Linux or macOS for free! Just update your copy of the editor going to file -> check for updates. Then the new Arduino Opta entry will appear on the upload dialog.
 
The tricky part is that the Opta has digital and analog inputs combined on the same pins. To solve this, if you locate a variable at %IW0 for example, pin I0 will become an analog input. If you locate a variable at %IX0.0, then pin I0 will become a digital input. The editor automatically defines the type of the input pin according to the variables you define.
 
Please test this port thoroughly and let me know if you find any issues with it.
 
 
Happy coding,
 
Thiago Alves
Reply 6 0
Xiangming
Get it, thanks
Reply 0 0
az_max
Hi, Did anything become of this? I got an OPTA, and the old version of the OpenPLC editor didn't know about it.  I updated to a 2024 version, and the whole Arduino update part is gone. Can I still create a project to upload to the OPTA?
Reply 0 0
thiagoralves
Yes you can. Arduino Opta is one of the devices officially supported on OpenPLC Editor.
Reply 0 0
zeloko22
It's possible to connect Opta to the internet either via Ethernet or WiFi on OpenPLC Editor?
Reply 0 0
thiagoralves
Yes. Just enable Modbus TCP and all TCP connectivity will come with it. You can also
use the MQTT blocks to send and receive data. Check the MQTT examples for more info
Reply 1 0
zeloko22
Thank you Thiago for the answer! 
 
Another question is if it's possible to download the program via Ethernet just like the Arduino PLC IDE (which is bad as hell by the way). 
Reply 0 0
thiagoralves
No, for now you can only program through USB. You can debug through Ethernet though 🙂
Reply 1 0
zeloko22
Ok, thanks again for the info!
 
I would like to suggest that download trough Ethernet or WiFi become a feature someday... Image a scenario where you have a lot of Opta devices everywhere at an industrial facility all of then in the local network for energy measurement for instance... Would be realy nice to change something from my desktop haha. 
Reply 0 0
thiagoralves
One day you will be able to program them from your browser! Stay tuned…
Reply 2 0
richw
+1
Reply 0 0
Reply