End of a print extruder reverses emptying all plastic.

  • I'm having a problem after a print is finished it unloads all of my filament. I think the extruder is in reverse for about 300 mm to 500 mm worth of plastic.

    My gcode endcode is

    ;End GCode
    M104 S0 ;extruder heater off
    M140 S0 ;heated bed heater off (if you have it)
    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 F{travel_speed} ;move Z up a bit and retract filament even more
    G28 ;move to endstops
    M84 ;steppers off
    G90 ;absolute positioning

  • administrators

    It's because you have sliced using absolute extrusion, and you have not include command M83 before your G1 E-1 command in your endcode. So insert M83 after the G91 command. Also insert M82 after the G90 command if you want to set the default back to absolute extrusion afterwards.

  • OK the M83 and M82 commands strike again, What I really could use is cura doing this by default. Along with any other slicer.

    Thanks dc42

  • I think it just cura. I use slic3r prusa edition and you just set use relative extrusion. Then all extrude gcodes are relative and you can retract whenever you want.

  • I found out that with Cura if you save a profile it remembers start gcode and end gcode code. Even though it remembers your settings from everything else normally without making a profile.. Now I can close it turn off the computer come back to it and everything is like I left it!!

    So that solves that!

Log in to reply