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

    Unable to Connect to Duet Ethernet after Calibration

    Scheduled Pinned Locked Moved
    General Discussion
    3
    14
    1.6k
    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.
    • Herrminator117undefined
      Herrminator117
      last edited by

      Hello All!

      I just did a rebuild of my printer and finally have gotten it set back up on the DWC, however I can't get it to connect during or following an auto calibration.

      The DuetEthernet will connect when it is first turned on. I can home, move the axis', and heat the bed/extruder, but if I play with the controls enough it will throw an AJAX error. And then when running an auto calibration or a mesh it will throw an AJAX error before the first probe or sooner.

      Once DWC throws the AJAX error I can't get it to connect, short of a reboot, or M999. The printer does finish the calibration, but when I look at the console, where it would normally say:
      [c]Calibrated 6 factors using 10 points, deviation before #.### after #.###[/c]
      When its connected to ethernet, it will show:
      [c]Calibrated 6 factors using 10 points, deviation before[/c]
      Obviously lacking anything after the word before.

      I am able to print from the SD card without issue. I have tried updating both the DWC and the Ethernet Firmware to the latest Version 1.21RC5 - Duet2CombinedFirmware.bin, but unfortunately did not help. Also when I run the calibration without connecting the ethernet it will run fine, but if I plug it in after the calibration has completed then it is still unable to connect.

      Any help would be incredible, I'm looking forward to get my printer back up and running for good!

      • Herrminator117

      If it's not broke….probably should take it apart just to be sure.

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

        @Herrminator117:

        Hello All!

        I just did a rebuild of my printer and finally have gotten it set back up on the DWC, however I can't get it to connect during or following an auto calibration.

        The DuetEthernet will connect when it is first turned on. I can home, move the axis', and heat the bed/extruder, but if I play with the controls enough it will throw an AJAX error. And then when running an auto calibration or a mesh it will throw an AJAX error before the first probe or sooner.

        Once DWC throws the AJAX error I can't get it to connect, short of a reboot, or M999. The printer does finish the calibration, but when I look at the console, where it would normally say:
        [c]Calibrated 6 factors using 10 points, deviation before #.### after #.###[/c]
        When its connected to ethernet, it will show:
        [c]Calibrated 6 factors using 10 points, deviation before[/c]
        Obviously lacking anything after the word before.

        I am able to print from the SD card without issue. I have tried updating both the DWC and the Ethernet Firmware to the latest Version 1.21RC5 - Duet2CombinedFirmware.bin, but unfortunately did not help. Also when I run the calibration without connecting the ethernet it will run fine, but if I plug it in after the calibration has completed then it is still unable to connect.

        Any help would be incredible, I'm looking forward to get my printer back up and running for good!

        • Herrminator117

        My best guess is that something in your delta parameters in config,g is causing calculations to fail, giving rise to NaNs or infinities. These will case JSON parsing errors in DWC. RRF does check for them in some situations and replace them with 9999.9 to avoid this; but I expect they are being generated in some other situation.

        Please post your config.g, homedelta.g and bed.g files.

        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
        • Herrminator117undefined
          Herrminator117
          last edited by

          @dc42:

          Please post your config.g, homedelta.g and bed.g files.

          You can find the link for my config.g, config-override.g, homedelta.g and bed.g in the Google Drive below:
          https://drive.google.com/drive/folders/1YqmvTnD0Gy7mISWlkMhoZ1G7fogomSj4?usp=sharing

          As always thank you

          • Herrm

          If it's not broke….probably should take it apart just to be sure.

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

            My guess is that auto calibration is failing in some way. When you run auto calibration, what does it give for the before and after deviation? You may need to send the G31 command from PanelDue or USB if DWC doesn't display it because it disconnects too soon.

            Another thing that would be useful is to auto calibrate, then after DWC has disconnected, send M408 S2 from USB and post the response here.

            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
            • Herrminator117undefined
              Herrminator117
              last edited by

              @dc42:

              Another thing that would be useful is to auto calibrate, then after DWC has disconnected, send M408 S2 from USB and post the response here.

              Sorry for the delay, midterms took importance the last couple days.

              Also however before I did any of the above I noticed something really strange that I know wasn't happening last week. When I run the smart calibration there is a single point that sets off before it gets to the bed. And its always the same point at the roughly the same height.

              This is really strange because two weeks ago I was printing (albeit not perfect) and had no leveling issues. And the only thing I have done since then is update the firmware. I am wondering if I updated the firmware incorrectly somehow?

              Any ideas DC42? All I have got is possibly resetting the duet and doing a fresh install, but I don't know how recommended that is.

              If it's not broke….probably should take it apart just to be sure.

              1 Reply Last reply Reply Quote 0
              • Herrminator117undefined
                Herrminator117
                last edited by

                Okay….well apparently I am a liar. I truly have no idea what happened, but I was experiencing the issues I stated in the post above, and just for shiggles I plugged in the ethernet and now it doesn't throw AJAX errors, it auto calibrates just fine and the issue above is now magically gone.

                My best guess is that I was possibly experiencing some EMI from the stepper motors, because I moved the motor wires away from the probe wire to reseat the connector. And then plugged it in and it magically started working.

                Thank you Dave for your constant support, even when it is my own foolish fault!

                • Herrm

                If it's not broke….probably should take it apart just to be sure.

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

                  I'm glad you got it sorted.

                  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

                  Herrminator117undefined 1 Reply Last reply Reply Quote 0
                  • Herrminator117undefined
                    Herrminator117 @dc42
                    last edited by

                    @dc42 said in Unable to Connect to Duet Ethernet after Calibration:

                    I'm glad you got it sorted.

                    It seems that the issue has reemerged, but I have some new information. So before posting again I attempted to do your suggestion from before (Hook up to USB and run the M408 S2) However, when the printer is hooked up to USB and connected to, it will not timeout of DWC.

                    This leads me to believe that the error isn't caused by the autocalibrate. But I have no idea what is causing it. DWC will not timeout if the printer is just on and connected. But if I send enough move commands from DWC it will timeout. This may be more like something you said before with the calculations?

                    I am completely out of ideas of what to test. I even went through my config.g and cleaned it up and got rid of unnecessary things.

                    If you can give any assistance that would be wonderful.

                    • Herrm

                    If it's not broke….probably should take it apart just to be sure.

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

                      Which firmware and DWC versions are you using? The latest DWC provides better information when a disconnection occurs, also an issue with DHCP lease expiry in the Ethernet driver has been resolved. So please upgrade to firmware and DWC 1.21. Remember to read the upgrade notes first!

                      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

                      Herrminator117undefined 1 Reply Last reply Reply Quote 0
                      • Herrminator117undefined
                        Herrminator117 @dc42
                        last edited by

                        @dc42 said in Unable to Connect to Duet Ethernet after Calibration:

                        Which firmware and DWC versions are you using?

                        Looking at DWC it says

                        • Firmware Version: 1.19.2 (2017-09-01)
                        • Web Interface Version: 1.19.3

                        I will look into the 1.21 Release, I thought I actually had updated recently, but apparently I hadn't!

                        If it's not broke….probably should take it apart just to be sure.

                        1 Reply Last reply Reply Quote 0
                        • Herrminator117undefined
                          Herrminator117
                          last edited by

                          So everything is now up to date. Both firmware and DWC are running 1.21.

                          Now even with the printer hooked up to USB its now throwing an error.

                          After running M408 S2 this is what came out:

                          SENT: M408 S2
                          READ: {"status":"I","coords":{"axesHomed":[1,1,1],"xyz":[0.000,0.000,150.000],"machine":[0.000,0.000,150.000],"extr":[0.0]},"currentTool":0,"params":{"atxPower":0,"fanPercent":[0.00,100.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],"speedFactor":100.00,"extrFactors":[100.00],"babystep":0.000},"sensors":{"probeValue":0,"fanRPM":0},"temps":{"bed":{"current":19.7,"active":0.0,"state":0,"heater":0},"current":[19.7,20.4,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0],"state":[0,2,0,0,0,0,0,0],"heads":{"current":[20.4],"active":[0.0],"standby":[0.0],"state":[2]},"tools":{"active":[[0.0]],"standby":[[0.0]]},"extra":[{"name":"MCU","temp":34.3}]},"time":122.0,"spindle":{"current":0,"active":0}}

                          Also after updating to v1.21 I am getting this error on the PanelDue Console:

                          Error: M665: M665 parameters do not apply to Cartesian kinematics Network running, IP address = 192

                          I was not getting this before the update.
                          As always thanks for your help

                          • Herrm

                          If it's not broke….probably should take it apart just to be sure.

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

                            Please post your config.g file.

                            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
                            • Herrminator117undefined
                              Herrminator117
                              last edited by

                              @dc42 said in Unable to Connect to Duet Ethernet after Calibration:

                              Please post your config.g file.

                              See attached, thank you!

                              0_1523635076460_config.g

                              If it's not broke….probably should take it apart just to be sure.

                              Dougal1957undefined 1 Reply Last reply Reply Quote 0
                              • Dougal1957undefined
                                Dougal1957 @Herrminator117
                                last edited by

                                @herrminator117 said in Unable to Connect to Duet Ethernet after Calibration:

                                @dc42 said in Unable to Connect to Duet Ethernet after Calibration:

                                Please post your config.g file.

                                See attached, thank you!

                                0_1523635076460_config.g

                                think this is your problem

                                M665 M665 L360.250 R144.823 H260 B140.0 ; set delta radius, diagonal rod length, printable radius, homed height and XY tower c

                                not the double M665 at the start of the line remove one of them and try again!

                                Doug

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