• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Auré
    last edited by Auré 24 Feb 2022, 15:47

    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

    undefined 1 Reply Last reply 24 Feb 2022, 16:05 Reply Quote 0
    • undefined
      alankilian @Auré
      last edited by 24 Feb 2022, 16:05

      @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
      • undefined
        Auré
        last edited by Auré 24 Feb 2022, 16:15

        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

        undefined 1 Reply Last reply 24 Feb 2022, 16:23 Reply Quote 0
        • undefined
          dc42 administrators @Auré
          last edited by dc42 24 Feb 2022, 16:23

          @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

          undefined undefined 2 Replies Last reply 24 Feb 2022, 16:48 Reply Quote 3
          • undefined
            Auré @dc42
            last edited by 24 Feb 2022, 16:48

            @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
            • undefined
              Auré
              last edited by 24 Feb 2022, 18:05

              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
              • undefined
                Phaedrux Moderator @dc42
                last edited by 24 Feb 2022, 20:08

                @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

                undefined 1 Reply Last reply 24 Feb 2022, 21:01 Reply Quote 0
                • undefined
                  dc42 administrators @Phaedrux
                  last edited by 24 Feb 2022, 21:01

                  @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

                  undefined 1 Reply Last reply 24 Feb 2022, 21:13 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @dc42
                    last edited by 24 Feb 2022, 21:13

                    @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

                    undefined 1 Reply Last reply 25 Feb 2022, 13:36 Reply Quote 0
                    • undefined
                      dc42 administrators @Phaedrux
                      last edited by 25 Feb 2022, 13:36

                      @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

                      undefined 1 Reply Last reply 25 Feb 2022, 19:56 Reply Quote 0
                      • undefined
                        Phaedrux Moderator @dc42
                        last edited by 25 Feb 2022, 19:56

                        @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
                        • undefined
                          Auré
                          last edited by 25 Feb 2022, 22:14

                          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
                          12 out of 14
                          • First post
                            12/14
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA