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

    Printer pausing between commands

    Scheduled Pinned Locked Moved
    General Discussion
    7
    28
    2.2k
    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.
    • gnydickundefined
      gnydick @gnydick
      last edited by gnydick

      @gnydick So, to repro, first I'm printing the entire thing again to find the right layer height at which to stop. Well, it's gotten much further than it has before, so I'm flummoxed. Not sure what to do next.

      Oh, and, of course it works when I'm using crappy filament, but it fails on me when I'm using my Prusament.

      Oh, and based on my failed prints, they were failing at different times, but close.

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

        @gnydick I suspect it's just random, like it s for everyone else. Which is a pity because it means that @dc42 won't be able to reproduce it.

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

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

          @phaedrux said in Printer pausing between commands:

          @deckingman said in Printer pausing between commands:

          AFAIK, I was the first one to report the problem

          Earliest I can recall is this one about a Voron2 printer with 4 z motors and firmware 2.0 from July 2018, which would line up. https://forum.duet3d.com/topic/6077/inconsistent-delays-during-homing-and-other-movements

          Well done Watson. It would seem to be the same issue and as you say, the timing would coincide with the introduction of firmware 2.0.

          I wonder if we have eliminated all other possibilities and are now at the "“When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.” stage.

          Sherlock.

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

          1 Reply Last reply Reply Quote 0
          • samlogan87undefined
            samlogan87
            last edited by

            @deckingman I have experienced these issues with my Duex2 board as well. It has only happened twice and both times have been intermittent and a power cycle has fixed it.

            Sam

            Custom Core-XY

            gnydickundefined 1 Reply Last reply Reply Quote 0
            • gnydickundefined
              gnydick @samlogan87
              last edited by

              @samlogan87 mine has just miraculously stopped happening. I'm attributing it to disconnecting the lamp with the squeeeling power supply.

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

                Those of you who have experienced this issue, did you have anything connected to the endstop inputs on the DueX5, or to the I2C pins on the 10-pin header (other than perhaps the resistor I suggested), or to the GPIO pins on the 10-pin header?

                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

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

                  @dc42 I'm fairly sure that I am using end stops on the Duex5 but I'll confirm when I get back to the UK in a couple of days time.

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

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • gnydickundefined
                    gnydick
                    last edited by

                    Nope, just motors and one fan

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

                      Thanks. Next time the problem occurs, please check whether when when you do a software reset of the printer (e.g. M999 or Emergency Stop), the DueX is recognised afterwards (send M115 and look at the Electronics string).

                      If the DueX is not recognised after a software reset (so you have to power the system down an up again for the DueX to be recognised), then I have a theory about what is causing the problem. If it is correct, then the following should help. Most users run the VIN ground wire from the PSU to the Duet, and then on to the DueX using a short thick wire. The fix would be to run the VIN ground wire from the PSU to the DueX first, and then on to the Duet using a short thick wire. The +Vin wire isn't critical, it can be routed in either order or using separate wires from the PSU to the Duet and DueX.

                      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

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

                        @deckingman said in Printer pausing between commands:

                        @dc42 I'm fairly sure that I am using end stops on the Duex5 but I'll confirm when I get back to the UK in a couple of days time.

                        I can now confirm that I'm using 4 of the end stops. Also, 5 motors, 5 fans and 5 thermistors. Nothing connected to the GPIO other than the recommended resistors. Confused as to why a wiring change might be the solution when I had no problems from when I originally started using the board in December 2016 until July(ish) 2018. But when it misbehaves again, I'll do the tests and make the changes.

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

                        1 Reply Last reply Reply Quote 0
                        • fulgundefined
                          fulg @dc42
                          last edited by

                          @dc42 said in Printer pausing between commands:

                          [...] Next time the problem occurs, please check whether when when you do a software reset of the printer (e.g. M999 or Emergency Stop), the DueX is recognised afterwards [...].

                          I can reproduce this problem easily, and every time soft-resetting the Duet via M999 was enough to get the printer back in operation. I did not issue M115 explicitly but my setup uses 4 Z motors on the Duex and it always worked fine after a soft reset (so the Duex was recognized).

                          My wiring is as per the documentation, VIN/GND to the Duet then short wires to the Duex. I can flip that around if needed.

                          VORON V2 CoreXY + Duet3 Mini5+ Ethernet v1.0 with Mini2+ expansion, VORON V0 CoreXY + Duet2 Maestro

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

                            @fulg said in Printer pausing between commands:

                            I can reproduce this problem easily, and every time soft-resetting the Duet via M999 was enough to get the printer back in operation. I did not issue M115 explicitly but my setup uses 4 Z motors on the Duex and it always worked fine after a soft reset (so the Duex was recognized).

                            If that's the case then there is hope that recovery from the i2C communication breakdown may be possible. But please check with M115 next time you have this issue and do a soft reset.

                            My wiring is as per the documentation, VIN/GND to the Duet then short wires to the Duex. I can flip that around if needed.

                            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

                            gnydickundefined 1 Reply Last reply Reply Quote 0
                            • gnydickundefined
                              gnydick @dc42
                              last edited by

                              @dc42 I found that a loose connection on my main board caused my problem. I don't remember if it was a sensor, a fan, or a thermistor, but I found it, reproduced, snugged it up, and it's been fine.

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

                                OK, this happened again for me. Sequence as follows. Turn on printer. Home all. Then I changed a roll of filament simply by cutting the existing filament, heating the hot end to 190 deg C and feeding a few mm of the new filament by rotating the extruder gears by hand until the hobbed bolts gripped it. Then I lowered the bed by 100mm using DWC and extruded 300mm of filament through DWC to purge out the old filament. Then I ran homeall.g again and it was during this second homing that I started getting 5 to 10 second pauses between moves. Ran M122 and sure enough noticed I2C errors as follows:

                                I2C nak errors 0, send timeouts 4917, receive timeouts 0, finishTimeouts 4917

                                Ran M999 to reset. Then ran M115 which reported the following :

                                FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03beta2 ELECTRONICS: Duet Ethernet 1.0 or 1.01 + DueX5 FIRMWARE_DATE: 2019-02-16b1

                                So the software reset fixed the issue and the Duex5 was immediately recognised again.

                                At least I know I can run M199 and don't have to cycle the power but..........

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

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