-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to connect the SOEM to virtual network interface in Linux #828
Comments
It all depends on the implementation of the virtual nic. In principle it could work. But if the implementation relies on standard Ethernet traffic with tcp or udp or even MAC addresses for routing, it will not work. SOEM uses RAW Ethernet sockets. |
So I want a set up a network like shown below. i am able to initalize but the master is not able to read the slaves and configure the slave on the network. the binding between virtual to physical nic is operated using raw sockets. Physical connection is connected to Beckhoff slave. Could you please tell me why the master doesn't detect slaves with above setup. |
As far as I know you can not use dummy interfaces to transmit anything. That is why they are called "dummy". |
But I checked using wireshark and was able to capture the frames from master on this interface. Also after transmitting frames from master with the above network configuration the slave coupler (EK1101) indicates with a led which has a higher frequency of blinking. |
Connect another computer to the physical port and transmit some packets. Capture your virtual nic with wireshark. You will see that no packets arrive. For EtherCAT to work you need two way communication. |
Hello has someone tried or know to do the following implementation on EtherCAT, please help!
SOEM master <--> virtual nic <--> physical nic <--> slave
i am able to initalize but the master is not able to read and configure the slave on the network
The text was updated successfully, but these errors were encountered: