Homeall.g pauses in front of the Z Home for about 15 seconds
-
when pressing all axes Homen. Homed he x y u and then pauses for 15 seconds before homed the z axis.
; homeall.g ; called to home all axes M561 G91 G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed G1 H1 X-35 Y-400 U355 F3000 ; coarse home X, Y and U G1 H2 X4 Y4 U-4 F3000 ; move 4mm away from the homing switches G1 H1 X-400 Y-10 U400 F600 ; fine home X, Y and U G91 ; Now home Z using the Z probe G1 H2 X170 Y110 F3000 ; move to bed centre for probing G30 ; probe the bed and set Z height G1 H1 X-400 Y-400 U400 F3000 G90 G29 S1
Homez G91 ; relative mode G1 H2 Z4 F2000 ; raise head 4mm to ensure it is above the Z probe trigger height G90 ; back to absolute mode G1 H2 X170 Y110 F6000 ; put head over the centre of the bed, or wherever you want to probe G30 ; lower head, stop when probe triggered and set Z to trigger height G1 H1 X-35 U355 F3000
-
@Proschi78 said in Homeall.g pauses in front of the Z Home for about 15 seconds:
; Now home Z using the Z probeG1 H2 X170 Y110 F3000 ; move to bed centre for probing
Do not use H2 for this move. H2 is only needed when you are trying to move an axis that has not yet been homed, such as when you want to lift the Z axis slightly before an XY travel move.
G1 H1 X-400 Y-400 U400 F3000
You're also sending another homing move for XYU after homing Z. Is that actually intentional?
For example, your file should probably look like this instead.
; homeall.g ; called to home all axes M561 G91 G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed G1 H1 X-35 Y-400 U355 F3000 ; coarse home X, Y and U G1 X4 Y4 U-4 F3000 ; move 4mm away from the homing switches G1 H1 X-400 Y-10 U400 F600 ; fine home X, Y and U G90 ; absolute positioning ; Now home Z using the Z probe G1 X170 Y110 F3000 ; move to bed centre for probing G30 ; probe the bed and set Z height G29 S1
-
@Phaedrux I tried it
; homeall.g ; called to home all axes M561 G91 G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed G1 H1 X-35 Y-400 U355 F3000 ; coarse home X, Y and U G1 X4 Y4 U-4 F3000 ; move 4mm away from the homing switches G1 H1 X-400 Y-10 U400 F600 ; fine home X, Y and U G90 ; absolute positioning ; Now home Z using the Z probe G1 X170 Y110 F3000 ; move to bed centre for probing G30 ; probe the bed and set Z height G29 S1
the pause before the Z Homen is still there.
i homed x y u to z again so that the extruder is not in the middle of the table -
Is it pausing before it moves to the probe point, or is it pausing before it does the g30 to probe?
Try this one with some messages inserted so we can see what point it's pausing on.
M561 G91 G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed G1 H1 X-35 Y-400 U355 F3000 ; coarse home X, Y and U G1 X4 Y4 U-4 F3000 ; move 4mm away from the homing switches M117 Homing XYU G1 H1 X-400 Y-10 U400 F600 ; fine home X, Y and U M117 XYU homed G90 ; absolute positioning ; Now home Z using the Z probe M117 Moving to center G1 X170 Y110 F3000 ; move to bed centre for probing M117 Moved to Center M117 Probing Z G30 ; probe the bed and set Z height M117 Probed Z G29 S1
@Proschi78 said in Homeall.g pauses in front of the Z Home for about 15 seconds:
i homed x y u to z again so that the extruder is not in the middle of the table
In that case just use a normal G1 move without an H parameter.
-
@Phaedrux
I just found the bug.M561 G91 G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed G1 H1 X-35 Y-245 U355 F3000 ; coarse home X, Y and U G1 X4 Y4 U-4 F3000 ; move 4mm away from the homing switches G1 H1 X-400 Y-10 U400 F600 **y-10 instead of Y-245** G90 ; absolute positioning ; Now home Z using the Z probe G1 X170 Y110 F3000 ; move to bed centre for probing G30 ; probe the bed and set Z height G1 x-35 y-245 U365 F3000 G29 S1
then the Y axis was not at zero but +4
-
@Phaedrux Now the homing runs cleanly.
Thank you for your help.M561 G91 G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed G1 H1 X-35 Y-245 U355 F3000 ; coarse home X, Y and U G1 X4 Y4 U-4 F3000 ; move 4mm away from the homing switches G1 H1 X-400 Y-245 U400 F600 ; fine home X, Y and U G90 ; absolute positioning ; Now home Z using the Z probe G1 X170 Y110 F3000 ; move to bed centre for probing G30 ; probe the bed and set Z height G1 x-35 y-245 U365 F3000 G29 S1
-
@Proschi78 said in Homeall.g pauses in front of the Z Home for about 15 seconds:
G1 H1 X-35
Is that a long enough of a move to ensure the X endstop is hit?
-
@Phaedrux yes the x and u limit switch is hit.
Unfortunately, because I have little space to install something to clean the nozzles -
What if your farther than 35mm away from the endstop?
Generally it's best practice to have the homing move by at least as long as the length of the axis.
-
@Phaedrux I have extended the way thank you
-
-