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

    Mid Air Prints unless I Restart

    Scheduled Pinned Locked Moved
    General Discussion
    5
    24
    2.4k
    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.
    • p40whkundefined
      p40whk
      last edited by

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Thu Jan 03 2019 13:44:38 GMT-0500 (Eastern Standard Time)
      G91 ; relative positioning
      G1 Z5 F6000 S2 ; lift Z relative to current position
      G1 S1 X-240 Y-240 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
      G1 X5 Y5 F6000 ; go back a few mm
      G1 S1 X-240 Y-240 F360 ; move slowly to X and Y axis endstops once more (second pass)
      G90 ; absolute positioning
      G1 X15 Y15 F6000 ; go to first bed probe point and home Z
      G30 ; home Z by probing the bed

      ; Uncomment the following lines to lift Z after probing
      ;G91 ; relative positioning
      ;G1 S2 Z5 F100 ; lift Z relative to current position
      ;G90 ; absolute positioning


      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Thu Jan 03 2019 13:44:38 GMT-0500 (Eastern Standard Time)
      G28 ; home
      G30 P0 X20 Y20 Z-99999 ; probe near a leadscrew
      G30 P1 X115 Y115 Z-99999 ; probe near a leadscrew
      G30 P2 X210 Y210 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
      G29 S0 ; probe the bed and enable compensation
      G28 ; home


      Slicer End-Code:

      G91
      G1 Z10 E-1 F1200 ; move Z up and retract filament 1mm
      G28 X0 Y0 F1200 ; Home X and Y Axis
      M104 S0 ; turn off extruder
      M140 S0 ; turn off bed
      M84 ; disable motors

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

        Does the printer not home itself when starting the new print?

        What firmware version are you using? DWC version?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          It does home itself, and DWC is at 1.21.

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

            @p40whk is the firmware at 1.21 as well?

            There was a bug around that version that would stack the z offset causing problems like you describe. I suggest you upgrade your firmwares.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              Thanks but I misspoke, I wasn't at the computer where my printer is but I am up to date on firmware

              0_1550369483895_Firmware.png

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

                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.

                dc42undefined 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA