Hello!
I am trying to connect my Arduino Opta to cloud to monitor a pump station. There is a PLC there and I am generating alarms based on various digital inputs. I am thinking to use OPTA for control as well, but I would need to use IEC61131-3 standards. I have already tested a program in PLC IDE with Structured Text and it works ok. However I fail to connect the Opta PLC to cloud. My lab testing PLC and I have tried the following steps:
Add it to Arduino Cloud account.
Add it to PLC IDE - when doing so I will have from one COM (COM5) two COM's (COM5 and COM6).
In this case it dissapers and is shown offline in cloud
Add it first to arduino PLC IDE. Same situation from one COM I see two COM's.
Add it to Arduino Devices in Cloud will simply write a new empty skects in the process and PLC IDE now is not recognising it.
I have tried to follow the steps provided in this two links without success:
The approach is to first configure the board in Arduino Cloud: create a Thing, associate the device, and create the variables to monitor. Please note that there are no sketches to upload from the Arduino Cloud sketch tab to Opta.
Programming the board will then be done via the PLC IDE. The "Sketch" section of the PLC IDE will be used to connect the Opta to Arduino Cloud via Wi-Fi and to handle data exchange between the PLC program layer and the Arduino Cloud platform.
Please follow the tutorial steps one by one and make sure you have installed the latest version of PLC IDE available here: Software
In the sketch libraries section, please add the following libraries, along with the most recent version of each, available on Github:
After compiling and uploading the program, the board status will be online and the variables (counter and analog01) will be continuously updated on Arduino Cloud.
I have confirmed that my Opta is connected to my wifi network however the Opta does not connect to the cloud dashboard. I have followed the tutorial provided by @Hm_pro.
Any other thoughts to check? I'm thinking port forwarding or router firewall related stuff but wouldn't know where to start with that side of things.