Ethercat linuxcnc not seeing any slaves
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 22:37 #323192
by ihavenofish
Ethercat linuxcnc not seeing any slaves was created by ihavenofish
So, I installed linuxcnc fresh, then began the ethercat install per instruction thread. It *seems* to have worked, but there are no slaves displayed when I type ethercat slaves...
So, for sanity I went into twincat, and it DOES scan the servo drives, however it triggers a communication error of wrong data type. I wonder if the 2 are related and something is set wrong on the drives.
Servos drives are omron R88D
Any thoughts on what may be wrong here?
So, for sanity I went into twincat, and it DOES scan the servo drives, however it triggers a communication error of wrong data type. I wonder if the 2 are related and something is set wrong on the drives.
Servos drives are omron R88D
Any thoughts on what may be wrong here?
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 610
- Thank you received: 198
04 Mar 2025 22:39 #323193
by Hakan
Replied by Hakan on topic Ethercat linuxcnc not seeing any slaves
Try
ethercat master
ethercat slaves
sudo dmesg
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 22:46 - 04 Mar 2025 22:48 #323194
by ihavenofish
Replied by ihavenofish on topic Ethercat linuxcnc not seeing any slaves
from ethercat master.... seems maybe its not working at the network card level. What did i break? haha
Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: 00:23:24:3e:1b:ba (waiting...)
Link: DOWN
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Lost frames: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 0 0 0
Frame loss [%]: 0.0 0.0 0.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: 00:23:24:3e:1b:ba (waiting...)
Link: DOWN
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Lost frames: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 0 0 0
Frame loss [%]: 0.0 0.0 0.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
Last edit: 04 Mar 2025 22:48 by ihavenofish.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 610
- Thank you received: 198
04 Mar 2025 22:49 - 04 Mar 2025 22:50 #323195
by Hakan
Replied by Hakan on topic Ethercat linuxcnc not seeing any slaves
Link down. Did you customize /etc/ethercat.conf ?
Last edit: 04 Mar 2025 22:50 by Hakan.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 23:11 #323197
by ihavenofish
Replied by ihavenofish on topic Ethercat linuxcnc not seeing any slaves
I did only what the instructions said up to the point of typing ethercat slaves.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 23:13 - 04 Mar 2025 23:22 #323198
by ihavenofish
Replied by ihavenofish on topic Ethercat linuxcnc not seeing any slaves
so yes, that would have included typing in the MAC in that file per instructions
checked that file again. seems fine. reran enable, start, status... nothing changes.
checked that file again. seems fine. reran enable, start, status... nothing changes.
Last edit: 04 Mar 2025 23:22 by ihavenofish.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 610
- Thank you received: 198
04 Mar 2025 23:30 #323199
by Hakan
Replied by Hakan on topic Ethercat linuxcnc not seeing any slaves
Mac address and generic driver.
Two network interfaces and you picked the wrong one? Has never happened to anyone...
Ethercat master prints in /var/log/messages. Have a look there or at the end of the huge output of "sudo dmesg" for signs of why it won't use the network interface
Two network interfaces and you picked the wrong one? Has never happened to anyone...
Ethercat master prints in /var/log/messages. Have a look there or at the end of the huge output of "sudo dmesg" for signs of why it won't use the network interface
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 23:35 #323200
by ihavenofish
Replied by ihavenofish on topic Ethercat linuxcnc not seeing any slaves
only one network port on this machine plus the wifi for the internet.
I *think* im using the right one. haha. I dont see how i cant be.
dmesg spits out 10000 things. last one mentions lan at 100base though
I *think* im using the right one. haha. I dont see how i cant be.
dmesg spits out 10000 things. last one mentions lan at 100base though
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 23:39 #323201
by ihavenofish
Replied by ihavenofish on topic Ethercat linuxcnc not seeing any slaves
network ip/mac
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:23:24:3e:1b:ba brd ff:ff:ff:ff:ff:ff
altname enp0s25
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 60:36:dd:54:7b:49 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.194/24 brd 192.168.2.255 scope global dynamic noprefixroute wlp2s0
valid_lft 257328sec preferred_lft 257328sec
inet6 fe80::6236:ddff:fe54:7b49/64 scope link noprefixroute
valid_lft forever preferred_lft forever
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:23:24:3e:1b:ba brd ff:ff:ff:ff:ff:ff
altname enp0s25
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 60:36:dd:54:7b:49 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.194/24 brd 192.168.2.255 scope global dynamic noprefixroute wlp2s0
valid_lft 257328sec preferred_lft 257328sec
inet6 fe80::6236:ddff:fe54:7b49/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 816
- Thank you received: 175
04 Mar 2025 23:44 - 04 Mar 2025 23:45 #323202
by ihavenofish
Replied by ihavenofish on topic Ethercat linuxcnc not seeing any slaves
switched to the second one which i thought was the wifi.. now it says link up. still no slaves though
Master0
Phase: Idle
Active: no
Slaves: 0
Ethernet devices:
Main: 60:36:dd:54:7b:49 (attached)
Link: UP
Tx frames: 488
Tx bytes: 29280
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 124 34 6
Tx rate [KByte/s]: 7.3 2.0 0.4
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 488
Tx bytes: 29280
Rx frames: 0
Rx bytes: 0
Lost frames: 488
Tx frame rate [1/s]: 124 34 6
Tx rate [KByte/s]: 7.3 2.0 0.4
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 124 34 6
Frame loss [%]: 100.0 100.0 100.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
Master0
Phase: Idle
Active: no
Slaves: 0
Ethernet devices:
Main: 60:36:dd:54:7b:49 (attached)
Link: UP
Tx frames: 488
Tx bytes: 29280
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 124 34 6
Tx rate [KByte/s]: 7.3 2.0 0.4
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 488
Tx bytes: 29280
Rx frames: 0
Rx bytes: 0
Lost frames: 488
Tx frame rate [1/s]: 124 34 6
Tx rate [KByte/s]: 7.3 2.0 0.4
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 124 34 6
Frame loss [%]: 100.0 100.0 100.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
Last edit: 04 Mar 2025 23:45 by ihavenofish.
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds