Some systems have many indexes and a way to distinguish between them. Sometimes the indices are different distances apart (some linear scales) or there may be a secodary feedback system (robots with encoder + index and a potentiometer).
I don't think that LinuxCNC can work with these systems at the moment as the home_offset is a static value read from the INI. I quick inspection seems to suggest that it would not be a huge change to make an extra pin. it requires an extra entry in hal_joint_t and extra code in control.c to read the value (and in inihome.cc to set the new pin too) http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/motion/motion.c;hb=bf578d34043ee72031b537659f0ce671ad4aff72#l630 http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/motion/control.c;hb=bf578d34043ee72031b537659f0ce671ad4aff72#l504 -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
