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

    Duet Stops mid print

    Scheduled Pinned Locked Moved Solved
    General Discussion
    8
    56
    2.9k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @BlueDust
      last edited by

      @BlueDust said in Duet Stops mid print:

      201901MosaicKeychain2 test.maf.gcode

      Are you using a pallete2?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • BlueDustundefined
        BlueDust
        last edited by BlueDust

        @Phaedrux
        Sorry for the delay in my response. I am getting frustrated with this issue and then my PC's NIC decided to die. Eh, it was 7 years old. Built a new PC over the weekend, and I should be able to get back to playing with this, this week.
        I have a Palette2 but use it in accessory mode and haven't test connected mode using an RPi. I prefer accessory mode as I lose the Duet2 features/control in connected mode. But I am planning on testing connected mode if this isn't resolved soon.
        This problem happens when using the Palette2 gcode or not, and not on every print. I have been printing small D&D characters (S3D to Duet2, no Palette2) and some print OK and others do not. The Gcode file I shared was also sliced in S3d and then updated for color in Chroma. I shared it was because it was the most recent file with the problem. I can share another D&D model with the issue too... But only tried that one once so far.

        The issue "appears" that if a gcode file works, it just works, but if it's bad, it's bad most (haven't tested enough) if not everytime I try to print that same gcode. Early on with this problem, I created the same Gcode file 3 times before the object would print.
        The odd part is, that if the problem occurs, it appears to stop on the same spot each time (pause reset printer, resume) just a different (appears) random layer. But if I print it again using the same Gcode file, that spot moves to a different spot. It's weird and I am actually trying to print around this problem so I haven't tested this more then a few times for consistency on the same Gcode (the one I shared).

        Fun, that 3 letter word with "u" in the middle.

        1 Reply Last reply Reply Quote 0
        • BlueDustundefined
          BlueDust
          last edited by BlueDust

          @Phaedrux
          I just re read what I wrote on my last message. I wrote it on my phone and need to stop doing that... It would appear I need English lessons from my 8 year old daughter.

          Let me know if you have any other ideas or things I can look at. I tried to upload another gcode file that also had this issue but it was too big, even after trying to ZIP it.

          Thanks for your help.

          Fun, that 3 letter word with "u" in the middle.

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

            @BlueDust said in Duet Stops mid print:

            Hiccups: 1623052

            I just noticed that you have an insanely high number of hiccups being reported in that last M122.

            Hiccups: 14280857

            Even higher before that.

            Can you post your config.g again? Are you using microstepping values higher than x16?

            Can you use dropbox or something to share the gcode file?

            Z-Bot CoreXY Build | Thingiverse Profile

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

              Looking at your config from one of your older posts https://forum.duet3d.com/topic/12941/auto-bed-leveling-went-bad?_=1576682639924

              I see that you're indeed using x256 microsteps for all axis and extruder. This will greatly limit your maximum speed before the step pulse generator is overwhelmed and hiccups occur.

              For best results it's recommended to use x16 microstepping with interpolation to x256 enabled. This reduces the load on the CPU and still allows the drivers to use x256 microstepping for the motors.

              Z-Bot CoreXY Build | Thingiverse Profile

              BlueDustundefined 1 Reply Last reply Reply Quote 1
              • BlueDustundefined
                BlueDust @Phaedrux
                last edited by

                @Phaedrux
                I have had this configuration since I first setup the Duet2 last year.
                M350 X256 Y256 Z256 I0 ; Configure microstepping without interpolation
                M350 E16 I1 ; Configure microstepping with interpolation

                Did something change in the 2.04+ ( I haven't tried older versions when testing this issue) to make this now cause an issue and the problem mentioned. Or are you saying what I have is not proper config (and causing errors... er Hiccups) and should be fixed. Possibly contributing to this problem.

                As always. Thanks!

                Fun, that 3 letter word with "u" in the middle.

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

                  @BlueDust said in Duet Stops mid print:

                  should be fixed. Possibly contributing to this problem.

                  Yes. It's not recommended to use x256 microstepping for all axis. It will likely result in high hiccup counts which may result in unexpected behaviour. I'm not sure if something changed in recent firmwares to make the lockup issue more prevalent, or if it has something to do with the Pallette 2 and the way it uses ping/pong pulses of the extruder that could be causing some issues.

                  Regardless, you'll likely see better behaviour by using x16 microstepping with x256 interpolation.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  BlueDustundefined 1 Reply Last reply Reply Quote 1
                  • BlueDustundefined
                    BlueDust @Phaedrux
                    last edited by

                    @Phaedrux

                    OK...
                    Trying to setup x16 w/Interpolation...

                    Should x16 with I be enabled for all axis? Are you saying that Z can be x256, but the rest should be X16 w/ i?

                    I just setup x16 with Interpolation for all axis and am just asking to confirm best practice on what should or shouldn't be x16i or x256.

                    Thanks!

                    Fun, that 3 letter word with "u" in the middle.

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @BlueDust
                      last edited by

                      @BlueDust I’d go with all on x16i.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      BlueDustundefined 1 Reply Last reply Reply Quote 0
                      • BlueDustundefined
                        BlueDust @droftarts
                        last edited by

                        @droftarts

                        šŸ‘

                        @Phaedrux

                        I am now getting a higher pitch squeal on the Z axis when moving at speed. Other axis are also slightly louder, but haven't printed anything yet... Just getting setup to do so...
                        Is there a way to stop this sound other than slowing it down to a crawl?

                        hmmm...
                        I don't think I enabled Silent Step or anything. Its been awhile since I setup the initial config to remember all the details... Something to look into...

                        Fun, that 3 letter word with "u" in the middle.

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

                          M350 X16 Y16 Z16 E16 I1

                          And adjust the M92 steps per mm accordingly.

                          Just as an aside to make testing alternative microstepping easier, if you set the microstepping to x16 first and then set the steps per mm accordingly for x16, you can then change the microstepping on a later line and the firmware will automatically calculate the steps per mm for you.

                          example:

                          M350 X16 Y16 Z16 E16 I1
                          M92 X80 Y80 Z400 E410
                          M350 E256
                          

                          That would leave the XYZ using x16i and set the extruder as x256 and you wouldn't need to alter the M92 at all.

                          This should make it easier to experiment.

                          Z-Bot CoreXY Build | Thingiverse Profile

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

                            @BlueDust said in Duet Stops mid print:

                            getting a higher pitch squeal on the Z axis when moving at speed

                            What are the commands you are using? Did you remember to recalculate your steps per mm?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            BlueDustundefined 1 Reply Last reply Reply Quote 0
                            • BlueDustundefined
                              BlueDust @Phaedrux
                              last edited by

                              @Phaedrux

                              That step trick is pretty NEAT! Good Show!

                              That would leave the XYZ using x16i and set the extruder as x256 and you wouldn't need to alter the M92 at all.

                              This should make it easier to experiment.

                              Old Settings
                              M350 X256 Y256 Z256 I0
                              M350 E16 I1
                              M92 X2560 Y2560 Z12800 E819.8589

                              Current Settings
                              M350 X16 Y16 Z16 I1
                              M350 E16 I1 ; I know I can turn this into one M350 line now.... just haven't yet.
                              M92 X160 Y160 Z800 E819.8589

                              Fun, that 3 letter word with "u" in the middle.

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

                                @BlueDust said in Duet Stops mid print:

                                when moving at speed

                                Does it seem to be moving faster than before? With such a high hiccup count it likely wasn't ever actually reaching the full requested speed. You may need to revise your speed assumptions?

                                Is the squeal coming from the motors?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                BlueDustundefined 1 Reply Last reply Reply Quote 0
                                • BlueDustundefined
                                  BlueDust @Phaedrux
                                  last edited by

                                  @Phaedrux

                                  Yes, it seems quicker now. Also, stall guard/sensorless homing seems to be working much better, but have only homed it 3 times so far since the changes....

                                  I think it is is coming from the motors, but need to let the printer run a few minutes to confirm. About to start a small D&D character as a test print I have printed a few times last week (that worked each time I attempted it). Its small so the printer will not get up to any real speeds but should be an easy baseline as it was a recent print.

                                  Thanks!

                                  Fun, that 3 letter word with "u" in the middle.

                                  1 Reply Last reply Reply Quote 0
                                  • BlueDustundefined
                                    BlueDust
                                    last edited by

                                    @Phaedrux
                                    IMG_20191218_190842~2.jpg

                                    Blue is from last week before x16i and Silver is after. Same code. Very close to the same time too. But as it's small, not able to get up to speed.

                                    Just to make sure it's clear. The issue with my printer stopping was first noticed on a non Palette2 print. I tried many times only using S3d when printing on the Duet2 and having this problem. I shared the Palette2 gcode file as it occured on the same file many times/attempts.
                                    Trying to print that same Palette2 gcode file I shared, right now and it has already gotten past the first time/layer the Duet2 would stop. If it prints another 15 layers without issue, I expect it to finish properly.
                                    Hiccups currently say 0
                                    Thanks!

                                    Fun, that 3 letter word with "u" in the middle.

                                    1 Reply Last reply Reply Quote 0
                                    • BlueDustundefined
                                      BlueDust
                                      last edited by

                                      @Phaedrux
                                      IMG_20191218_195741.jpg

                                      Worked that time! Looks like you figured it out @Phaedrux!
                                      Thank you! This has been driving me crazy! I don't know why this started, but now believe it is over! Hopefully I am not jumping the gun after 1 print... Lol

                                      Marking this fixed!
                                      Thanks again @Phaedrux!

                                      Fun, that 3 letter word with "u" in the middle.

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

                                        Glad it's sorted.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        BlueDustundefined 1 Reply Last reply Reply Quote 0
                                        • BlueDustundefined
                                          BlueDust @Phaedrux
                                          last edited by

                                          @Phaedrux

                                          I think I met you at MRRF 2019.
                                          If your at MRRF 2020, I would like to thank you in person. This problem really ruined a lot of prints.

                                          Thanks again!

                                          Fun, that 3 letter word with "u" in the middle.

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

                                            @BlueDust said in Duet Stops mid print:

                                            I think I met you at MRRF 2019.

                                            Yup that was me at the Duet booth. I remember you. MRRF was a lot of fun. Would be great to go again.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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