Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Printer takes 5/10 minutes to start the end code

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    3
    4
    624
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Black Canaryundefined
      Black Canary
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • burtoogleundefined
        burtoogle
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman
          last edited by

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

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          Black Canaryundefined 1 Reply Last reply Reply Quote 0
          • Black Canaryundefined
            Black Canary @deckingman
            last edited by

            @deckingman @burtoogle Understood now, thank you folks.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA