Skip to content

Instantly share code, notes, and snippets.

@oliof
Created June 20, 2020 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliof/912d9055262ee25d4a7150fcf366d8ac to your computer and use it in GitHub Desktop.
Save oliof/912d9055262ee25d4a7150fcf366d8ac to your computer and use it in GitHub Desktop.
homez
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Jan 31 2020 14:54:14 GMT+0100 (Mitteleuropäische Normalzeit)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X30 Y0 F6000 ; go to first probe point
G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment