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

    Full retract when complete

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    7
    14
    1.4k
    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.
    • peter247undefined
      peter247
      last edited by peter247

      Is there a default macro which does a full retract , because after each print it does a full eject of filament .
      I can see anything in the cura end code which will do it.

      G91 ;Relative positioning
      G1 E-2 F2700 ;Retract a bit
      G1 E-2 Z0.2 F2400 ;Retract and raise Z
      G1 X5 Y5 F3000 ;Wipe out
      G1 Z10 ;Raise Z more
      G90 ;Absolute positionning
      
      G1 X0 Y{machine_depth} ;Present print
      M106 S0 ;Turn-off fan
      M104 S0 ;Turn-off hotend
      M140 S0 ;Turn-off bed
      
      M84 X Y E ;Disable all steppers but Z
      

      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

      botundefined Magicwoodundefined 2 Replies Last reply Reply Quote 0
      • botundefined
        bot @peter247
        last edited by

        Are you using absolute extrusion? Cura might think that putting the printer into G91 relative mode affects the extruder axis too -- it doesn't in RRF.

        So, I suspect what is happening is that instead of retracting 2 mm, it's commanding the E axis to -2 mm absolute location.

        *not actually a robot

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          Use M83 to put the firmware in relative extrusion mode before those G1 E-xx commands.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          peter247undefined 1 Reply Last reply Reply Quote 0
          • peter247undefined
            peter247 @dc42
            last edited by peter247

            @dc42 Wasn't M83 first line of the old config.g file ?
            oops M83 is still the first line of the config.g file , so will add it to the end g-code .

            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

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

              Definitely check Cura to make sure it's set to relative extrusion mode.

              Z-Bot CoreXY Build | Thingiverse Profile

              peter247undefined 1 Reply Last reply Reply Quote 0
              • peter247undefined
                peter247 @Phaedrux
                last edited by

                @Phaedrux Yep , done that , but in cura it is hidden away in a special mode section.

                Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                1 Reply Last reply Reply Quote 0
                • Magicwoodundefined
                  Magicwood @peter247
                  last edited by

                  @peter247 I have the exact same problem. Hope you found a solution. Still searching.

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

                    @magicwood said in Full retract when complete:

                    @peter247 I have the exact same problem. Hope you found a solution. Still searching.

                    the solution is relative extrusion

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Magicwoodundefined 1 Reply Last reply Reply Quote 0
                    • Magicwoodundefined
                      Magicwood @Phaedrux
                      last edited by

                      @phaedrux Ok, Thanks. I found that and turned it off. I also saw something about putting M83 at the beginning of the END GCODE so I added that in there. Hope that was correct!

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

                        @magicwood said in Full retract when complete:

                        @phaedrux Ok, Thanks. I found that and turned it off. I also saw something about putting M83 at the beginning of the END GCODE so I added that in there. Hope that was correct!

                        You WANT relative extrusion on in the slicer so that it uses relative extruder movements.

                        M83 enables relative extrusion, so yes, adding that to the start of your end gcode will make any extruder moves there relative, which would probably solve your problem. Regardless though, you should probably be setting the slicer to use relative extrusion at all times anyway.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Magicwoodundefined 1 Reply Last reply Reply Quote 0
                        • Magicwoodundefined
                          Magicwood @Phaedrux
                          last edited by

                          @phaedrux Ok, So I turned that back on. I know I don't use that for the Ender 6 but that is a Marlin system.So Turn it on in slicer yet M83 at beginning o fthe END GCODE should stop the retraction at the end of the print. So confused. But I will try that. Thank You!

                          joubaraniundefined 1 Reply Last reply Reply Quote 0
                          • joubaraniundefined
                            joubarani @Magicwood
                            last edited by

                            @Magicwood hello, did you find solution of the problem? I am sorry for my poor English language

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

                              @joubarani The solution is to set your slicer to use relative extruder moves.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              oliofundefined 1 Reply Last reply Reply Quote 0
                              • oliofundefined
                                oliof @Phaedrux
                                last edited by

                                @Phaedrux alternately reset extruder position by executing G92 E0 before the end gcode retracts

                                <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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