I installed CODESYS Control for Raspberry PI 3.5.14.30 package and managed to connect to my Raspberry Pi via Ethernet and install the service (MC version).
I then tried running the Webvisu example project but when on the Device tab, I select "Scan network..." and select my Raspberry from the list, I get the following message:
"Setting the active path has been aborted.
The selected device is either unavailable or its target ID or target type does not match the device in your project. You will not be able to connect to this device."
Is there something that I've missed?
Thank you for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
check if the plc is running.. by update tool info or top in the plc shell.
if it is running, install the gateway on pi side and use it to scan your plc... ( add the new gateway by the ip and scan via this gateway)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What worked for me with this error was to go to Tools -> Update Raspberry Pi, select Install, and from the popup screen, there are options to change your installation (I changed it to single core, instead of multicore), and I was then able to connect to my Rpi 4.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I installed CODESYS Control for Raspberry PI 3.5.14.30 package and managed to connect to my Raspberry Pi via Ethernet and install the service (MC version).
I then tried running the Webvisu example project but when on the Device tab, I select "Scan network..." and select my Raspberry from the list, I get the following message:
"Setting the active path has been aborted.
The selected device is either unavailable or its target ID or target type does not match the device in your project. You will not be able to connect to this device."
Is there something that I've missed?
Thank you for your help
A stupid question, have you updated the raspberry before trying to connect ?
The message "target type does not match the device in your project" reminds me of that.
Best regards
Hi did you get it sorted. I found that ssh has to be enabled in the pi configuration setting to update and connect the pi.
Sorry for the delayed reply, I've been on vacation.
SSH is enabled on the Pi and I can start the runtime:
And I confirmed that the service exists and runs on the Pi
I'm not exactly sure what you mean by update here, could you please elaborate?
Thanks again for your replies
Hi,
online version and versionin your project should fit.
Update device means - right click ob device tree... see screenshot
BR
Edwin
After updating the IDE, the Raspberry Pi package and then finally the device, I'm now able to connect!
Thank you very much!
I am facing the same issue, updating everything did not work. Anything else I can do?
check if the plc is running.. by update tool info or top in the plc shell.
if it is running, install the gateway on pi side and use it to scan your plc... ( add the new gateway by the ip and scan via this gateway)
If you mean the codesys runtime by "PLC", then yes, it is running on the raspberry. Scanning just yields the same error message.
What worked for me with this error was to go to Tools -> Update Raspberry Pi, select Install, and from the popup screen, there are options to change your installation (I changed it to single core, instead of multicore), and I was then able to connect to my Rpi 4.