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

    DWC disconnects but only whilst printing

    Scheduled Pinned Locked Moved
    Duet Web Control
    6
    18
    712
    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.
    • digimaticundefined
      digimatic @Phaedrux
      last edited by

      @phaedrux

      Sorry for the delay.

      When it happens I am getting a 503 from the API

      Screenshot 2022-08-08 at 11.29.45.png

      Tried turning the console refresh down to 1000ms as the default of 250 seemed excessive. But issue still exists.

      1 Reply Last reply Reply Quote 0
      • digimaticundefined
        digimatic @Notepad
        last edited by

        @notepad

        Oh now that is interesting as I recently added another stepper and a servo for a wiper solution, and thinking about it I don't think I had this problem before then.

        There is no reason for either to be powered whilst printing, so I'll try adding something to power them down and see if that makes a difference.

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

          @digimatic what do you have the microstepping set to (M350 in config.g)? Setting microstepping too high can cause the available CPU time to be taken up by generating step pulses when moving at speed, resulting in the web server getting too little CPU time. We recommend x16 with interpolation enabled for most machines, except that extruders with low steps/mm (e.g. 100 at x16 microstepping) can benefit from x32.

          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

          digimaticundefined 1 Reply Last reply Reply Quote 0
          • digimaticundefined
            digimatic @dc42
            last edited by

            @dc42

            I have everything set to x16 microstepping and interpolation, other than the coupler that has the interpolation disabled in the default E3D provided config)

            M350 E16:16:16:16 I1
            M350 C16 I10
            M350 X16 Y16 Z16 I1

            C being the coupler (this is an E3D Toolchanger)

            Recently I added:
            M350 A16 I1

            A axis being the height adjustment stepper for my Pebble Wiper

            engikeneerundefined dc42undefined 2 Replies Last reply Reply Quote 0
            • engikeneerundefined
              engikeneer @digimatic
              last edited by

              @digimatic Is yours a Duet2 wifi or ethernet?
              I have had something similar happen on my e3d toolchanger with a Duet ethernet. It appears to temporarily drop connection to DWC when the XY motors are moving, so I had assumed EMI of some sort.

              I also have a paneldue attached but that seems to be okay...

              E3D TC with D3Mini and Toolboards.
              Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
              i3 clone with a bunch of mods

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

                @digimatic please upgrade to release 3.4.2rc2 in case the bug fixes in the wifi and Ethernet code in that release are relevant to this issue.

                If the issue persists, please post a M122 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

                digimaticundefined 1 Reply Last reply Reply Quote 0
                • digimaticundefined
                  digimatic @dc42
                  last edited by

                  @dc42

                  Updated to 3.4.2rc2. Updated DWC and the Wifi server as well just to be sure. Problem still persists.

                  M122 causes my machine to reset with no output to console beforehand (tried telnet and via DWC) . Sorry how am I supposed to use M122 ?

                  Also reinforcing either interference or too busy microstepping. Call me crazy but the disconnects seem to happen very much around the time of a layer change. (I don't have the slicer inserting any gcode for layer transitions)

                  digimaticundefined Phaedruxundefined dc42undefined 3 Replies Last reply Reply Quote 0
                  • digimaticundefined
                    digimatic @digimatic
                    last edited by

                    But moving Z for example when not printing doesn't.

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

                      @digimatic Check if your SD card is causing the problem; see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#troubleshooting-sd-card-issues

                      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

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

                        @digimatic said in DWC disconnects but only whilst printing:

                        M122 causes my machine to reset with no output to console beforehand

                        Are you sure you didn't send M112 by mistake? That will perform a reset.

                        EDIT: Actually, you may have been affected by this bug: https://forum.duet3d.com/topic/29577/m122-causes-reset-on-3-4-2-rc2?_=1660415932643

                        Z-Bot CoreXY Build | Thingiverse Profile

                        digimaticundefined 1 Reply Last reply Reply Quote 0
                        • digimaticundefined
                          digimatic @droftarts
                          last edited by

                          @droftarts

                          SD card checks out ok, also the 500 errors I get shouldn't be requiring reglular loads from SD, I'd say SD failure is more likely to impact loading the site pages themselves not the API server, looking at the code.

                          1 Reply Last reply Reply Quote 0
                          • digimaticundefined
                            digimatic @Phaedrux
                            last edited by

                            @phaedrux

                            Yes it is that bug, thanks I'll try the fixed build in pastebin so i can get the M122 output.

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

                              @digimatic said in DWC disconnects but only whilst printing:

                              M122 causes my machine to reset

                              There is a bug in the Duet 2 builds of RRF that causes this. See https://forum.duet3d.com/post/292098 for fixed binaries.

                              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