Unable to connect to this device

Runtime
djesic
2019-07-25
2019-08-14
  • djesic

    djesic - 2019-07-25

    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

     
  • JAPIB

    JAPIB - 2019-07-25

    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

     
  • Peter1983

    Peter1983 - 2019-07-26

    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.

     
  • djesic

    djesic - 2019-08-13

    Sorry for the delayed reply, I've been on vacation.

    SSH is enabled on the Pi and I can start the runtime:

    [INFORMATION]   Executing SSH command on pi@10.0.50.131: Start runtime system
    [INFORMATION]   Standard output: Starting codesyscontrol (via systemctl): codesyscontrol.service.
    

    And I confirmed that the service exists and runs on the Pi

    Zitat:
    A stupid question, have you updated the raspberry before trying to connect ?

    I'm not exactly sure what you mean by update here, could you please elaborate?

    Thanks again for your replies

     
  • eschwellinger

    eschwellinger - 2019-08-13

    Hi,
    online version and versionin your project should fit.
    Update device means - right click ob device tree... see screenshot

    BR
    Edwin

    IMG: UpdateDEvice.png

     
  • djesic

    djesic - 2019-08-14

    After updating the IDE, the Raspberry Pi package and then finally the device, I'm now able to connect!

    Thank you very much!

     

Log in to post a comment.