Last active
January 1, 2021 15:56
-
-
Save nraynaud/8a20b6d4775440811e240ee9ba90cb8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Lift Z relatively to current position | |
G91 | |
G1 S2 Z2 F6000 | |
; split Z motor control to Z and U | |
; for it to work we have to show U (param P4) in the UI | |
M584 Z2 U3 P4 | |
; Move Z and U down until the switches triggers | |
G1 S1 Z-205 U-205 F1000 | |
; back to combined axes and hidden U | |
M584 Z2:3 P3 | |
; Back to absolute positioning | |
G90 | |
; Tell the firmware where we are | |
G92 Z0 | |
; lift Z after probing, without endstop protection | |
G91 | |
G1 S2 Z10 F1000 | |
G90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment