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?
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
guess it should be tap0
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.
Last edit: giack97 2023-12-20
Last edit: giack97 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
I tried to change the name of the tap device to 'tap0,' but nothing changed. I don't think this is the problem.
use latest Ethcat version 4.6.0.0 and tap0