@ti21 I think the M585 command may be what you are looking for. https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m585-probe-tool