Marco Reps video on youtube about EtherCAT

More
2 years 4 months ago #302159 by eduard
Hey Rod, thanks, I'm looking for the exact same information. I also tried Marco's solution, but lcnc not started, since the ini contains this line in his modification:

HOMEMOD=el8_homecomp

and Lcnc looking for el8_homecomp.so file, which I dont have.

How your solution working? Could you please sahre the ini? Where have to put the comp files, near the cia402.comp?

Thanks.

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

More
2 years 4 months ago #302307 by rodw
Marcoreps has a git repo with the source code for the missing component that needs to be compiled with halcompile
github.com/marcoreps/linuxcnc_leadshine_EL8

But you may like to try my untested homing component
github.com/rodw-au/cia402_homecomp
At least it is documented :)

I also tried to clean up the code.

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

More
2 years 4 months ago #302308 by eduard
Thanks Rod.
I looked into halcompile but found rather scattered documentation about it. Here on the forum, they mentioned that it cannot compile .comp files. What exactly is it and what is it used for? Why do we need to compile the .comp file?

I have the same servo drives as Marco, so it would be logical to use his code. I checked your GitHub repo, but it's not clear to me how to modify it for the EL8 drivers.

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

More
2 years 4 months ago #302321 by eduard
I finally managed to compile the Marco's cia402.comp file, but the el8_homecomp.com looking after homingc. file, which I did not have or not found on lcnc. But on lcnc github exists, but a bit afraid to use it, sinc I did not understad what contains and what is for.
Could someone help me to get a step further?

github.com/LinuxCNC/linuxcnc/blob/master.../emc/motion/homing.c

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

More
2 years 4 months ago #302336 by rodw
You need to start here
linuxcnc.org/docs/stable/html/man/man9/homecomp.9.html
and probably read the documentation on mygithub which outlines how to use and install a custom homing component.
 

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

More
2 years 4 months ago #302337 by rodw
You should not need to mdify my component as it follows the cia402 standard, which the el8 driver also follows.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum