Eoe issues with Windows and Linux

giack97
2023-12-19
2024-10-07
  • giack97 - 2023-12-19

    Hello,

    I've been trying to use EoE for communication between a Windows PC and an M753 drive from Control Technique. Despite following some online guides (https://content.helpme-codesys.com/en/libs/EtherCATStack/4.3.0.0/Ethernet_over_EtherCAT/fld-Ethernet_over_EtherCAT.html) I haven’t had any success. Both are connected to a Debian device where RTE is running:

    The PC is connected via the Ethernet port.
    The drive is connected via the EtherCAT port.
    I'm unable to ping the drive from my Windows PC.

    Here is my configuration:

    On Debian: (See attachments 1, 2, 3)

    enp1s0 = Ethernet port
    enp2s0 = EtherCAT port
    tap2 = TAP device
    IP forwarding and routes are both configured.

    On Windows: (See attachments 4, 5)

    On Codesys: (See attachments 6, 7)

    Version:
    Windows 11
    Debian GNU/Linux 11
    Codesys 3.5.17
    Control for Linux SL 4.7.0
    EtherCAT 4.4.0

    With this configuration, I can ping the TAP device, but not the drive (See attachment 8).

    Could someone explain how to properly configure all these settings?

    Thank you,
    GA

     

    Last edit: giack97 2023-12-19
  • eschwellinger

    eschwellinger - 2023-12-19

    guess it should be tap0

     
    • giack97 - 2023-12-20

      Hi eschwellinger,

      I changed the name to tap2 due to network issues with Debian (I don't know why it changes the tap0 IP every time the program restarts).
      Anyway, I think the tap name doesn't affect the connection.

       
  • giack97 - 2023-12-20
     

    Last edit: giack97 2023-12-20
  • giack97 - 2023-12-20
     

    Last edit: giack97 2023-12-20
  • eschwellinger

    eschwellinger - 2023-12-20

    I think it must be tap0 for EOE
    https://faq.codesys.com/pages/viewpage.action?pageId=146178174
    otherwise it will not work

     
    • giack97 - 2024-01-10

      I tried to change the name of the tap device to 'tap0,' but nothing changed. I don't think this is the problem.

       
  • eschwellinger

    eschwellinger - 2024-01-10

    use latest Ethcat version 4.6.0.0 and tap0

     
  • salvadegianluca - 2024-10-07

    Is there any way to have EoE working with Tap names different from tap0?
    My PLC manufacturer uses Tap0 for the remote assistance service and it's not avvailable for other uses.

     
  • Artur Wiebe - 2024-10-07

    You can select the tap name with this environment variable:

    RTS_EOE_DEV=tap3

     

Log in to post a comment.