Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
6 years 7 months ago #159274 by Sockheaven
Thanks to everyone. I finally got this working. had to implement a few HAL components i havent used before, and theres still some clutter in my hal/ini from being converted from a step/dir implementation. But i was able to get the CAN state machine working over ethercat. I have attached my files in case anyone else has been struggling getting it working and wants an example using a Kollmorgen AKD servo drive.

Best Regards,
Paul

File Attachment:

File Name: ecat_test_...05-3.hal
File Size:4 KB

File Attachment:

File Name: ecat_test_...05-2.ini
File Size:2 KB

File Attachment:

File Name: ethercat-c...05-3.xml
File Size:5 KB
Attachments:
The following user(s) said Thank You: tommylight

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

More
6 years 7 months ago #160918 by ikellymo
Thank you so much for providing these instructions. Everything is working for me so far on a 32bit system (i386).

I ran into a couple issues with Step 3 of the EtherCAT install (ec-debianize), and wanted to share what I did to get around them.

First, while the source script is running Mercurial, there was an mq error. You need to enable the mq package. I did this by:
Code:
sudo nano /etc/mercurial/hgrc
add a line:
Code:
[extensions] mq =
save.

Then, i ran into a permissions issue during
Code:
dpkg-buildpackage
, and had to run it with sudo:
Code:
sudo dpkg-buildpackage
The following user(s) said Thank You: Nico2017

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

More
6 years 6 months ago #165272 by manojpatil
hello sir, I want to install Linuxcnc
I am trying to do that. but there is an error no file found(configure,autogen)
$ linuxcnc/debian/ => ./configure uspace => cd ..
$ linuxcnc/ => dpkg-checkbuilddeps => sudo apt-get install ..... until you are done. // error(unmet build dependencies: etherlabmaster-dev)
$ cd src/ => ./autogen.sh => ./configure => make -j2 ( j2 = dual processor speed )
$ sudo make setuid

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

More
6 years 6 months ago #165548 by DaPeace
I was able to get the driver compiled but i need the e1000-module and cant figure out how to get that compiled. Can someone give me a hint?

Regards, Jan

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

More
6 years 6 months ago #165862 by chimeno
Hi @manojpatil

hola señor, quiero instalar Linuxcnc
Estoy tratando de hacer eso. pero hay un error, no se encontró ningún archivo (configure, autogen)
$ linuxcnc / debian / => ./configure uspace => cd ..
$ linuxcnc / => dpkg-checkbuilddeps => sudo apt-get install ..... hasta estás listo. // error (dependencias de compilación no satisfechas: etherlabmaster-dev)
$ cd src / => ./autogen.sh => ./configure => make -j2 (j2 = velocidad de procesador dual)
$ sudo make setuid

I don't quite understand what you want to install? there are three processes
1 - linuxcnc
2- ethercat controller (ec-debianize)
3-linuxcnc-ethercat
Could it be that you lack some dependency? There are several installation manuals in the forum.

Hi @DaPeace

I was able to get the driver compiled but i need the e1000-module and cant figure out how to get that compiled. Can someone give me a hint?
Regards, Jan

currently ec-debianice does not bring the drivers for the different modules, with the generic driver an e1000 works fine, but you can create your own version from the hg clone repository
Code:
http://hg.code.sf.net/p/etherlabmaster/ code ethercat-hg
The following user(s) said Thank You: Nico2017

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

More
6 years 4 months ago #172473 by TheRoslyak
Tell someone who was able to run ethercat with rotarydeltakins on the new version of Linux (2.9). I try to run configure of narogon. But my or narogon's confuguration gives one error. trivkins works perfect, but it isn't my target.
Attachments:

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

Time to create page: 0.469 seconds
Powered by Kunena Forum