Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
21 May 2021 12:04 #209751 by db1981
have you installed the ethercat master ? is the master working ?

what is the output of the command "ethercat slaves" in terminal ?

Please Log in or Create an account to join the conversation.

More
21 May 2021 15:58 #209762 by HammersTR
I couldn't install ethercat master either. But i can type and see ethercat slaves.

First i followed these instructions, but i couldn't get it working.

docs.google.com/document/d/1GiB065ZIAaoM...GQl2X9DM9-THNM/edit#

Then, i followed "Grotius" steps.

It also didn't work.

Please Log in or Create an account to join the conversation.

More
21 May 2021 16:21 #209764 by db1981
need more informations....

-output of "ethercat slaves"
-output of "uname -a"
-output of "ethercat version"
-output of "ethercat master"

Please Log in or Create an account to join the conversation.

More
21 May 2021 16:46 #209765 by HammersTR
Here you go;

-output of "ethercat slaves"
-output of "uname -a"
-output of "ethercat version"
-output of "ethercat master"

as follows;

ikt@debian:~/linuxcnc-ethercat$ ethercat slaves
0 1:0 PREOP + MBDLT25BF
ikt@debian:~/linuxcnc-ethercat$ uname -a
Linux debian 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
ikt@debian:~/linuxcnc-ethercat$ ethercat version
IgH EtherCAT master 1.5.2 unknown
ikt@debian:~/linuxcnc-ethercat$ ethercat master
Master0
Phase: Idle
Active: no
Slaves: 1
Ethernet devices:
Main: 2c:56:dc:79:1e:56 (attached)
Link: UP
Tx frames: 22690
Tx bytes: 1361682
Rx frames: 22656
Rx bytes: 1359642
Tx errors: 0
Tx frame rate [1/s]: 249 251 211
Tx rate [KByte/s]: 14.6 14.7 12.3
Rx frame rate [1/s]: 249 251 210
Rx rate [KByte/s]: 14.6 14.7 12.3
Common:
Tx frames: 25046
Tx bytes: 1503042
Rx frames: 22656
Rx bytes: 1359642
Lost frames: 2390
Tx frame rate [1/s]: 249 252 223
Tx rate [KByte/s]: 14.6 14.7 13.0
Rx frame rate [1/s]: 249 251 210
Rx rate [KByte/s]: 14.6 14.7 12.3
Loss rate [1/s]: 0 0 12
Frame loss [%]: 0.0 0.1 5.4
Distributed clocks:
Reference clock: Slave 0
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
ikt@debian:~/linuxcnc-ethercat$

Please Log in or Create an account to join the conversation.

More
21 May 2021 17:17 #209766 by db1981
Hi,

your are running on an old rtai kernel.

Rtai support for lcnc-ethercat has been dropped years ago.
You have to use an uspace kernel (preempt rt).
the best way would be to get one of grotius actual ethercat images installed.
or get the actual buster iso and do an manual install.

Wheezy Rtai will not work.
The following user(s) said Thank You: HammersTR

Please Log in or Create an account to join the conversation.

More
21 May 2021 17:37 #209767 by HammersTR
Thank you for your response.

Is there any link to follow these procedures?

I tried buster installation. But it constantly freezes on network configuration... So i wanted to try 2.7 version.

I could servo on and jog an axis though.

Please Log in or Create an account to join the conversation.

More
21 May 2021 17:53 #209769 by db1981
"I could servo on and jog an axis though." i don't understand that sentence.... you are not able to compile lcnc ethercat ......

does an normal buster install (without lcnc) also freeze? (debian.org)

Please Log in or Create an account to join the conversation.

More
21 May 2021 17:57 #209770 by HammersTR
ethercat download
ethercat upload worked

I can jog axis in command line. But i couldn't managed to run linuxcnc ethercat.

I didn't try original debian buster.

Now i'm gonna try this.
www.linuxcnc.org/testing-stretch-rtpreempt/

Please Log in or Create an account to join the conversation.

More
21 May 2021 18:02 #209772 by db1981
ok..

do a try with this, but i might remember that the apt sources are not available anymore..

Please Log in or Create an account to join the conversation.

More
03 Jun 2021 19:31 #211100 by foxington
hello folks,

I am searching how to succesfully install ethercat on lcnc. I found more "tutorials" how to do and I do not know which is the easist way for begining... I found next links...
  1. sourceforge.net/projects/skynet-software/files/
  2. github.com/grotius-cnc/install_script
  3. forum.linuxcnc.org/27-driver-boards/3559...all?start=110#184991
  4. also forum.linuxcnc.org/27-driver-boards/3559...tall?start=30#135811

I currently run with 7i76e at integrated network card... but I have EK1100+EL1008+EL2008 connected to Realtek8139 in PCI port of this guy www.furbify.sk/pocitac-hp-compaq-8100-elite-sff-1605417 ...

thanks for any help!!

Regards Slav

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum