Arduino PLC IDE Freezes when Connecting to Opta

After downloading the runtime environment and configuring the Modbus port as described in the Setup & License Activation Guide, I'm stuck at step 5. Whenever I try to connect the PLC IDE to the target, the Arduino PLC IDE freezes without any error messages. While the IDE freezes, another window popps up in the background which is listed as WinCommLibs in the task manager. Unplugging the USB cable unfreezes the IDE. Reinstalling the PLC IDE and IDE-Tools or loading a sketch from the classical Arduino IDE did not help.

2 Likes

I was in contact with customer support and they where able to help me. Apparently, this is a known issue with the PLC IDE version 1.0.4 and their developers are working on a bugfix. In the meanwhile, it helps to downgrade the PLC IDE to version 1.0.3. You can download it here.

3 Likes

Hey guys,
I am an automation tech on the factory floor. Worked with many PLC and have been playing with Arduino to send factory data to NodeRed. The hobbyist users are very tolerant of stuffing around with bug fixes, complex setup and much wasted time. From my side of industry we are after robust, simple software that doesn't glitch out. Please don't burn us with crappy software because for our clients, time is money and we value reliability over price of hardware.

2 Likes

A further thought to the Arduino techs. I hope your not using the Agile approach to software instead of an engineered solution. Fast iteration of software and sending out Beta versions in the field works of for mobile apps. In industry a traditional Engineered solution is much better. We cant have glitches and bugs, they are very costly to us. If Your Agile, I'm dropping your ecosystem until you really sort the bugs.
An annoyed industrial customer

1 Like

I'm having the same issue as above. I can talk to the Opto using the normal or online IDE. But it doesn't matter what version of the PLC IDE I use, it doesn't take the first initialisation download. What now?

Hi @scottmarshall ,

Sorry for any inconvenience you experienced with PLC IDE.
Please implement the following tutorial Opta™ Memory Partitioning for Use with the Arduino IDE.
Make sure that all the steps are completed, as it will be shown in the serial monitor. You can then configure your Opta in the PLC IDE.
If the problem persists, you can contact us via this form https://www.arduino.cc/en/contact-us/.

Best,

1 Like

Thanks for your helpful advise. I succeeded in downloading the MBED OS Opta, sketch and certificates to my opta. However in the PLC IDE it still wont take the initial setup in opta configuration via the com port. Any further ideas? I have used it previously for other sketches and it worked just fine.

thanks

Hi @scottmarshall ,
Please install the PLC IDE + Tools (version 1.0.3) currently available here https://www.arduino.cc/en/software#arduino-plc-ide.
Then put the Opta board in bootloader mode by double pressing the RESET button.
In 'Opta configuration' window of the PLC IDE, assign 'Port: Automatic (BootLoader)' as shown in the screenshot below.
Click Download, the runtime should be downloaded correctly.
Best,

Hello Having the same issue described in this thread, I downloaded version 1.0.6, should I go back to 1.0.3?

I had the same issue and for me it worked out after properly activate the licence.

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

I’m having the same problem. How am I supposed to activate the license if the activation requires connection to the device but the PLC IDE crashes when I’m attempting to connect?

I was pressing the "connect" button only after having completed the licence activation procedure. This worked for me.

The license activation is only possible after succesful connection.

Yes, you are right! I remember that what worked for me was using another port in the configuration (I had 2 available when the hardware was connected with the USB cable). In my case, it was COM9. This made my connection work. It was only after I activated the license. Sorry for the confusion.