Marco Reps video on youtube about EtherCAT
i'm not sure about ethercat, but e,g, mechatrolink protocol has a LATCH function when drives remember the value of the motor position counter on a rising edge of external signal. this should give better resolution than sensing the probe at the controller and then reading back position. i guess ethercat does the sameDoes anybody know why one would want the touch probe to be wired directly to the drive? And is the probe wired directly to all x,y,and z drives in parallel?
Please Log in or Create an account to join the conversation.
Yes it can. I'm using the same way, with EtherCAT hat.
Please Log in or Create an account to join the conversation.
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.
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.
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.
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.
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.
Please Log in or Create an account to join the conversation.
Cloned Marco's git: github.com/marcoreps/linuxcnc_leadshine_EL8
in el8_homecomp.comp modified the link to homing.c file, what I get from
github.com/LinuxCNC/linuxcnc/blob/master.../emc/motion/homing.c
with homing.h and motion.h files.
After I run
homecomp --install el8_homecomp.comp
and
homecomp --install cia402.comp
from marcos git repo.
Modified the ini, added to EMCMOT:
HOMEMOD=el8_homecomp
After restarting lcnc and set the servo drive 6098x02 to -6 the internal homing working.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.