It would be nice to have option to choose if probe trigger in safe mode does a RESET vs Stop (with Decel). I have RESET force me to rehome, as that is an abrupt interruption to motion and typically my jog/feed rate while using probe has enough time to stop with deceleration without causing permanent damage.
var gcode = new List<string>(new []{ "M213", "G1 ...", "(PROBE TRIGGER!)", "G1 ...", "M214" }); exec.Codelist(gcode); while (exec.IsMoving()) { }
It does a "soft-stop", i.e. motion stops, exec.IsMoving() is false and exec.Ismacrostopped() is false but can check #5060 if the probe triggered (or something along those lines).