Ethercat HAL driver

More
5 years 7 months ago - 5 years 7 months ago #201430 by bkt
Replied by bkt on topic Ethercat HAL driver
@dc1981 .... after last week just now an error as I mentioned to you ... do checking dmesg I see these warning:

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
Attachments:
Last edit: 5 years 7 months ago by bkt.
More
5 years 7 months ago #201445 by bkt
Replied by bkt on topic Ethercat HAL driver
@db1981 after these accident I turn off all system. After some second I power on again the system .... when open axis gui I can see "not ready" messages on screen of drive ID=0 ... all other slaves is ok .... so I operate a dmesg | grep -i EtherCAT command and I find these:

Warning: Spoiler!


so with command ethercat slaves -p0:
Code:
bkt@bkt:~$ ethercat slaves -p0 0 0:0 OP + EP3E-EC

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
More
5 years 7 months ago #201447 by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt

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)
More
5 years 7 months ago #201449 by db1981
Replied by db1981 on topic Ethercat HAL driver
there are clocking problems and lost frames at slave 0, but this seems to be a physical problem. strange for me is, that its the first slave in the row.
The following user(s) said Thank You: bkt
More
5 years 7 months ago #201453 by bkt
Replied by bkt on topic Ethercat HAL driver
@1981 ... yes I have 6 eth plus a custom card which is seen as a series of eth. Patch cable is cat7a .... plus if change it is the same .... I try to work on network interfaces ... is strange for me too .... because other slaves in the row work perfect ....
More
5 years 7 months ago - 5 years 7 months ago #201532 by bkt
Replied by bkt on topic Ethercat HAL driver

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)

Last edit: 5 years 7 months ago by bkt.
Time to create page: 0.579 seconds
Powered by Kunena Forum