Open lhf739181583 opened 1 year ago
hello,my project: master and slave are connected through the switch, slaveinfo shows that no slaves found. How can I modify it to make it work?
master system:Ubuntu22.04 slave : UR20-FBC-EC
Unless you have special managed switches that can route master traffic to the slave and back based on port connection number this will not work. SOEM uses the MAC numbers in the ethernet header to detect redundancy configurations. They are not real MAC numbers. And EtherCAT does not use IP numbers, so there is no way for normal automatic routing to work.
Remove the switches.
OK, thanks for your reply and explanation
If you want an optic fiber connection between master and slave there are media converters for EtherCAT available. For example Beckhoff CU1521-0010
Thanks again for your advice
Although EtherCAT supports its packets to be encapsulated in UDP packets, the routing options are very limited because slaves are completely passive. Unless you have a very specific use case I strongly recommend against using Ethernet switches in an EtherCAT topology.