Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
6 years 3 weeks ago - 6 years 3 weeks ago #185589 by Grotius
Hi Mike,

Good question. I never used a pyQtvcp based gui so far. Try to figur this out.
If you report your install steps we can include this in a thirt install script.

Did the previous install scripts work for you so far?
Last edit: 6 years 3 weeks ago by Grotius.

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

More
6 years 3 weeks ago #185591 by anpoit00
Hello Hozte,

yes, you have to install linux headers for your version.

Regards
A

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

More
6 years 3 weeks ago #185617 by Mduran
hi Grotius, I had a question, for ethercat LinuxCNC to work it must be installed with pre-designed packages or it must be installed on the spot?

What happens is that in the tutorial you did in the forum you recommend installing an iso that already has the LinuxCNC included but you also install a LinuxCNC in the place and call it 'linuxcnc-deb', this will not make you have 2 LinuxCNC installed?
(So ​​my first question)

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

More
6 years 3 weeks ago - 6 years 3 weeks ago #185629 by Grotius
Hi Mike,

First :
For ethercat linuxcnc to work, it could be installed with pre designed packages, like deb packages. Or indeed on the spot trough compiling the source code.

The steps i used are, download the ec-debianize source code, compile it into .deb packages, then install the .deb packages.

But only install the .deb files from github is oke, Note the orginal github source has no packages like .deb available.
Check --> github.com/sittner/ec-debianize/releases/tag/v1.5.2-1

I cloned the github source and made the .deb packages available.
Check -> github.com/grotius-cnc/ec-debianize/releases/tag/v1.5.2-2

**Mention, after installing these .deb package's you are not fertig. You still need to set a few config's.
This can been seen in diving into the install script's one and two on github.

Second :
Installing a second linuxcnc is done to make life easyer.
This second install is located in one directory, outside the system scope.
In this way, you can search, modify, recompile linuxcnc much easyer then searching your file system around for linuxcnc files, They are spread around your local file system. A linuxcnc rip install is common used by developpers.

The ethercat lcec.so and lcec_conf are copied to the second linuxcnc "rip" install folders. You can off cource copy them to the orginal linuxcnc directory folders, like c:/bin or c:/usr/share/linuxcnc/ etc.

Currently i was going one step further. I was able to make a Debian 10 iso with 4.19.0-11-rt-amd64 kernel today.
Some work to do is to get the Ethercat bus implemented.

This will result in the most simple solution for new linuxcnc ethercat users.

This idea is inspired by a youtuber, called eznix. And the iso worked at once.
The script and the iso cd will be available at github soon.

Last edit: 6 years 3 weeks ago by Grotius.

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

More
6 years 3 weeks ago #185632 by Mduran
Thanks Grotius for your explanation, as I was telling you, I'm new to installing LinuxCNC with ethercat and I didn't know where it was going, so if this installation step can I skip it? :

# Install linuxcnc as rip git clone github.com/grotius-cnc/linuxcnc.git
cd linuxcnc / debian /
./configure uspace cd ..
cd src ./autogen.sh ./configure --with-realtime = uspace
Make # -j2
sudo make setuid

Since there is an executable LinuxCNC in the .iso without the need to use console scripts to start LinuxCNC and I copy the 2 lcec files into the linuxcnc folder that comes already when installing the .iso in their respective addresses.

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

More
6 years 3 weeks ago #185650 by Grotius
Hi Mike,

You can skip that step indeed.
Be sure the lcec.so goes into the rtlib of linuxcnc. The lcec_conf could be placed where your ini file is.
In the hal file, where you referere to the lcec_conf file, you could use a full path name.

Good luck !

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

Time to create page: 0.171 seconds
Powered by Kunena Forum