What is the problem?
I am trying to make the bed on my CR-10 mini go forward when the print completes rather than end up with the bed at the back which needs the bed pulling forward to get the print off the base.
What did you already try to solve it?
I have put this code into the 'when print completes' box and also into the 'when print is cancelled' box in the GCODE Scripts settings
G1 F1800 E-3
G1 F3000 Z10
G28 X0 Y200 ; home x axis
M106 S0 ; turn off cooling fan
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors
This works correctly when I cancel a print, bringing the print bed forward for me to take the failed print of the bed but it doesn't when a print job is completed.
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware,
serial.log or output on terminal tab, ...)
Printer:- CR-10 Mini
Slicer:- Cura 3.6
Any ideas why this doesn't work for the end of print but it does for the cancel?
Also are there any other codes I should consider placing into this?