- Posts: 1111
- Thank you received: 114
Ethercat HAL driver
- bkt
- Offline
- Platinum Member
-
EtherCAT WARNING: Datagram 0000000026ab63a1 (master-fsm) was SKIPPED 1 time
and error ....
[ 7773.445798] EtherCAT 0: Bus scanning completed in 268 ms.
[ 7773.445803] EtherCAT 0: Using slave main-0 as DC reference clock.
[ 7773.466036] EtherCAT 0: Slave states on main device: INIT.
[ 7773.490397] EtherCAT 0: Slave states on main device: PREOP.
[ 7774.374797] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Down
[ 7774.376414] EtherCAT 0: Link state of ecm0 changed to DOWN.
[ 7774.376418] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[ 7774.380472] EtherCAT ERROR 0-main-0: Failed to receive AL state datagram: Datagram error.
[ 7774.384540] EtherCAT 0: 0 slave(s) responding on main device.
Precisely this happened: I turned off linuxcnc and error60 came out in the drives which means: data receiving abnormal in Op status.
Without thinking I turned off the power and started again without turning off the pc .... so I had the inconvenience of not being able to have the drives in OP anymore but only in PREOP.
I am attaching the dmesg.txt to see if you can help me understand the origin of the problem
thanks
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
so with command ethercat slaves -p0:
but is not really on OP state (if try to moove joint 0 I obtain following error) so seems etherlab glue poit to different device .....
regards
bkt
- db1981
- Offline
- Platinum Member
-
- Posts: 790
- Thank you received: 276
this concerns the problem discussed last week? Or you not able to get your system running anymore?
What dmesg tells us:
-you have 8 ??? network interfaces ????
-interface enp5s0 is used for ethercat and is tryed to get configured by the network manager. Try to remove this interface from the network configuration, it should be exclusive for ethercat.
-you have restarted linuxcnc many times ??
-physical link on interface enp5s0 (ethercat) is many times lost. check for grounding /shielding , qualitiy of patchcables (stp)
- db1981
- Offline
- Platinum Member
-
- Posts: 790
- Thank you received: 276
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
db1981 wrote: @bkt
this concerns the problem discussed last week? Or you not able to get your system running anymore?
My machine work well but sometime some slave not go to OP state.
db1981 wrote: What dmesg tells us:
-you have 8 ??? network interfaces ???? yes
-interface enp5s0 is used for ethercat and is tryed to get configured by the network manager. Try to remove this interface from the network configuration, it should be exclusive for ethercat. If try to leave it from network configuration ethercet not start at all .... plus in /etc/default/ethercat enp5s0 is just in manual mode (iface enp5s0 inet manual)
-you have restarted linuxcnc many times ?? yes 5/6 time in all days
-physical link on interface enp5s0 (ethercat) is many times lost. check for grounding /shielding , qualitiy of patchcables (stp)