Duet3D Logo

    Duet3D

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

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

    Tuning and tweaking
    3
    4
    118
    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.
    • westech
      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

      fcwilt 1 Reply Last reply Reply Quote 0
      • fcwilt
        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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

          @fcwilt M83 is for relative extruder mode. 🙂

          fcwilt 1 Reply Last reply Reply Quote 2
          • fcwilt
            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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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