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

    Mid Air Prints unless I Restart

    Scheduled Pinned Locked Moved
    General Discussion
    5
    24
    2.3k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      When the G32 leadscrew bed levelling runs at the start of your print, does it run correctly at the start of the second print, and what corrections does it report?

      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

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

        @randomfactoid said in Mid Air Prints unless I Restart:

        I've seen at least 3 posts of this kind (one from myself) about this exact issue - Z height increment between subsequent prints. Don't think there was ever a solution but to babystep for the 1st layer (in my case for instance the Z babystepping required would be around 0.4-0.5mm) and then reset babystepping for the 2nd layer and magically 2nd layer comes back to normal layerheight. Interestingly, even though it prints in air, stopping the print and sending G1 Z0 sends the nozzle to the bed as it should be. I ended up migrating to klipper for this very reason, but reverted back as DWC/PanelDue were too much of a sacrifice 🙂

        Can't wait for a solution. Btw, if it'd help with debugging, i'm happy to post my configs.

        Are you able to construct a short GCode file that demonstrates this if I run it twice? Preferably without involving heating or extrusion.

        Are you also using G32 leadscrew bed levelling?

        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

        1 Reply Last reply Reply Quote 0
        • RandomFactoidundefined
          RandomFactoid
          last edited by

          @dc42 will try to do that asap...maybe today.

          I am using G32 gantry leveling on Voron 2.1 using 4 z steppers with corrections of 0.0x or 0.00x on each one after 3 passes.

          1 Reply Last reply Reply Quote 0
          • p40whkundefined
            p40whk @dc42
            last edited by

            @dc42 said in Mid Air Prints unless I Restart:

            When the G32 leadscrew bed levelling runs at the start of your print, does it run correctly at the start of the second print, and what corrections does it report?

            Yes, it does run correctly at the start of the second print however, I didn't note what it reported, I'll set up a couple of jobs today and check that.

            1 Reply Last reply Reply Quote 0
            • RandomFactoidundefined
              RandomFactoid
              last edited by

              @dc42 thanks to your suggestion about the simple gcode, I think I found the problem.

              Apparently if you have G10 in your pause.g (or, I suppose anywhere in your Gcode) and have Z hop defined in M207, after cancelling the print (or, I'd guess, finishing it without unretracting), after starting a new print, z=0 becomes the value of the Z hop height in M207, because it zhops, the print gets cancelled or finishes and never actually zhops down to previous height.

              I tested this by uncommenting G10 from my pause.g and the problem disappeared. I also tried setting M207 Z(random number) and after starting a new print, Z=0 is at a height of (random number) and actually you can jog the nozzle into negative numbers after stopping the print...and it goes right to the negative height of M207 Z value.

              This seems like a bug in the firmware as Zhop height doesn't get cancelled after the print finishes without unretracting.

              p40whkundefined dc42undefined 2 Replies Last reply Reply Quote 0
              • p40whkundefined
                p40whk @RandomFactoid
                last edited by

                @randomfactoid So I just checked and don't have G10 anywhere in my code and am not using M207 yet I still have this issue. So, my problem even though related does not seem to be the same.

                1 Reply Last reply Reply Quote 0
                • RandomFactoidundefined
                  RandomFactoid
                  last edited by

                  @p40whk what values does M207 return ?

                  p40whkundefined 1 Reply Last reply Reply Quote 0
                  • p40whkundefined
                    p40whk @RandomFactoid
                    last edited by

                    @randomfactoid said in Mid Air Prints unless I Restart:

                    @p40whk what values does M207 return ?

                    I'm in the middle of a print right now, where/when would I use the M207 command?

                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                    • RandomFactoidundefined
                      RandomFactoid
                      last edited by

                      Overall - at any point, but it'll probably be hard to see the output while printing. Although try that in console - it might work.
                      Tbh your issue sounds exactly like mine, but, you're right, it's different if you aren't using G10 anywhere.

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

                        @p40whk said in Mid Air Prints unless I Restart:

                        @randomfactoid said in Mid Air Prints unless I Restart:

                        @p40whk what values does M207 return ?

                        I'm in the middle of a print right now, where/when would I use the M207 command?

                        M207 sets the parameters for firmware retraction. If you haven't set it up in the slicer to use it, it won't tell you anything. If you were using it, you'd know.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        p40whkundefined 1 Reply Last reply Reply Quote 0
                        • p40whkundefined
                          p40whk @Phaedrux
                          last edited by

                          @phaedrux said in Mid Air Prints unless I Restart:

                          @p40whk said in Mid Air Prints unless I Restart:

                          @randomfactoid said in Mid Air Prints unless I Restart:

                          @p40whk what values does M207 return ?

                          I'm in the middle of a print right now, where/when would I use the M207 command?

                          M207 sets the parameters for firmware retraction. If you haven't set it up in the slicer to use it, it won't tell you anything. If you were using it, you'd know.

                          That's kind of what I thought, it's not set up in my slicing program.

                          I'm waiting for the first print to be done and I'll take a video of what it does when I go to print a new print.

                          1 Reply Last reply Reply Quote 0
                          • jasperkmundefined
                            jasperkm
                            last edited by jasperkm

                            @p40whk could you check if there is a G10 command at the end of the .gcode file that you're running? (just before the end gcodes will run)

                            p40whkundefined 1 Reply Last reply Reply Quote 0
                            • p40whkundefined
                              p40whk @jasperkm
                              last edited by

                              @jasperkm said in Mid Air Prints unless I Restart:

                              @p40whk could you check if there is a G10 command at the end of the .gcode file that you're running? (just before the end gcodes will run)

                              0_1550429099237_3030_filament_guide_v2.gcode

                              I've attached the file I'm currently printing. Checked a few others as well and there is no G10 command present.

                              1 Reply Last reply Reply Quote 0
                              • RandomFactoidundefined
                                RandomFactoid
                                last edited by RandomFactoid

                                I was just told that GitHub is not very much looked at when it comes to firmware issues (posted the issue here just in case: https://github.com/dc42/RepRapFirmware/issues/266) ...so just want to check with @dc42 if there's anything else I could contribute to this ? I know you asked for Gcode...so just not to leave any unanswered questions, it was:

                                G21 ; set units to millimeters
                                G90 ; use absolute coordinates
                                M83 ; use relative distances for extrusion

                                G1 Z0.100 F18000.000
                                G1 X50 Y50 F18000.000
                                G1 F2000
                                G1 X150 Y150
                                G1 X50 Y150
                                G1 X150 Y50

                                With pause.g having
                                G10
                                G1 Z+20 F6000

                                Armadillo1 created this issue in dc42/RepRapFirmware

                                closed G10 changes Z=0 for following prints if not followed by unretract (G11) #266

                                1 Reply Last reply Reply Quote 0
                                • p40whkundefined
                                  p40whk
                                  last edited by p40whk

                                  Here's a quick video of the end of the first print and start of the second print.

                                  Air Print Problem

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

                                    @randomfactoid said in Mid Air Prints unless I Restart:

                                    @dc42 thanks to your suggestion about the simple gcode, I think I found the problem.

                                    Apparently if you have G10 in your pause.g (or, I suppose anywhere in your Gcode) and have Z hop defined in M207, after cancelling the print (or, I'd guess, finishing it without unretracting), after starting a new print, z=0 becomes the value of the Z hop height in M207, because it zhops, the print gets cancelled or finishes and never actually zhops down to previous height.

                                    I tested this by uncommenting G10 from my pause.g and the problem disappeared. I also tried setting M207 Z(random number) and after starting a new print, Z=0 is at a height of (random number) and actually you can jog the nozzle into negative numbers after stopping the print...and it goes right to the negative height of M207 Z value.

                                    This seems like a bug in the firmware as Zhop height doesn't get cancelled after the print finishes without unretracting.

                                    Thanks for the report. I've added this to the development list for the next 2.03beta release. Meanwhile you can work around this issue by putting G11 commands in appropriate places, for example in cancel.g and stop.g. Perhaps also in your slicer start GCode and in homeall.g. A G11 command will be ignored unless there is a G10 command that has not already been undone using G11.

                                    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

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