Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
6 years 3 months ago #175186 by chimeno
Hi @bkt
sorry, I guess I misread your problem.

Greeting
Chimeno
The following user(s) said Thank You: bkt

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

More
6 years 3 months ago #175337 by bkt
@chimeno ... no worry for the work you have done on ethercat theme here on the forum you can allow yourself many other mistakes without anyone having anything to complain about :)

Any how only chance is try to install Lcnc 2.8 ..... but we need to use joint/axis trick (angular or world coordinates on ngc file) provided by dgarret .... on 2.9 works ok on real machine ....

about halcopile not find .... I've not a solution now.

regards
bkt
The following user(s) said Thank You: chimeno

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

More
6 years 3 months ago #175339 by bkt
now I have an other questions ..... If install more than one Lcnc-dev versions on home folder ..... linuxcnc-ethercat-master can see the right one?? How??

reagards
bkt

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

More
6 years 3 months ago #175469 by bkt
I try to understand snitter code and where is call halcopile comp, but not see the call .... i think is only a problem of wrong path on 2.9 lcnc rt-preempt versions ... so I try to find the problem and fix it .....

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

More
6 years 3 months ago - 6 years 3 months ago #175536 by bkt
Now for sure there are a problem. I try with these installation:
  1. Remove previous Lcnc istallation
    Code:
    apt-get purge linuxcnc-doc-en linuxcnc-uspace-dev linuxcnc-uspace
  2. Setup LinuxCNC 2.8 (download zip file from github selecting 2.8 version)
    Code:
    cd linuxcnc (renamed from linuxcnc2.8 into linuxcnc after extraction)/debian ./configure uspace cd .. cd src make ./autogen.sh ./configure --with-realtime=uspace make -j4 sudo make setuid
  3. Setup "ec-debianize"
    Code:
    git clone https://github.com/sittner/ec-debianize ec-debianize cd /ec-debianize ./get_source.sh cd etherlabmaster dpkg-buildpackage (the output error "failed to sign .dsc file" is no issue) sudo dpkg -i /git/ec-debianize/etherlabmaster_1.5.2+20190904hg33b922p8ea394-1_amd64.deb (in my case) sudo dpkg -i /git/ec-debianize/etherlabmaster-dev_1.5.2+20190904hgp8ea394-1_amd64.deb (in my case) gedit /etc/default/ethercat (change mac-address [MASTER0_DEVICE=""] e.g. [MASTER0_DEVICE="15:27:33:48:55:66"]) gedit /etc/default/ethercat (change [DEVICE_MODULES=""] to [DEVICE_MODULES="generic"]) sudo update-ethercat-config usermod -a -G ethercat demo (my user) reboot
  4. Setup "LinuxCNC-Ethercat"
    Code:
    git clone http://github.com/sittner/linuxcnc-ethercat.git linuxcnc-ethercat" gedit /git/linuxcnc-ethercat/src/lcec_main.c (add here [#include "rtapi_mutex.h"] below [#include "rtapi_app.h"]) cd /linuxcnc-ethercat make -j4 ----> error
  5. Code:
    demo@demo:~/linuxcnc-ethercat$ make configure.mk:8: *** halcompile/comp executable not found or set. Stop. Makefile:17: recipe for target 'config.mk' failed make: *** [config.mk] Error 2

so nothing change from 2.9 Lcnc versions .... same problem ... where do I check to solve?
regards
bkt
Last edit: 6 years 3 months ago by bkt.

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

More
6 years 3 months ago - 6 years 3 months ago #175969 by Grotius
If you have some time left,

Soon i will do a new Ethercat installation to trigger your problem. Will let you know what can be your problem.
Last edit: 6 years 3 months ago by Grotius.

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

Time to create page: 0.277 seconds
Powered by Kunena Forum