Home Z axis
-
Hi!
I have a cartesian printer clone Ultimaker with Z endstop at the bottom. In Homeall.g wrote as follows:[c]
; homeall.g
; called to home all axes; Relative positioning
G91; Lift Z
G1 Z5 F6000G1 X-221 Y-221 Z351 F6000 S1
G90;
G92 Z355;
G91;G1 X5 Y5 Z-5 F6000
; Fine home X and Y
G1 X-255 Y-225 S1
G1 Z5 F500 S1; Absolute positioning
G90;
G92 Z355 ;
G1 X15 Y15 F6000
G1 Z0 F6000;[/c]
Correctly applied command G92? Is there an elegant solution?
-
Yes, instead of using G92, set your M208 S0 Z parameter to 355.
-
Of course:
[c]M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X220 Y220 Z355 S0 ; Set axis maxima[/c]In this case, the origin point is at the bottom. I want her upstairs. To the extruder.
Sorry for my English. -
That's right. Assuming you have the Z axis defined as high end (Z2 in the M574 command), when the Z endstop switch is triggered the Z position will be set to 355.
-
Z2 = probe? Z-probe is not located.
-
Z2 mean an endstop switch at the high end. It's S2 that selects type=Z probe.
-
Thanks you thanks you thanks you!!!
All work!