PLC Starter Kit - upload code error with use of DIN Simul8 and DIN Celcius

I tried the exercise of the YouTube video "Arduino PLC Starter Kit: Input Simulation and Control Loop" with the components of the PLC Starter kit.
After compiling, I want to copy the code to the device but that is stopped with an error stating that de I/O expensions configuration is different from the detected one. In the resources tab, it looks like you should be able to add the right I/O expension boards but the list is limited to 2 options and not something for Arduino DIN Simul8 or Arduino DIN Celsius. So I'm stuck. Any help is appriciated.

Trying to scan for I/O expension boards throws error and even crashes the PLC IDE with crash dump (I use the latest version of PLC IDE and even tried clean reinstall).
image


The error you see when trying to scan the expansion configuration is the problem. I don’t have any experience with the PLC but that error indicates that the processor cannot communicate with your expansion modules. Check that you have connected and configured the expansion modules correctly.

I know not much help.

Have you done this?

From the expansion usage document

https://docs.arduino.cc/tutorials/opta-digital-exp/opta-expansions-plc-ide/

The expansions must be powered externally in order to be detected and properly work.

I did wiring conform Arduino YouTube video.
Also rechecked it.
In the PLC Starter kit there is also an adapter to power these externally.
The 2 expension boards are powered.



As shown in other reply with photos, I did this.
The link you supply contains two expension boards.
If in the Arduino PLC IDE, I go to I/O Expensions and click on "Add" in only see the two expension boards D1608E, D1608S to select. These are the same as mentioned in your article.

In the latest Arduino PLC IDE they didn't include the libraries for the Expension boards that are used in the Arduino PLC Starter Kit.
image

That could also explain that a scan can't find it. It doesn't explain why the scan can result in a crash of the PLC IDE environment.

In the crash log file, I shows that there is also a dll file missing:
45 - 00000100 - 6CBD1824 - CExtensionMng::LoadExtension 0 LLScanClientLib.dll LLScan 0
46 - 00000010 - 6BEAFAD7 - Can not LoadLibrary c:\arduino_plc_ide\arduino plc ide\templates\LLScanClientLib.dll
47 - 00000010 - 6BEAFAD7 - ERRCODE: 126 Kan opgegeven module niet vinden.
48 - 00000010 - 6BEAFAD7 - CURDIR: c:\arduino_plc_ide\arduino plc ide\templates
49 - 00000010 - 6BEAFAD7 - Can not load extension LLScanClientLib.dll

I have studied the Opta system some more and also the starter kit you have. The two modules you have are not expansion modules. They are accessories to make testing programs easier.

In one of your screenshots you show two expansion modules configured. If you don’t have those modules actually attached then that is what is causing your errors. You should remove them from your configuration. That will eliminate the miscompare errors.

I didn't configure two expension boards, as shown below if have nothing there.
image

The image in message before showed the options that can be selected to add.
But good to know that DIN Celcius and DIN Simul8 aren't IO expensions that need to be added.

But despite connection, I still have my problem to download the code because of the I/O expensions error.


image

Okay, I understand better now. Good to see a shot of your complete configuration.

Have you tried to find this file?

Looking at another image you posted the message seems to imply that the IDE is not connected to the PLC.

LLScanClientLib.dll is not installed by the PLC IDE installer and I also checked for it on my drive, so outside the folder as shown.
IDE is connected to OPTA PLC, I also showed picture of that with everything in green and I did install code before on the OPTA.

Your reply does not make it clear, probably due to translation error. Is the LLScanClientLib.dll file there in the expected folder or not? If not I suggest trying to get it there. The file name suggests that it may be used to scan the PLC for its configuration.

If it is there it may be corrupted. Try replacing it with a fresh copy.

I wish I could afford to buy this PLC. It looks like fun.

It is not. And the file doesn't exist on my harddrive so I can't copy it to that place.

Hi!

The boards included on the PLC Starter kit are not the Opta expansions

Those DIN boards don´t need any configuration, they are external circuitry

Check the course at PLC Starter kit course

Oke, if not than why am I facing an error with I/O expensions in the PLC IDE of there is no I/O expension board connected?

We need to get that file I think.

Edit:

As soon as I can get to my Windows box I am going to install the PLC IDE and see if the file is included.

I have installed the PLC IDE. It’s going to take me a while to familiarize myself with it. I am not sure how far I will get without the hardware but I may accomplish something.

How are you communicating with your PLC? Have you had previous success downloading projects to it?

I communicate via Modbus with the Opta (use the method as described in the course).
Previously I could download code to the Opta.

Have you made any progress?

I should have told you a few days ago that I could not find that .dll file in my install either. The only thing I can think to try is to uninstall the IDE and install a fresh copy. Something may have been corrupted in your installation. I saw some directions on how to do it somewhere along the way. What files and folders to delete. Of course you will want to save your own Opta programs.

I tried the clean reinstall but file is still missing.
Someone of support is looking at it, I sent some files to him.
Hopefully this will bring a solution.

I did a search on Opta threads and found many issues with the IDE freezing or crashing. Also many issues with not being able to connect to the Opta. It’s a disappointment to see so many problems.

It will be interesting to see what the problem is. Hopefully you helper can find a solution.

I met with this issue when I loaded a program someone else made (for their board) into my board. At beginning, no problem. But later on, when I loaded my own board again with my own program, such error "Project I/O expansions configuration is different from the detected one" happened. I think it is likely that their project is with a version not containing such expansion so when loading it removed such function from my board, then with my program containing this it is not working anymore.

I solved by reinitialization my OPTA PLC

Then my PLC is loaded again with existing function. Then everything is fine now