Opta sill not connecting to plc ide

Hi everyone, i bought the opta over half a year ago. That time it was unable to connect to the arduino plc ide as it was not supported. Due to having other resources at work (i work as plc software engineer in automation) i didnt try the opta since then.

Today i was in the mood to try it out again, but the opta still cannot connect to the plc ide.

  • I downloaded the newest version IDE, downloaded and installed the PLC-tools.
  • I have uploaded the first scetch from the arduino ide, connected the opta, selected the right port (same as in the arduino ide) run the first setup, changed the port in modbus settings to 247.

But still when i want to connect the IDE freezes a d crashes, or it gives [ERROR] in the bottom right corner without connecting and without giving an actual error code or message.

If arduino want to get serious about this they still have a long way to go.

Has the plc ide or the opta turned into abandonware? I see a lot of topics about this from the last year without an actual solution.

Did anyone manage to connect the opta to the plc ide?

Don't loose time to try connect PLC IDE and the Opta,it is unpossible. Sometimes it is possible sometimes it is unpossible.
You shouldn't expect much support from Arduino and Axel (software builder of PLC IDE) because they don't actually have a solution for it. The new version of PLC IDE 1.0.4 has been available for months now with the message 'coming soon'. I have not been able (after many hours/days of trying) to establish a stable communication with the Opta using the PLC IDE. Ultimately, I consigned the Opta to the trash bin and the Opta was classified as an unfinished product and not usable for professional applications.

2 Likes

Just loosed half a day on the same issue.

  • loading a simple program from arduino ide or platformio works.
  • loading PLC runtime from PLC IDE works... most times :-1:
  • connnecting to Opta from PCL IDE never worked (modbus second port, virtual serial).
    The PLC IDE hung/freezes any time tried to connect to Opta I should kill both the ide and com server using task manager.
    Rebooted, tried on another PC, reinstalled... no luck at all.

I'm going to try OpenPLC as last resort before considering returning back the Opta.

Installed OpenPLC, loaded a simple blink example, changed only the led location to %QX0.0 then uploaded to Opta. Worked at very first attempt without issues, so definitely my opinion is that the big issue is the Arduino PLC IDE.

1 Like

Try and download the IDE PLC 1.0.6 and install it.

I'm having the same issue i just got an opta i was able to download the initial sketch and get the 2 com ports but attempting to connect to the 2nd com port results in the IDE Freezing with the WinCommlibs window open and freezing also

Good morning everyone
I have plc ide 1.0.6 and there is no way to connect the opt.

I have seen that most people see it in the dfuse interface name:"internal flash 2mb", but for me it only appears in the dfuse interface name:"internal flash".

The reset LED once downloaded with com port 7 (in my case) keeps flashing green and I cannot connect to the plc.

Does anyone have an idea why the reset led keeps flashing when in all the videos I've seen it stays off and can they connect with the ide plc?

@joanala try to upload the example STM32H747_System > QSPIFormat
and then the entire PLC IDE Process
thanks

Thank you so much.
Following these steps you have connected the first time.
Thanks a lot

Where can I find STM32H747_System > QSPIFormat?

I don't understand how it is done, can you please help?

Hi @11thchair ,

The QSPIFormat sketch is available in Arduino IDE > File > Examples > STM32H747_System > QSPIFormat.

Hi @ekmert ,

Please implement the Memory Partitioning tutorial using Arduino IDE:

Then follow the steps indicated in the tutorial below to set up Opta in the PLC IDE:

2 Likes

This is the post that finally helped me connect the Opta (AFX0001) to Arduino PLC IDE. I would like to propose a slightly more detailed procedure for connecting an Opta to PLC IDE for the first time:

  1. Download the memory partition example presented in the above post ---> Open the latest version of Arduino IDE 2 (2.3.2 for me) ---> "Verify" the example code ---> Go to "Tools" ---> Set board (Opta for me) ---> set port to the LOWER number port (COM3 for me, not COM6) ---> Upload ---> If it fails, double press the reset button to get the breathing green ---> Change port to the only port (COM4 for me) ---> Upload ---> Open the serial monitor and watch the memory partitioning process complete until the on-screen text gives the OK to reboot ---> Reboot

  2. Go to latest version of Arduino PLC IDE (1.0.6 for me) ---> In the "Resources" tab, in the "Other" section, select the port "Automatic (Bootloader)" ---> Double tap the reset button to get breathing green ---> Go to "On-line" ---> "Set up communications" ---> "Modbus" ---> "Properties" ---> Set port to the bootloader port (COM4 for me) ---> 38400, N, 8, 1 --> Modbus, 247, 1000 ---> "OK" ---> Download ---> Reboot

  3. Now go to "On-line" ---> "Set up communications" ---> "Modbus" ---> "Properties" ---> change port to the HIGHER communication port (COM6 for me, the virtual comm port) ---> Now connect

  4. Activate the license following the Arduino guidelines presented in the above post

I swear this process is more difficult than what I did to deploy Optas before (~1yr ago). There are intricacies that are not explained or compiled well. I hope I have compiled them concisely here. Please tell me if I am wrong in any way.

Oh and if you connect and PLC IDE freezes, press the reset button once to reboot the controller. This normally unfreezes my PLC IDE when connecting/failed connection is the cause.

8 Likes

As many people, I had issues when connecting for the first time. On some computers it worked as spected, others don't, loosing many working hours.

In my last case, connection was impossible until the Opta was pluged to PC while running in 'bootloader mode' (that is pushing the reset button for 2 or more seconds). After that, windows detected a new device "Opta Bootloader" and everyting worked like a charm.

1 Like

'bootloader mode' (that is pushing the reset button for 2 or more seconds)

Alternatively you can just double click reset button, effect will be the same

Thanks @darrag212 , you're right about 'Bootloader Mode' activation. Sorry for the mistake.

1 Like

Funny - I see this post come out 10 days ago for me! Reached out to Arduino 13 days ago.. This is EXACTLY the post I was looking for. I will copy and paste this link for others having the same connection issues. dscialabba - you are amazing.

Thanks a lot for your time, describing so precise workflow.

Just bought the AFX00002 and unable to get it to connect. Tried all the options in this thread and many others. The normal IDE connects and can partition the memory but PLC IDE is a no. Most combinations of options don't even show more than one port. Windows will show a message that the hardware is unrecognized and disabled at other times. More often than not PLC IDE just hangs.
I'm interested in a solution from the community but with the hype I would expect the developer to actually address this correctly. As it stands my suggestion to others is to avoid this offering until it is fully engineered.

1 Like