Slave cannot be recognized after loop redundancy configuration
acmyangweitao opened this issue · 1 comments
acmyangweitao commented
"00:e0:4c:36:03:e0" is connected to Slave1's IN.
Slave1's OUT is connected to Slave2's IN.
Execute "ethercat slaves" to view the information of Slave1 and Slave2.
If based on the above,
Slave2's OUT is connected to "b4:ad:a3:21:7f:95".
When executing "ethercat slaves", the information of Slave1 and Slave2 cannot be viewed.
I want to know why and solution please help me
This is my configuration of the /etc/sysconfig/ethercat file
MASTER0_DEVICE="00:e0:4c:36:03:e0"
MASTER0_BACKUP="b4:ad:a3:21:7f:95"
DEVICE_MODULES="generic"
LINK_DEVICES="enx00e04c3603e0"
This is the return result I got from executing ifconfig
enp1s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b4:ad:a3:21:7f:95 txqueuelen 1000 (Ethernet)
RX packets 365257789 bytes 21917218806 (21.9 GB)
RX errors 15 dropped 477653 overruns 0 frame 13
TX packets 379407556 bytes 22826240876 (22.8 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xd0700000-d071ffff
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.22.22 netmask 255.255.255.0 broadcast 10.10.22.255
inet6 fe80::2a37:6e2c:dee6:f203 prefixlen 64 scopeid 0x20<link>
ether b4:ad:a3:21:7f:94 txqueuelen 1000 (Ethernet)
RX packets 11438524 bytes 6257098974 (6.2 GB)
RX errors 0 dropped 4757 overruns 0 frame 0
TX packets 8331241 bytes 1499116405 (1.4 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xd0600000-d061ffff
enx00e04c3603e0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4ba6:9f3a:ae3c:7d63 prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:36:03:e0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 17 bytes 2514 (2.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1447814 bytes 175900998 (175.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1447814 bytes 175900998 (175.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
acmyangweitao commented
Set "--with-devices=2" when executing "./configure"