G91 ; relative positioning G1 H1 X500 F1000 ; move quickly to endstop and stop there (first pass) G1 H1 Y-500 F1000 ; move quickly to endstop and stop there (first pass) ;G92 X0 ;G92 Y0 G92 Z0