Trying to connect my OPTA to the newly updated PLC IDE. I had previously messed around with it using the basic IDE and got the user button to light up the LED using the tutorial then left it alone waiting for the PLC IDE to be updated for it. I have the OPTA connect with a USB C cable to my PC trying to do the "Manual sketch download (for first setup and re-initialization)" I have port 1, port 4 and Automatic available. When I plug in the OPTA port 4 shows up in my device manager however no matter what port is selected I get the same message:
Sketch generated is changed: true
Cannot generate profile file (error message: Error: Path not found)
I have power cycled the Opta, unplugged and replugged it in as well as tried the reset button on it many times. Doesn't matter whether or not the light above the reset button is lit or not same outcome. Also pressing/holding/double pressing the reset button does not get rid of the project the Opta is running it still has the project from before when I was messing around with the regular IDE. Any help much appreciated.
I solved it by simply connecting the opta to the normal IDE (2.x), uploading a sketch to it (any sketch). After doing that, I could upload the bootloader to the OPTA using the PLC IDE.
I was finally able to get it to work. I believe that updating the PLC IDE software is what caused the problem. I had originally had the version installed that did not support the OPTA. I downloaded the version that supported OPTA and installed it, it prompted that my installed version would be updated. I uninstalled and reinstalled the IDE using a new download file and all is working as expected.
I´ve got almost the same problem, I´ve been able to connect a couple of time I´ve activate the license and try download the plc program, the IDE warns me about cold restart i`ve clicked Yes and then I´ve got the download error... What´s the correct procedure to connect correctly with usb cable?
Now the IDE shows me error on the low right corner when I try to connect...
I had the same problems yesterday.
But I got it connected. Once you download the runtime a second COM port appears, this is the one you want to connect to (probably a higher COM number). The default Modbus RTU address is 1, change it to 247.
Did you ever get this working? I can compile and download the initialization sketch (at least it looks that way), but then after when I try to connect I get a connection error message in the bottom right of the IDE.
Not with the newest software. I went to the Finder site and downloaded the tools and the 1.?? PLC IDE software and was able to connect... I realized afterwards that with the latest software it never gave me a second com port to be able to connect to the Opta...
For those having this issue try in order the following checks:
Download the latest version of the software PLC IDE as well as the CLI Tools package directly from Arduino Software page. Watch for new updates regularly.
Then you need to download the runtime to the device. For that you need to figure out the right COM port first (you can easily check in Arduino IDE). If you see two different COM ports associated to the Opta, try the lower number first. At this stage, if you have compile issues most likely you need to update the PLC IDE software or CLI Tools (recommend to clear and reinstall everything from scratch). If you get upload error, verify the COM port. If still doesn't work, try to upload a basic code with regular Arduino IDE in bootloader mode. For that you must double tap the reset button (verify if a new COM port is enabled and select this new one) and upload. Then go back to PLC IDE, select the Opta's COM port and upload.
Once the runtime is downloaded a second COM port must show up. This is the one that needs to be setup to connect to the PLC IDE. Follow these instructions for more details.
If none of that worked please contact support here.
Can not use USB cable to connect PLC IDe and Opta PLC.
There is no step by step instructions for connecting and starting Opta PLC.
Forget about the machine control unit. Just do a step by step doc for Opta PLC pls!
I had same issue but also went to boards manager and installed the OPTA mbed OS, then uploaded default sketch and then PLC IDE setup worked great. It's interesting to note that the DFU USB error still comes up but it transitions to another state:
"Transitioning to dfuMANIFEST state
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release"
According to the descriptions, after clicking "Download", a new, higher port number does appear, and if I set it, the connection is established. The problem for me is that I recieved an Opta from my collegue that already has a running program. But with the PLC IDE software I can't connect to it, I can't summon the higher COM PORT. When I press the proven "Download" button, THE PROGRAM ON THE DEVICE IS GOING TO BE DELETED.
Is there a way to summon the higher port number and connect to the Opta without erasing its memory?
If someone else is experiencing a freezing PLC IDE when trying to connect, customer support could help me resolve this. I opened a new topic for this here
I have tried connecting with the tools installed before the IDE software.
I have tried connecting without the tools installed and just the IDE software.
I've tried multiple USB cables and ports.
I've tried resetting my device (I get the blinking light, that's the only thing working), and I've tried doing everything after restarting my computer.
It is necessary to have the tools and the PLC IDE installed in order to connect your Arduino Opta.
Please take a look at the following tutorial: https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license/
You can try downloading the runtime after enabling bootloader mode, as indicated in section 4 of the tutorial. If the error message persists, restart your PC and try again.