Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

EtherNet/IP on second ethernet card with rpi rte >

  • omeo

    omeo - 2022-11-10

    I have using a usb-ethernet adapter to create second ethernet port on raspberry pi, We need use ETH0( internal ethernet) run ethercat master and use ETH1(USB-RJ45 dongle) run EtherNET/IP.

    We have test it on, it works well. but in we got exception when plc start. Please see attach screenshoot.

    But in EtherNET/IP can running on ETH0 work fine. Also we can use modbus tcp on ETH1 so hardware no problem.

    We also test use device on ide, compile and download to rte, got exception again, so i think it might be a rte problem.


    update: we got a error message seems it exception on cip_object.PhysicalLink.prvGetSysEthernetAttributes. any idea?


    Last edit: omeo 2022-12-05
  • eschwellinger

    eschwellinger - 2022-12-05

    I would recommend to update to EIP version by the CODESYS installer - after that update by reightclick update device in the device tree to this version.


    Last edit: eschwellinger 2022-12-05
    • omeo

      omeo - 2022-12-07

      Thanks for your reply!
      I had install EIP, It exception also. but we got log:GetLinkSettings2(Operation not supported). Please see attach.

  • eschwellinger

    eschwellinger - 2022-12-07

    never seen, seems a problem with this usb adapter?

    • omeo

      omeo - 2022-12-08

      We have update raspberry pi os to newest version, It works now.

      But it take another problem: we cannot restore license, the softcontainer id has changed(128-27927847 to 32767-1947521611). we cannot restore from file also cannot restore from offline transformer. Please help us.
      After offline license transformer, the license has been actived. Thanks a ton!


      Last edit: omeo 2022-12-08

Log in to post a comment.