G91 ; relative positioning G1 Z8 F10000 S2 ; lift Z relative to current position G1 S1 X-315 Y-315 F3000 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X5 Y6 F10000 ; go back a few mm G1 S1 X-315 Y-315 F460 ; move slowly to X and Y axis endstops once more (second pass) G1 X150 Y100 F8000 ; move X and Y to the bottom left corner of the bed G30 ; Do a single probe to home our Z axis G90 ; Make sure we are in absolute mode G1 X150 Y150 Z5.5 F3000 ; Move to parked position