; homez.g ; called to home the Z axis ; M280 P0 S160 ; Reset probe G91 ; relative positioning G1 H2 Z5 F10800 ; lift Z relative to current position G90 ; absolute positioning G1 X250 Y250 F10800 ; go to first probe point G30 ; home Z by probing the bed G29 S1 ; probe the bed and enable compensation G91 ; relative positioning G1 Z10 F100 ; lift Z relative to current position G90 ; absolute positioning