Printer takes 5/10 minutes to start the end code
-
Hi everyone, after around 7/8 prints with my new Duet wifi board it was the first time that I actually saw the printer finishing a print and I realize that after the last layer the printer takes 5/10 minutes to execute the end code which explains why I have been getting a bit of damaged plastic in the top of every print my end code is this one:
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G90 ;absolute positioningThis was the one that I used in my previous board as well and It worked more than fine
-
G91 does not change the extruder mode to relative, you need to use M83 to do that.
https://duet3d.dozuki.com/Wiki/GCode#Section_G91_Set_to_Relative_Positioning
https://duet3d.dozuki.com/Wiki/Gcode#Section_M83_Set_extruder_to_relative_mode
-
To elaborate on what @burtoogle has said. If you were using absolute for the print, then sending G1 E-1 will retract all the filament that was used during the print (since the extruder was zeroed) plus another 1mm and at 5mm/sec (300mm/min) that's going to take some time. If you want retract just 1mm, of filment then you need to set the extrusion to relative mode before issuing the E-1 command.
As an aside, sending M84 will turn off all stepper motors, not just the extruders, which will mean that before you can print another part you'll have to re-home all the axes. If you don't want to have to do that, then send M82 E0 will turn off just the extruder motor (assuming you only have one extruder).
-
@deckingman @burtoogle Understood now, thank you folks.