M564 H0 ;set movement limits H0 = allow movement of axes that have not been homed G90 ;set absolute positioning if sensors.probes[0].value[0] == 0 G1 X53 Y347 F10000 ;If probe not already attached goto klicky probe loction and connect probe G1 Y175 ;goto y bed center G1 X175 ;goto X bed center if sensors.probes[0].value[0] == 1000 abort "Probe Failed to Attach" G1 X175 Y175 ;move to bed center