Grbl Firmware supports the following probing related GCODE commands:
Refer to the LinuxCNC Wiki for more details on using these commands: LinuxCNC Documentation: G38.2-G38.5