chuck1024 wrote:Wow, that looks like a perfect fit. I removed the sensors but I could put them back in. How much do you think it would improve the accuracy of the homing sequence?.
In the case of an encoder index, rather a lot, as those are very sharp, typically in the 1/1000 rev range. I think a Hall sensor might be a little more variable, but even if it is as variable as the home switch it improves matters proportionally to the leadscrew pitch.
What I am not at all clear on is where in HAL you would connect that input.
www.linuxcnc.org/docview/html/man/man9/motion.9.html suggests that it relies on the index-enable functionality of the encoder components. In a stepper system there are no encoders to which to net that input.
It might be that the way to get the function is to AND the home switch with the Hall sensor in HAL. There will be problems if the Hall sensor on range is less than the axis stopping distance. But it probably won't be.