Update homeall.g - Home Z first, then XY#50
Conversation
When running the setup macro PrintM3D#2 A SECOND time, the bed was touching the nozzle. The macro calls HOMEALL. The fist thing it did was move the XY. It should have homed Z first to make sure there was clearance for the nozzle. I looked at homeall.g and found that it was homing xy first. This is dangerous if the nozzle is touching the bed. It is best to home Z first which automatically creates clearance and THEN home XY.
|
I've updated my homeall.g with Chat GPT. It drops the bed unless it's sitting on the lower switch. Then homes y, x, and then uses the IR sensor for homing z. ; homeall.g - Home Y, then X, then Z using IR probe G91 ; Enable relative positioning if !sensors.endstops[2].triggered G90 ; Return to absolute positioning M98 P"homey.g" ; homex.g - Home X axis (X max), home Y only if not already homed if sensors.endstops[1].triggered != true G91 ; homey.g - Home Y (Y max) G91 ; homez.g - Home Z using IR probe (Z = 0 at bed top) if !move.axes[1].homed G1 X190 Y190 F7500 |
|
I’ve all but made my printer a doorstop. Have you managed to make it productive?TedReply to ***@***.*** Oct 28, 2025, at 9:22 PM, PeterTremonti ***@***.***> wrote:PeterTremonti left a comment (PrintM3D/Promega#50)
I've updated my homeall.g with Chat GPT. It drops the bed unless it's sitting on the lower switch. Then homes y, x, and then uses the IR sensor for homing z.
; homeall.g - Home Y, then X, then Z using IR probe
G91 ; Enable relative positioning
if !sensors.endstops[2].triggered
G1 H2 Z+5 F600 ; Lower bed slightly only if Z stop is not triggered
G90 ; Return to absolute positioning
M98 P"homey.g"
M98 P"homex.g"
M98 P"homez.g"
; homex.g - Home X axis (X max), home Y only if not already homed
if sensors.endstops[1].triggered != true
{
M98 P"homey.g"
}
G91
G1 H1 X400 F7500
G1 X-5 F1000
G1 H1 X10 F1200
G90
; homey.g - Home Y (Y max)
G91
G1 H1 Y400 F7500
G1 Y-5 F1000
G1 H1 Y10 F1200
G90
; homez.g - Home Z using IR probe (Z = 0 at bed top)
if !move.axes[0].homed
M98 P"homex.g"
if !move.axes[1].homed
M98 P"homey.g"
G1 X190 Y190 F7500
G30
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
|
I've made a few prints, but nothing useful yet. I was playing around with Cura since Orcaslicer doesn't support color mixing nozzles as far as I can tell. I had to reprint the extruder plug holder plate thing since it was melting and the tubes kept pulling through and jamming themselves into the extruder pathways and causing under extrusion. I tried making a better cooling fan setup, but my modelling isn't the best. https://www.facebook.com/share/p/1MbBS21eQc/ There's a picture of the benchies I've printed with Cura doing the color mixing. You can see where the PTFE tubes pulled into the extruder hole and pinched the filament so it had issues. |
When running the setup macro #2 A SECOND time, the bed was touching the nozzle. The macro calls HOMEALL. The fist thing it did was move the XY. It should have homed Z first to make sure there was clearance for the nozzle.
I looked at homeall.g and found that it was homing xy first. This is dangerous if the nozzle is touching the bed. It is best to home Z first which automatically creates clearance and THEN home XY.