Lower bed after print is finished, cartesian XY
-
Hey I have a CR-5 Pro, cartesian XY, that is the bed moves up and down as Z.
Is there some clever GCODE to use to lower the bed when a print is finished, but not when the bed is already lowered a bit?
To clarify a bit, when the print is done, i want to lower the bed to ie. 150mm, but only if the print is not lower than 150mm.
-
Hi,
If you are using v3 firmware (v3.1.1, v3.2) then yes - you could use the conditional code feature to test the current position and move or not based on that.
Frederick
-
Well if you use a relative move to lower the bed it will respect the bed axis distance limit. Are you worried it will try to go lower than it physically can?
-
@fcwilt Oh that sounds interesting, i will look in to that
-
@brasse said in Lower bed after print is finished, cartesian XY:
Hey I have a CR-5 Pro, cartesian XY, that is the bed moves up and down as Z.
Is there some clever GCODE to use to lower the bed when a print is finished, but not when the bed is already lowered a bit?
To clarify a bit, when the print is done, i want to lower the bed to ie. 150mm, but only if the print is not lower than 150mm.
This will work if you are using RRF3:
if move.axes[2].userPosition < 150 G1 Z150 F1000
Adjust the F parameter as required for your printer.
-
@Phaedrux Yeah a bit, also a bit worried to hit the print.
You can never be too safe -
@dc42 Oh thats clever, just what i was looking for. Thanks