Hi, is there anybody out there who can post a snippet of code I can add that drops the bed to its lowest position (x axis) when printing has finished?
I think you meant the Z axis.
In the printer’s end gcode is the following line:
M17 Z0.4 ; lower z motor current to reduce impact if there is something in the bottom
{if (max_layer_z + 100.0) < 250}
G1 Z{max_layer_z + 100.0} F600
G1 Z{max_layer_z +98.0}
{else}
G1 Z250 F600
G1 Z248
{endif}
M400 P100
M17 R ; restore z current
You would need to adjust this for your needs. You probably could just remove the conditional and do the else part. I haven’t tested this so use at your own risk.
1 Like
Yeah Z axis is what I meant. Thanks for that, I’ll give it a try