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

    Nozzle move too late at the end of print

    Scheduled Pinned Locked Moved
    Gcode meta commands
    4
    14
    445
    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.
    • Auréundefined
      Auré
      last edited by Auré

      Yep!

      I use Cura my GCODE for the end of print is this:

      G91 ;Relative positioning
      G1 E-5 F2700 ;Retract a bit
      G1 E-5 Z1 F2400 ;Retract and raise Z
      M106 S0
      G90
      G1 X355 Y340 F3000 ;Wipe out
      M117 Fin d'impression

      gcodefin.jpg

      Reprap core XY, Ender 3 upgraded.

      If you keep trying, you'll eventually succeed. So: the more you fail, the more likely you are to succeed.
      A quote from Jacques Rouxel

      alankilianundefined 1 Reply Last reply Reply Quote 0
      • alankilianundefined
        alankilian @Auré
        last edited by

        @auré

        OK, I think you are saying that line 2352 is your last printing move, and the time between that move and line 2359 where you move the head away from the print takes too long?

        Since line 2354 does a retract, I think you can skip line 2358 and the 'E' parameter on 2359 so maybe that will speed things up enough.

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        1 Reply Last reply Reply Quote 0
        • Auréundefined
          Auré
          last edited by Auré

          Ok I try, I got to print a test.

          G91 ;Relative positioning
          G1 Z1 F2400 ;Raise Z
          M106 S0
          G90
          G1 X355 Y340 F3000 ;Wipe out
          M117 Fin d'impression

          Reprap core XY, Ender 3 upgraded.

          If you keep trying, you'll eventually succeed. So: the more you fail, the more likely you are to succeed.
          A quote from Jacques Rouxel

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

            @auré in your end GCode script you need to add M83 before the G1 E-5 line. This s because Cura sets the extrusion mode to absolute prior to running any user-provided scripts. This is totally stupid, but it's what the Cura devs implemented. What's probably happening is that the G1 E-5 line is retracting a lot of filament instead of 1mm, and that's what takes the time.

            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

            Auréundefined Phaedruxundefined 2 Replies Last reply Reply Quote 3
            • Auréundefined
              Auré @dc42
              last edited by

              @dc42 said in Nozzle move too late at the end of print:

              in your end GCode script you need to add M83 before the G1 E-5 line. This s because Cura sets the extrusion mode to absolute prior to running any user-provided scripts. This is totally stupid, but it's what the Cura devs implemented. What's probably happening is that the G1 E-5 line is retracting a lot of filament instead of 1mm, and that's what takes the time.

              Thank you very much, as soon as I have solved my filament blockage in my extruder I will do some tests.

              Reprap core XY, Ender 3 upgraded.

              If you keep trying, you'll eventually succeed. So: the more you fail, the more likely you are to succeed.
              A quote from Jacques Rouxel

              1 Reply Last reply Reply Quote 0
              • Auréundefined
                Auré
                last edited by

                Well, it seems okay with this:

                G91 ;Relative positioning
                M83
                G1 E-1 F2700 ;Retract a bit
                G1 E-1 Z1 F2400 ;Retract and raise Z
                M106 S0
                G90
                G1 X355 Y340 F3000 ;Wipe out
                M117 Fin d'impression

                Thank you very much both

                Reprap core XY, Ender 3 upgraded.

                If you keep trying, you'll eventually succeed. So: the more you fail, the more likely you are to succeed.
                A quote from Jacques Rouxel

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

                  @dc42 said in Nozzle move too late at the end of print:

                  This s because Cura sets the extrusion mode to absolute prior to running any user-provided scripts. This is totally stupid, but it's what the Cura devs implemented.

                  You can still set Cura to use relative extrusion. It's an option under special moves section I believe and may be hidden by default.

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    @phaedrux unless they changed it recently, even when you set relative extrusion, Cura emits a M82 command prior to any user-specified GCode scripts.

                    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

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

                      @dc42 I think it's just once at the start of the file. And if you've enabled relative extrusion the M83 will follow shortly after. As far as I know it doesn't switch back after that.

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @phaedrux this is latest Cura:
                        3baebe20-8e44-4a2a-b753-d8c61ebdad17-image.png

                        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

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

                          @dc42 Yes you're right, it does insert a M82. I think I've never noticed an issue with that because I use firmware retraction, so my ending script just performs a simple retraction with G10 rather than a G1 E move.

                          Is that tooltip comment about slight deviations in the amount of deposited material actually accurate any longer?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • Auréundefined
                            Auré
                            last edited by

                            Hi

                            Thank you for your research!

                            Reprap core XY, Ender 3 upgraded.

                            If you keep trying, you'll eventually succeed. So: the more you fail, the more likely you are to succeed.
                            A quote from Jacques Rouxel

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