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 positioning

    This was the one that I used in my previous board as well and It worked more than fine

  • 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.


Looks like your connection to Duet3D was lost, please wait while we try to reconnect.