The function EoE is supported by all Linux SL products, like the "CODESYS Control for Raspberry Pi MC SL".
Set up tap0 device: On a Linux system with 'tuntap' support, this looks somehow like this:
/sbin/ip tuntap add tap0 mode tap /sbin/ip link set tap0 up /sbin/ip addr add 192.168.2.1/24 dev tap0
Maybe you need to add a additional route?
echo 1 >/proc/sys/net/ipv4/ip_forward' ...
Using the Codesys default setting for EoE on "tab0" in your System Set-up!
- Start the Codesys Runtime system
- Download the EtherCAT stack with EoE device. (The IP of the EoE device should be in this case e.g.: 192.168.2.2)
- ping the IP (e.g. 192.168.2.2) and check the response
If a response is received, the EoE is basically working
The set-up can also be checked with ARP and ICMP with Wireshark attached to your tap device
FAQ:
For further Information on EoE see or OnlineHelp EoE Dokumenation.