PLC ide & arduino ide on the same OPTA

Dears,
I'm evaluating to buy an OPTA instead of a Siemens logo to manage an HVAC system tant require 6 PT100 and 3 digital output.
I need to monitor it from remote and send it some on/of instruction (may be with Arduino cloud)

My idea is to programm the opta using PLC IDE (I'm familiar with that) , but i seen that some funcions like USB datalogging, Modbus connection,... are documented only in Arduino IDE.

My question is:
Is it possible to install and run at the same time a programm in PLC IDE and another in Arduino IDE?

there is some clear tutorial about that?
I'm worried about the fact that the support from the (small) community & producer seems to be poor.

I need to develop and switch on the system within march and no delay are allowed :frowning:

I've done Modbus communications on a mega (AVR) so I know you can do that outside of the IDE. I don't know about the other stuff though.

Did you mean arduino ide or plc ide?
Is it possible to configure modbus comunication in plc ide?

Hello igorte

You can configure your Modbus connection in the Arduino PLC IDE following the tutorial:

https://docs.arduino.cc/tutorials/opta/opta-modbus-tcp-plc-ide

In this case the tutorial is focused on Opta+MODBUS TCP, a similar tutorial focused on Opta+RTU will be published soon.

You can also follow this tutorial to have more details about how Arduino PLC IDE manages Modbus connections in the Portenta Machine Control and Opta:

https://docs.arduino.cc/software/plc-ide/tutorials/modbus-setup

It is possible to run a PLC IDE program and an Arduino Sketch at the same time, inside the PLC IDE you will find a section where you can add and edit your sketch:

image

Regarding how to connect your Opta to the Arduino Cloud using PLC IDE + Arduino Code you can follow the tutorial:
https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-cloud-support

If you are planning to do a professional implementation and still have problems or doubts please don't hesitate to contact Arduino through this form so my colleagues can help you better:

https://www.arduino.cc/en/contact-us/

2 Likes