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

    Weird retraction problem. How is my end G-code?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    4
    323
    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.
    • westechundefined
      westech
      last edited by

      Greetings!

      Thought I'd ask here. I use Cura on an Ender 3. Trying a new fast profile. Same end g-code I have been using. But I've experienced the extruder retracting almost all the way up the bowden tube at the end.

      I leaned the hard way on my next print when nothing was coming out.

      Does my end G-code look okay?

      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 positioning

      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

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @westech
        last edited by fcwilt

        @westech

        G91 sets relative mode only for axis moves.

        For extrusion you need M82 to set absolute mode and M83 to set relative mode.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        Stephen6309undefined 1 Reply Last reply Reply Quote 1
        • Stephen6309undefined
          Stephen6309 @fcwilt
          last edited by

          @fcwilt M83 is for relative extruder mode. 🙂

          fcwiltundefined 1 Reply Last reply Reply Quote 2
          • fcwiltundefined
            fcwilt @Stephen6309
            last edited by

            @stephen6309 said in Weird retraction problem. How is my end G-code?:

            @fcwilt M83 is for relative extruder mode. 🙂

            Thanks for catching my typo.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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