Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    End Gcode Question

    Duet Hardware and wiring
    3
    4
    50
    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.
    • Malgandalf
      Malgandalf last edited by

      I have this line in my end gcode and it is not working as expected. I would like it to retract 1mm but it retracts way more than that, retracting the filament beyond the bondtech extruder. If I comment out this line there is not retraction. What am I missing?

      G1 Z1 E-1 F600 ;Retract Filament

      TIA-Mike

      1 Reply Last reply Reply Quote 0
      • Veti
        Veti last edited by

        Issue a
        M82
        then
        afterwards
        M83

        1 Reply Last reply Reply Quote 0
        • Phaedrux
          Phaedrux Moderator last edited by

          For clarity, what this probably means is that your slicer and firmware are currently set to use absolute extrusion mode as opposed to relative extrusion. In absolute mode it's as if a running tally is kept of all the extrusion amounts. Starting at 0 and going until the end of the print. So when you send E-1 it's telling the extruder to go ALL the way back to the start of the print. Relative moves by contract are relative to the last position, so doing E-1 just moves it back -1mm from the last position.

          https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M82_Set_extruder_to_absolute_mode

          Here's a good explainer: https://www.sublimelayers.com/2017/10/to-extruder-relative-or-not-to-extrude.html

          In short, change your slicer to use relative extrusion instead. A quick google should help you with the slicer.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Malgandalf
            Malgandalf last edited by

            Thank you, I knew it was going to be something like that.

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