gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.04k stars 1.61k forks source link

Added an option HOMING_SET_ORIGIN_AFTER_PULLOFF #1226

Open AlexHolden opened 1 year ago

AlexHolden commented 1 year ago

This option sets the machine position to zero (or max_travel if homing direction is inverted) after instead of before performing the homing pulloff move. When soft limits are enabled, this provides a virtual buffer zone between the machine's 0 and the hardware limit switch that prevents the operator being able to jog right up to the switch and potentially accidentally trigger a hard limit alarm.