2021-05-24 12:25:40 +00:00
|
|
|
; homeall.g
|
|
|
|
; called to home all axes
|
|
|
|
;
|
|
|
|
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
|
|
|
|
;G91 ; relative positioning
|
|
|
|
;G1 H2 Z5 F6000 ; lift Z relative to current position
|
|
|
|
;G1 H1 X505 Y505 F1800 ; move quickly to X or Y endstop and stop there (first pass)
|
|
|
|
;G1 H1 X505 ; home X axis
|
|
|
|
;G1 H1 Y505 ; home Y axis
|
|
|
|
;G1 X-5 Y-5 F6000 ; go back a few mm
|
|
|
|
;G1 H1 X505 F360 ; move slowly to X axis endstop once more (second pass)
|
|
|
|
;G1 H1 Y505 ; then move slowly to Y axis endstop
|
|
|
|
;G90 ; absolute positioning
|
|
|
|
;G1 X43 Y28 F6000 ; go to first bed probe point and home Z
|
|
|
|
;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
|
|
|
|
|
|
|
|
;-------------------
|
2021-05-23 12:36:07 +00:00
|
|
|
; BLTouch
|
2021-05-24 12:25:40 +00:00
|
|
|
M280 P0 S160 ; Precautionary alarm release
|
|
|
|
M280 P0 S90 ; Ensure the pin is raised
|
2021-05-23 12:36:07 +00:00
|
|
|
|
|
|
|
G91 ; relative positioning
|
|
|
|
G1 H2 Z5 F6000 ; lift Z relative to current position
|
2021-05-24 12:25:40 +00:00
|
|
|
G1 H1 X-625 Y605 F3600 ; move quickly to X and U axis endstops and stop there (first pass)
|
|
|
|
G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
|
|
|
G1 H1 Y605 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
|
|
|
G1 H2 X5 Y-5 F6000 ; go back a few mm
|
|
|
|
G1 H1 X-625 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
|
|
|
G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass)
|
|
|
|
G1 H1 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
2021-05-23 12:36:07 +00:00
|
|
|
|
|
|
|
G90 ; absolute positioning
|
2021-05-24 12:25:40 +00:00
|
|
|
G1 X150 Y150 F10000 ; go to first probe point
|
2021-05-23 12:36:07 +00:00
|
|
|
G30 ; home Z by probing the bed
|
|
|
|
|
2021-05-24 12:25:40 +00:00
|
|
|
G91 ; relative positioning
|
|
|
|
G1 Z5 F100 ; lift Z relative to current position
|
|
|
|
G90 ; absolute positioning
|
2021-05-23 12:36:07 +00:00
|
|
|
G1 X0 Y0 F10000
|
|
|
|
|