Duet3D Logo

    Duet3D

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

    Nozzle move too late at the end of print

    Gcode meta commands
    4
    14
    159
    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é
      Auré last edited by

      Hello,

      I don't understand, when my printer reaches the end of the print, the nozzle stays on the last coordinate and the nozzle doesn't move.
      The petg melts and after a few moments the nozzle goes on the coordinate I specified when the print is finished.
      This makes a petg ball on my print on the last coordinate.

      Does anyone have an idea please?

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

        @auré

        In my slicer Simplify3D, there's a place where I can enter GCODE that gets executed at the end of the print.

        I have this in there:

        M106 S0 ; turn off cooling fan
        M104 S0 ; turn off extruder
        M140 S0 ; turn off bed
        G28 ; home axes
        

        That shuts down everything and moved the printhead away from my print but does not disable the motors, so the printer doesn't drop the head onto the print.

        What slicer are you using and what does it have in its ending GCODE section?

        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é
          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

          alankilian 1 Reply Last reply Reply Quote 0
          • alankilian
            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é
              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

              dc42 1 Reply Last reply Reply Quote 0
              • dc42
                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é Phaedrux 2 Replies Last reply Reply Quote 3
                • Auré
                  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.

                  1 Reply Last reply Reply Quote 0
                  • Auré
                    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

                    1 Reply Last reply Reply Quote 0
                    • Phaedrux
                      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

                      dc42 1 Reply Last reply Reply Quote 0
                      • dc42
                        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

                        Phaedrux 1 Reply Last reply Reply Quote 0
                        • Phaedrux
                          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

                          dc42 1 Reply Last reply Reply Quote 0
                          • dc42
                            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

                            Phaedrux 1 Reply Last reply Reply Quote 0
                            • Phaedrux
                              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é
                                Auré last edited by

                                Hi

                                Thank you for your research!

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