This is a set of modified macros to use with basic_probe that aims to reduce the chances of crashing your probe.
The stock probe routines generally have some G0 and G1 setup moves before, between, and after the actual G38 probe moves. Currently, if your probe makes contact during the G0 or G1 moves, the machine does not stop, and there is a good chance it will break the probe. I found a couple bug reports that would solve this, but they haven't had any action since 2017 (see
371
and
368
).
As a workaround, I modified the default probe macros, replacing "G0" and "G1" with G38.3 wherever possible. An individual G38.3 move will stop the machine when the probe makes contact. The routine will then continue with the next move. If the next move is another G38.3 or a G38.2 (as is typical), then the probe routine will be aborted with an error like "probe already tripped at beginning of G38 move."
To use these macros, unzip and then move the macros folder into <your_home_directory>/linuxcnc/nc_files/probe/probe_basic/