Thanks for the effort putting in this modification! Now I have time to test it.
This is what I do:
Download the file el8_homecomp_mod.com and after giving the path to homing.c compile with halcomp
"sudo halcomp --install el8_homecomp_mod.com"
This went ok without errors.
I changed the Marco's component from the ini to yours:
HOMEMOD=el8_homecomp_mod
Uncommented the drives internal homing in hal on every axis:
net x-home-request joint.0.request-custom-homing => cia402.0.home
net x-homing joint.0.is-custom-homing <= cia402.0.stat-homing
net x-homed joint.0.custom-homing-finished <= cia402.0.stat-homed
run the lcnc, and the hal pins show up:
I set a hal part for toggle the custom home request:
#custom home request
sets joint.0.custom-homing-is-requested true
After that I have errors, this pin not exists. But is there. Whats next?
Thanks!