Have any of you managed to connect Opta to the cloud and set up shared variables? Would anyone be able to break down step by step how this should be done or add an example? I have a ready made Ladder program in the PLC IDE, but unfortunately I am not able to connect this to the cloud.
I got it working yesterday, followed the process here: https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-cloud-support/ but before that I ran the QSPIFormat example in the Arduino IDE.
I found it very finiky to get working but once it worked it worked well. I would copy the project they supply in the documentation and try that.
I am running into another wifi related bug. I have the opta connected to a wifi hotspot on my phone, when I turn the hotspot off the opta will reboot. This seems really stupid to me, if I was in the middle of some code running on the PLC side it will stop if I am disconnected from the internet? Does anyone know a fix for this?
Also running into the issue where the PLC power cycles repeatedly when Wifi connection is lost. This is unacceptable behavior for an industrial controller.
I plan on connecting the Opta to Ignition(Inductive Automation) via Modbus or OPC-UA for a dedicated offline HMI/SCADA. For the PLC to abandon its task when it loses connection with the cloud/HMI is ridiculous.
For anyone else getting into this,
https://docs.arduino.cc/tutorials/opta/memory-partitioning/
This link will show how to upgrade the wifi FW and properly partition data
https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-cloud-support/
This link shows how to setup the PLC IDE to get the Opta Online