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

    Z axis will not change layers during a print

    Scheduled Pinned Locked Moved
    General Discussion
    5
    18
    2.5k
    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

      One possible cause is that you have the Z max speed (M203) or max acceleration (M201) set too high, so the stepper motor can't keep up.

      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
      • peter247undefined
        peter247
        last edited by

        I had the same problem due to a config mix up , dont know if its the same !!!!
        My problem was setting the min height wrong .

        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

        1 Reply Last reply Reply Quote 0
        • doggydaddyundefined
          doggydaddy
          last edited by

          I have tried now removing the Fxxxx from all Z axis moves in the g-code such as G1 Z0.28 F7200.000 to just G1 Z0.28, no help.

          I have also tried setting M203 to extremely low (60). I know my printer's Z axis can move much faster than this. Still no go.

          What is strange is that I can copy paste the g-code lines for z-axis movement and it will run just fine, but somehow when printing, the commands seems to be ignored. I did a dry run, and all xy moves seems fine, but the z-axis never moves one bit during printing…

          1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman
            last edited by

            @doggydaddy:

            Shouldnt be….its the ”most Cartesian” printer I own. Independent Y holding the platform, and belt X axis on Z lead screw platform.

            OK. I simply asked if it was Delta because you didn't say in you OP and my crystal ball had misted up, so I had no way of knowing.

            Could you share a section of the gcode file you are trying to print? Maybe one of us can spot something.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • doggydaddyundefined
              doggydaddy
              last edited by

              @deckingman:

              @doggydaddy:

              Shouldnt be….its the ”most Cartesian” printer I own. Independent Y holding the platform, and belt X axis on Z lead screw platform.

              OK. I simply asked if it was Delta because you didn't say in you OP and my crystal ball had misted up, so I had no way of knowing.

              Could you share a section of the gcode file you are trying to print? Maybe one of us can spot something.

              No problem. Apologies for not specifying. In my mind, it's taken for granted since I have been staring at this thing for the past 2 days, since the first thing I checked was all leads terminals and mechanics.

              here is the first couple of lines of g-code for calibration. With filament in, it won't get farther than that before the extruder jams

              [[language]]
              ; generated by Slic3r 1.3.0-dev on 2018-04-03 at 18:59:48
              
              ; external perimeters extrusion width = 0.55mm (0.00mm^3/s)
              ; perimeters extrusion width = 0.70mm (0.00mm^3/s)
              ; infill extrusion width = 0.62mm (0.00mm^3/s)
              ; solid infill extrusion width = 0.70mm (0.00mm^3/s)
              ; top infill extrusion width = 0.70mm (0.00mm^3/s)
              
              M107
              M115 U3.1.0 ; tell printer latest fw version
              M83  ; extruder relative mode
              M104 S220 ; set extruder temp
              M140 S60 ; set bed temp
              M190 S60 ; wait for bed temp
              M109 S220 ; wait for extruder temp
              G28 W ; home all without mesh bed level
              G80 ; mesh bed leveling
              G1 Y-3.0 F1000.0 ; go outside print area
              G92 E0.0
              G1 X60.0 E9.0  F1000.0 ; intro line
              G1 X100.0 E12.5  F1000.0 ; intro line
              G92 E0.0
              ; Filament gcode
              
              G21 ; set units to millimeters
              G90 ; use absolute coordinates
              M82 ; use absolute distances for extrusion
              G92 E0
              G1 Z0.280 F7200.000
              G1 E-2.00000 F2400.00000
              G92 E0
              G1 Z0.780 F7200.000
              G1 X134.544 Y135.615 F7200.000
              G1 Z0.280 F7200.000
              G1 E2.00000 F2400.00000
              G1 F2400
              G1 X136.309 Y134.052 E2.13310
              G1 X138.493 Y133.164 E2.26621
              G1 X140.000 Y133.000 E2.35175
              G1 X160.000 Y133.000 E3.48073
              G1 X162.324 Y133.397 E3.61383
              G1 X164.385 Y134.544 E3.74694
              G1 X165.948 Y136.309 E3.88004
              G1 X166.836 Y138.493 E4.01314
              G1 X167.000 Y140.000 E4.09869
              G1 X167.000 Y160.000 E5.22767
              G1 X166.603 Y162.324 E5.36077
              G1 X165.456 Y164.385 E5.49388
              G1 X163.691 Y165.948 E5.62698
              G1 X161.507 Y166.836 E5.76008
              G1 X160.000 Y167.000 E5.84563
              G1 X140.000 Y167.000 E6.97461
              G1 X137.676 Y166.603 E7.10771
              G1 X135.615 Y165.456 E7.24081
              G1 X134.052 Y163.691 E7.37392
              G1 X133.164 Y161.507 E7.50702
              G1 X133.000 Y160.000 E7.59256
              G1 X133.000 Y140.000 E8.72155
              G1 X133.397 Y137.676 E8.85465
              G1 X134.507 Y135.681 E8.98352
              G1 X135.039 Y135.800 F7200.000
              G1 F2400
              G1 X136.787 Y134.349 E9.11175
              G1 X140.000 Y133.500 E9.29932
              G1 X160.000 Y133.500 E10.42830
              G1 X162.237 Y133.897 E10.55653
              G1 X164.200 Y135.039 E10.68476
              G1 X165.651 Y136.787 E10.81298
              G1 X166.500 Y140.000 E11.00056
              G1 X166.500 Y160.000 E12.12954
              G1 X166.103 Y162.237 E12.25777
              G1 X164.961 Y164.200 E12.38600
              G1 X163.213 Y165.651 E12.51422
              G1 X160.000 Y166.500 E12.70180
              G1 X140.000 Y166.500 E13.83078
              G1 X137.763 Y166.103 E13.95901
              G1 X135.800 Y164.961 E14.08724
              G1 X134.349 Y163.213 E14.21546
              G1 X133.500 Y160.000 E14.40304
              G1 X133.500 Y140.000 E15.53202
              G1 X133.897 Y137.763 E15.66025
              G1 X135.002 Y135.865 E15.78424
              G1 F5760
              G1 X136.787 Y134.349 E14.85716
              G1 F5760
              G1 X139.164 Y133.721 E13.88424
              G1 E13.78424 F2400.00000
              G92 E0
              G1 Z0.780 F7200.000
              G1 X158.720 Y158.720 F7200.000
              G1 Z0.280 F7200.000
              G1 E2.00000 F2400.00000
              G1 F2400
              G1 X141.280 Y158.720 E2.98449
              G1 X141.280 Y141.280 E3.96898
              G1 X158.720 Y141.280 E4.95348
              G1 X158.720 Y158.645 E5.93373
              G1 X159.220 Y159.220 F7200.000
              G1 F2400
              G1 X140.780 Y159.220 E6.97467
              G1 X140.780 Y140.780 E8.01560
              G1 X159.220 Y140.780 E9.05653
              G1 X159.220 Y159.145 E10.09323
              G1 X159.720 Y159.720 F7200.000
              G1 F2400
              G1 X140.280 Y159.720 E11.19060
              G1 X140.280 Y140.280 E12.28797
              G1 X159.720 Y140.280 E13.38534
              G1 X159.720 Y159.645 E14.47847
              G1 X159.237 Y159.591 F7200.000
              G1 F5760
              G1 X154.920 Y159.664 E12.57847
              G1 E12.47847 F2400.00000
              G92 E0
              G1 Z0.780 F7200.000
              G1 X158.026 Y158.415 F7200.000
              G1 Z0.280 F7200.000
              G1 E2.00000 F2400.00000
              G1 F2373.75
              G1 X158.415 Y158.026 E2.03140
              G1 X158.415 Y157.311 E2.07219
              G1 X157.311 Y158.415 E2.16128
              G1 X156.596 Y158.415 E2.20208
              G1 X158.415 Y156.596 E2.34886
              G1 X158.415 Y155.881 E2.38966
              G1 X155.881 Y158.415 E2.59414
              G1 X155.167 Y158.415 E2.63493
              G1 X158.415 Y155.167 E2.89711
              G1 X158.415 Y154.452 E2.93790
              G1 X154.452 Y158.415 E3.25777
              G1 X153.737 Y158.415 E3.29857
              G1 X158.415 Y153.737 E3.67613
              G1 X158.415 Y153.022 E3.71693
              G1 X153.022 Y158.415 E4.15218
              G1 X152.307 Y158.415 E4.19298
              G1 X158.415 Y152.307 E4.68593
              G1 X158.415 Y151.593 E4.72672
              G1 X151.593 Y158.415 E5.27737
              G1 X150.878 Y158.415 E5.31817
              G1 X158.415 Y150.878 E5.92650
              G1 X158.415 Y150.163 E5.96730
              G1 X150.163 Y158.415 E6.63333
              G1 X149.448 Y158.415 E6.67413
              G1 X158.415 Y149.448 E7.39786
              G1 X158.415 Y148.733 E7.43865
              G1 X148.733 Y158.415 E8.22008
              G1 X148.019 Y158.415 E8.26087
              G1 X158.415 Y148.019 E9.09999
              G1 X158.415 Y147.304 E9.14079
              G1 X147.304 Y158.415 E10.03760
              G1 X146.589 Y158.415 E10.07839
              G1 X158.415 Y146.589 E11.03290
              G1 X158.415 Y145.874 E11.07369
              G1 X145.874 Y158.415 E12.08589
              G1 X145.159 Y158.415 E12.12669
              G1 X158.415 Y145.159 E13.19658
              G1 X158.415 Y144.445 E13.23738
              G1 X144.445 Y158.415 E14.36497
              G1 X143.730 Y158.415 E14.40576
              G1 X158.415 Y143.730 E15.59104
              G1 X158.415 Y143.015 E15.63184
              G1 X143.015 Y158.415 E16.87482
              G1 X142.300 Y158.415 E16.91561
              G1 X158.415 Y142.300 E18.21628
              G1 X158.415 Y141.585 E18.25708
              G1 X141.585 Y158.415 E19.61545
              G1 X141.585 Y157.700 E19.65624
              G1 X157.700 Y141.585 E20.95692
              G1 X156.985 Y141.585 E20.99771
              G1 X141.585 Y156.985 E22.24070
              G1 X141.585 Y156.270 E22.28149
              G1 X156.270 Y141.585 E23.46678
              G1 X155.556 Y141.585 E23.50757
              G1 X141.585 Y155.556 E24.63517
              G1 X141.585 Y154.841 E24.67596
              G1 X154.841 Y141.585 E25.74586
              G1 X154.126 Y141.585 E25.78666
              G1 X141.585 Y154.126 E26.79886
              G1 X141.585 Y153.411 E26.83966
              G1 X153.411 Y141.585 E27.79417
              G1 X152.696 Y141.585 E27.83497
              G1 X141.585 Y152.696 E28.73178
              G1 X141.585 Y151.982 E28.77258
              G1 X151.982 Y141.585 E29.61170
              G1 X151.267 Y141.585 E29.65249
              G1 X141.585 Y151.267 E30.43392
              G1 X141.585 Y150.552 E30.47472
              G1 X150.552 Y141.585 E31.19845
              G1 X149.837 Y141.585 E31.23925
              G1 X141.585 Y149.837 E31.90529
              G1 X141.585 Y149.122 E31.94608
              G1 X149.122 Y141.585 E32.55443
              G1 X148.408 Y141.585 E32.59522
              G1 X141.585 Y148.408 E33.14587
              G1 X141.585 Y147.693 E33.18667
              G1 X147.693 Y141.585 E33.67962
              G1 X146.978 Y141.585 E33.72042
              G1 X141.585 Y146.978 E34.15568
              G1 X141.585 Y146.263 E34.19648
              G1 X146.263 Y141.585 E34.57404
              G1 X145.548 Y141.585 E34.61484
              G1 X141.585 Y145.548 E34.93471
              G1 X141.585 Y144.834 E34.97551
              G1 X144.834 Y141.585 E35.23769
              G1 X144.119 Y141.585 E35.27848
              G1 X141.585 Y144.119 E35.48297
              G1 X141.585 Y143.404 E35.52376
              G1 X143.404 Y141.585 E35.67055
              G1 X142.689 Y141.585 E35.71135
              G1 X141.585 Y142.689 E35.80045
              G1 X141.585 Y141.974 E35.84124
              G1 X141.974 Y141.585 E35.87264
              M106 S237.15
              G1 Z0.628 F7200.000
              G1 X158.640 Y158.640 F7200.000
              G1 F4038.77
              G1 X141.360 Y158.640 E37.24090
              G1 X141.360 Y141.360 E38.60915
              G1 X158.640 Y141.360 E39.97740
              G1 X158.640 Y158.565 E41.33971
              G1 X159.205 Y159.205 F7200.000
              G1 F4038.77
              G1 X140.795 Y159.205 E42.79745
              G1 X140.795 Y140.795 E44.25518
              G1 X159.205 Y140.795 E45.71292
              G1 X159.205 Y159.130 E47.16472
              G1 X159.725 Y159.725 F7200.000
              G1 F4800
              G1 X140.275 Y159.725 E48.46059
              G1 X140.275 Y140.275 E49.75647
              G1 X159.725 Y140.275 E51.05234
              G1 X159.725 Y159.650 E52.34322
              G1 X159.242 Y159.596 F7200.000
              G1 X158.294 Y142.145 F7200.000
              G1 F3996.83
              G1 X157.855 Y141.706 E52.39297
              
              
              1 Reply Last reply Reply Quote 0
              • doggydaddyundefined
                doggydaddy
                last edited by

                @peter247:

                I had the same problem due to a config mix up , dont know if its the same !!!!
                My problem was setting the min height wrong .

                Thanks for the tip. That is one part of the configuration (in my very simple first config file) I haven't managed to fully figure out. I will double-check

                1 Reply Last reply Reply Quote 0
                • peter247undefined
                  peter247
                  last edited by

                  it was M208 X0 Y-15 Z0 S1 which I got wrong and set Z to 3 by mistake or not knowing what I was doing.

                  Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                  1 Reply Last reply Reply Quote 0
                  • doggydaddyundefined
                    doggydaddy
                    last edited by

                    nopp 😞 I didn't do that at least.

                    while the g-code obviously have G1 Z commands, it's still not moving in the Z direction at all during print. baby stepping and all other forms of manual G1 Z commands though the console, and machine control interface works perfectly…. Layer statistics of course doesn't change, taking forever at layer 1...

                    1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman
                      last edited by

                      Hmmm. That's very odd looking gcode with very strange layers heights and some really weird feed rates. Also some very odd behaviour. It seems that it starts with Z at 0.28 mm, raises it to 0.78 mm, moves the carriage without extruding filament then drops Z back down to 0.28mm and does that few times. Do you have "Avoid crossing perimeters" enabled? Anyway, regardless of that, the Z axis ought to move.

                      The other thing that struck me was the M115 command with a U parameter. M115 isn't needed so try taking it out, just in case that's causing some havoc somewhere.

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

                      1 Reply Last reply Reply Quote 0
                      • doggydaddyundefined
                        doggydaddy
                        last edited by

                        I forgot exactly if I have the crossing perimeters option activated, I shall check when I get home. I do have z-hop enabled, which is probably what that is (although I don't see why it should be there in the beginning since there is little to z-hop over….).

                        Note that this is generated from my default profile for that printer which I know works well (before I ripped out the old controller for the duet because I fried a driver in all my stupidity). I have also tried generating g-code using the same .stl file in Cura (also with a profile I know worked before, though that doesn't say much here) and the same thing "no z-axis movement" happens during printing.

                        The last tests I did yesterday was I manually injected huge z-axis movements such as "G1 Z10" at random locations in the first couple of layers of original code, and since I decreased z-axis top speeds to ludicrously low, I can see them in action. They run fine (with the correct distance too), but the "real" layer changes don't seem to be executing.

                        Almost at wits ends here. Last night I ordered another board (I shop to alleviate stress) to see if that helps, though Duet Wifis are currently out of stock and I have to wait a while ...

                        Would this be a bad time (i.e. way too late) to say that I (might) have damaged the board during assembly because I shorted a fan output and had to replace the 1A blade fuse? I withheld the information partly due to the fact that none of the other parts of the board seemed to be affected by that after testing, and partly due to me being ashamed of my incompetence.

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

                          I don't think it's a hardware problem, because your G1 Z10 commands worked.

                          You are not alone in having shorted a fan output. Lots of people seem to do that, which puzzles me. But as that's the many way that users have been damaging Duets, we decided to provide some protection for the fan circuits in the 1.03 PCB revision. Unfortunately, in testing I found that when I shorted a controlled fan output using 24V power, the mosfet blew before the fuse. I don't know what happens using 12V power.

                          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
                          • doggydaddyundefined
                            doggydaddy
                            last edited by

                            My mosfet seems to have survived the short at 14.5V, so the blade fuse did its job. I am not sure how it will be now when I replaced it with a 2A one (somehow, in my country 1A mini blade fuses is not a thing that exists)

                            Not sure about others, in my case shorting the fan output is due to: 1) I do this last, when exhaustion and impatience to fire up the printer sets in. 2) I have the bad habit of swapping my "favorite" fan across systems with different mounts, so my fan wiring has 4-5 half-baked soldering job scars across it, of which any can fail at any time but of course I always check the fresh half-baked crimp job first, happens to be closest to the board in this case. 3) I am not good at crimping. My mechanical handicap shows when using large tools on small parts.

                            I will try more configuring. While I am not a fan of z-probes in general, perhaps its worth it to try an actual z-probe instead of "faking one" according to the configs. I have found no issues in that respect though since the axis homes correctly with the min z-stop working as intended.

                            1 Reply Last reply Reply Quote 0
                            • doggydaddyundefined
                              doggydaddy
                              last edited by

                              @deckingman:

                              Hmmm. That's very odd looking gcode with very strange layers heights and some really weird feed rates. Also some very odd behaviour. It seems that it starts with Z at 0.28 mm, raises it to 0.78 mm, moves the carriage without extruding filament then drops Z back down to 0.28mm and does that few times. Do you have "Avoid crossing perimeters" enabled? Anyway, regardless of that, the Z axis ought to move.

                              The other thing that struck me was the M115 command with a U parameter. M115 isn't needed so try taking it out, just in case that's causing some havoc somewhere.

                              Well, I'll be darned. Just in time for a spare MKS to arrive and I thought about replacing the Duet board with something that actually works (my only multi-extrusion system so I kind of need it), it works!

                              Going through the generated g-code, I can say that the "strange" behaviour is the priming with z-hop, though that sequence is a bit strange… after I commented out the home all axis, and G80 (not supported, so it comes out an error), and M115 U commands, I began hearing the z-axis movement (should have learned this earlier since it is the only axis on screws). I do not know which of the two G80 or M115 U that was causing my problem, but easy to figure out now. What still puzzles me is why these unsupported commands will cause only z axis movements not to be executed...

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

                                That's a puzzle! M115 Uxxx will behave just as M115 with no parameters, i.e. return the current firmware version. G80 will return a "not supported" message but is otherwise harmless. I have just tested both.

                                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 -1
                                • josegerdesundefined
                                  josegerdes
                                  last edited by

                                  I have the same problem any one
                                  Can help me here!!??? Realy the same and my fusr its blow to! Fan fuse, it have someting to do eith that?

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