24 lines
1.1 KiB
Text
24 lines
1.1 KiB
Text
; homeall.g
|
|
; called to home all axes
|
|
;
|
|
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 01 2020 17:57:58 GMT+0400 (+04)
|
|
G91 ; relative positioning
|
|
G1 H2 Z5 F6000 ; lift Z relative to current position
|
|
G1 H1 X-270 U275 Y210 F1800 ; move quickly to X or Y endstop and stop there (first pass)
|
|
G1 H1 X-270 ; home X1 axis
|
|
G1 H1 U275 ; home X2 axis
|
|
G1 H1 Y210 ; home Y axis
|
|
G1 X5 U-5 Y-5 F6000 ; go back a few mm
|
|
G1 H1 X-270 F360 ; move slowly to X axis endstop once more (second pass)
|
|
G1 H1 U275 F360 ; move slowly to X2 axis endstop once more (second pass)
|
|
G1 H1 Y210 ; then move slowly to Y axis endstop
|
|
G1 H1 Z-255 F360 ; move Z down stopping at the endstop
|
|
G90 ; absolute positioning
|
|
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
|
|
|
|
; Uncomment the following lines to lift Z after probing
|
|
G91 ; relative positioning
|
|
G1 Z5 F100 ; lift Z relative to current position
|
|
G90 ; absolute positioning
|
|
|
|
|