Hi,
what motion controller are you using?
When Mach executes a G31 probing move the motion controller detects the probe touch event and stops all motion.
Motion controllers are very fast so unless you are approaching at a ridiculous seed there should little or no
overrun.
For example I have an ESS motion controller and when probing at 100 mm/min (no fast but not really slow either) the
overrun is less than 1 um (0.78um).
It sounds to me like the probing code you are using is relying on Mach to detect the probe event. In that case the motion
controller will propagate a signal back to Mach, Mach will generate a stop signal and send it back to the motion controller
to execute. The 'around the loop delay' could easily be 1/20 sec whereas a good motion controller will detect and stop
motion within a few tens of micro seconds.
What code are you using to probe?
Craig