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 > 4.2.0.0

omeo
2022-11-10
2022-12-08
  • omeo

    omeo - 2022-11-10

    Hi
    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 4.2.0.0, it works well. but in 4.6.0.0 we got exception when plc start. Please see attach screenshoot.

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

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

    Thanks.

    --
    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

    hi,
    I would recommend to update to EIP 4.3.0.0 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

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

       
  • eschwellinger

    eschwellinger - 2022-12-07

    never seen, seems a problem with this usb adapter?

     
    • omeo

      omeo - 2022-12-08

      Hi
      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!
      Thanks.

       

      Last edit: omeo 2022-12-08

Log in to post a comment.