Issues running a program on the Arduino Opta. Program uploads just fine but won't execute.

Hi all! So I have a project for school where I'm supposed to create a ladder logic diagram for an XNOR Gate and upload it to an OPTA PLC. I've already triple checked the wiring and it all seems like its just fine. I think I may not be using the PLC IDE properly. Below is a picture of my Ladder Diagram, As far as I can tell everything seems to be good there.

r/PLC - Problems running a code on the Arduino OPTA PLC

All of my variables are declared on a global scope so that shouldn't be an issue.

r/PLC - Problems running a code on the Arduino OPTA PLC
r/PLC - Problems running a code on the Arduino OPTA PLC

When I compile the program it is totally free of errors as well. The IDE also says that I am successfully connected to the target device and that the program was downloaded successfully. I also already have the proper firmware installed on the target device. I can't put screenshots of this because I don't have the Opta with me and I won't have access to it until Thursday of next week when we have our next lab session.

I've tried installing the appropriate libraries as well but I'm not sure if I did that right. I downloaded the Alplc_Opta Library from here but I'm not sure if that's the right library for my purposes. There's a possibility that that library might be for the traditional IDE.

r/PLC - Problems running a code on the Arduino OPTA PLC

The tutorials on the Arduino and Optafinder sites have no mention of my issue where it seems like program downloads just fine but fails to actually execute. I checked with ChatGPT and it says I should try to put my opta in run mode but I can't figure out how to do that. Supposedly there's a button the left hand side of the screen to do that but I don't see that.
 

Attachments

Looks like you were having this issue a couple of months ago, and I hope you got it solved already.

But in case you're still working on it, we have a tutorial that goes through the Opta specifically: https://control.com/technical-artic...arduino-opta-plc-creating-your-first-program/

In particular, check out the part about 'debugging variables' on a watch list. You seem to have it downloaded, but we need to verify that the inputs are receiving a signal in the first place. If not, it could be a wiring issue instead of an IDE problem.

If you got it working already, what was the root problem that you discovered in the end? That would be interesting to learn.
 
Top