Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Duet 3. ? faulty Driver0. Post requested by Duet

    Using Duet Controllers
    6
    32
    327
    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.
    • DavidSimcock
      DavidSimcock last edited by

      Ooznest supplied me with a Duet 3 Mainboard on 17th March. They request that I post the issue here, so that a replacement board (if that is what is needed) can be authorised. See text to Ooznest below:

      "Hi
      Referring to the below order, I have an issue with the Duet 3 mainboard, which I will attempt to describe below.
      I have configured the Duet 3, using your excellent Workbee software as a starting point. I have a reasonable degree of experience with the firmware as I have for a few years been an owner and user of one of your machines, with a Duet 2 wi-fi.
      Anyway, the issue is that when I perform a home all process, at the end of the homing process, the x axis motor is no longer energised and has no holding torque – i.e I can rotate the x axis ballscrew by hand. The other axes are held rigid by their stepper motors. I have spent a couple of days troubleshooting this, assuming there was an error in the configuration. I would add that I have tried different motors but the issue persisted.
      Eventually, I tried connecting the x axis motor (which was connected to Driver 0) to Driver 5, and making appropriate changes to the drive mapping. The issue was resolved.
      So, I suspect Driver 0 is faulty, and should this be the case, I would of course be grateful if you would exchange the board.
      I have attached my configuration files in case they are of any help. These are prior to swapping to Driver 5
      You are welcome to call me on 07850084600 if you need clarification.
      I look forward to hearing from you.
      Many thanks
      David Simcock"

      config.g
      config-axes.g
      config-axes-endstops.g
      homeall.g
      homex.g
      homey.g
      homez.g

      Ooznest order.pdf

      I look forward to hearing from you.
      Thanks
      David Simcock

      T3P3Tony 1 Reply Last reply Reply Quote 0
      • T3P3Tony
        T3P3Tony administrators @DavidSimcock last edited by

        @davidsimcock thanks for the explanation of your troubleshooting thus far.

        What is slightly confusion for me is it sounds like your homeall process is working, but then after homing has completed the axis is then not powered. Is that an accurate description?

        When you are homing X is there an error or warning in DWC?

        Please send through the output of M122 following the homing move.

        www.duet3d.com

        DavidSimcock 1 Reply Last reply Reply Quote 0
        • DavidSimcock
          DavidSimcock @T3P3Tony last edited by

          @t3p3tony
          "What is slightly confusion for me is it sounds like your homeall process is working, but then after homing has completed the axis is then not powered. Is that an accurate description?"
          Exactly so Tony.

          "When you are homing X is there an error or warning in DWC?"
          There is neither error nor warning displayed.

          M122s below

          M122 with driver0 for x axis after homing.txt

          M122 with driver5 for x axis after homing.txt

          Thanks
          David

          1 Reply Last reply Reply Quote 0
          • T3P3Tony
            T3P3Tony administrators last edited by

            @davidsimcock thanks for those M122s. There is nothing in there to indicate the driver is sensing a fault. that does not necessarily mean its not faulty, but if the X homing sequence is working correctly then its something different from any driver failure i have seen before.

            Can you upload the other files called by config.g:

            M98 P"config-network.g"
            M98 P"config-drives.g"
            M98 P"config-axes-limits.g"
            M98 P"config-axes-calibration.g"
            M98 P"config-probe.g"
            M98 P"config-spindle.g"
            M98 P"config-laser.g"
            

            along with config-override.g so i can have a look at those. Also once you have homed and the X axis is displaying the lack of motor torque please send M917 so see the holding current configured.

            www.duet3d.com

            DavidSimcock 2 Replies Last reply Reply Quote 0
            • DavidSimcock
              DavidSimcock @T3P3Tony last edited by

              @t3p3tony

              config-network.g
              config-drives.g
              config-axes-limits.g
              config-probe.g
              config-spindle.g
              config-laser.g

              M917 with x axis on Driver0.txt
              M917 with x axis on Driver5.txt

              Thanks Tony

              David

              1 Reply Last reply Reply Quote 0
              • DavidSimcock
                DavidSimcock @T3P3Tony last edited by

                @t3p3tony
                config-user-settings.g

                config-override.g

                T3P3Tony 1 Reply Last reply Reply Quote 0
                • oliof
                  oliof last edited by

                  slightly offtopic: you might want to redact your original post so the phone number isn't shared.

                  <>Creality CR-20 IDEX Duet3 mini 5+<>RatRig V-Minion SKR RRF 1.1<>

                  1 Reply Last reply Reply Quote 1
                  • T3P3Tony
                    T3P3Tony administrators @DavidSimcock last edited by

                    @davidsimcock I can't see anything in any of the files that indicates why the X motor would be turned off after homing. With the motor on driver 0 does the axis stall easily during homing?

                    www.duet3d.com

                    DavidSimcock 1 Reply Last reply Reply Quote 0
                    • DavidSimcock
                      DavidSimcock @T3P3Tony last edited by

                      @t3p3tony
                      No stalling at all. The homing move is completed. Thereafter minus X movements do not happen (the DWC reports that the x position HAS changed according to the request). And the x motor is no longer energised (sorry for repetition).
                      Changing to Driver5, and everything behaves as would be expected.

                      T3P3Tony dc42 2 Replies Last reply Reply Quote 0
                      • T3P3Tony
                        T3P3Tony administrators @DavidSimcock last edited by

                        @DavidSimcock I should have been clearer. When the X homing move runs, can you easily stop it with your hand? (Obviously be careful not to put your hand anywhere it could get trapped/pinched) if you can't stop it.

                        www.duet3d.com

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

                          @davidsimcock where in those files do you use M906 to set the motor current?

                          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

                          DavidSimcock 1 Reply Last reply Reply Quote 0
                          • DavidSimcock
                            DavidSimcock @T3P3Tony last edited by

                            @t3p3tony
                            re stalling...I cannot stop the movement with even strong pressure.
                            In the process of trying this I have more information though. When the x axis is homed (homex.g) independently of the y axis, the x axis motor holds torque after the homing sequence. When the y axis is subsequently homed (homey.g), holding torque disappears from the x axis motor. I hope I have explained that adequately.

                            T3P3Tony 1 Reply Last reply Reply Quote 0
                            • DavidSimcock
                              DavidSimcock @dc42 last edited by

                              @dc42 said in Duet 3. ? faulty Driver0. Post requested by Duet:

                              @davidsimcock where in those files do you use M906 to set the motor current?

                              M906 is set in the config-axes.g

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

                                @davidsimcock the G92 commands in your homing files are redundant, although I don't see how they would cause this problem. The M584 P3 command in homey.g also appears to me to be redundant. What happens if you remove all those G92 and M584 commands?

                                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

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

                                  @dc42 said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                  @davidsimcock the G92 commands in your homing files are redundant, although I don't see how they would cause this problem. The M584 P3 command in homey.g also appears to me to be redundant. What happens if you remove all those G92 and M584 commands?

                                  Thanks dc42. Suspending those commands, unfortunately, makes no difference.

                                  1 Reply Last reply Reply Quote 0
                                  • T3P3Tony
                                    T3P3Tony administrators @DavidSimcock last edited by

                                    @davidsimcock said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                    @t3p3tony
                                    re stalling...I cannot stop the movement with even strong pressure.
                                    In the process of trying this I have more information though. When the x axis is homed (homex.g) independently of the y axis, the x axis motor holds torque after the homing sequence. When the y axis is subsequently homed (homey.g), holding torque disappears from the x axis motor. I hope I have explained that adequately.

                                    Hi David, that's interesting. what happens if you reverse the sequence, from startup, first home Y, then home X I note that Z is home in both those individual files.

                                    www.duet3d.com

                                    DavidSimcock 1 Reply Last reply Reply Quote 0
                                    • DavidSimcock
                                      DavidSimcock @T3P3Tony last edited by

                                      @t3p3tony said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                      @davidsimcock said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                      @t3p3tony
                                      re stalling...I cannot stop the movement with even strong pressure.
                                      In the process of trying this I have more information though. When the x axis is homed (homex.g) independently of the y axis, the x axis motor holds torque after the homing sequence. When the y axis is subsequently homed (homey.g), holding torque disappears from the x axis motor. I hope I have explained that adequately.

                                      Hi David, that's interesting. what happens if you reverse the sequence, from startup, first home Y, then home X I note that Z is home in both those individual files.

                                      In the above case, i.e homey followed by homex, the x axis motor retains it's holding torque.

                                      T3P3Tony 1 Reply Last reply Reply Quote 0
                                      • T3P3Tony
                                        T3P3Tony administrators @DavidSimcock last edited by

                                        @davidsimcock ok so something is causing the X axis to loose its holding torque as part of the Y homing.

                                        Can you try the following minimalistic homey.g temporarily.

                                        ; homey.g
                                        ; called to home the Y axis

                                        G91 ; relative positioning
                                        G1 H1 Y1500 F1500 ; move quickly to Y axis endstops and stop there (first pass)
                                        G1 Y-3 F150 ; go back a few mm
                                        G1 H1 Y1500 F150 ; move slowly to Y axis endstops once more (second pass)
                                        G90 ; absolute positioning
                                        

                                        Caution this file no longer homes homes Z as part of the Y move so please ensure the Z axis is in a safe position before running it.

                                        The idea is to see if the X axis is still disabled if X is homes first, then Y homed. both as individual moves. (so homeall.g is not modified yet.)

                                        www.duet3d.com

                                        DavidSimcock 1 Reply Last reply Reply Quote 0
                                        • DavidSimcock
                                          DavidSimcock @T3P3Tony last edited by

                                          @t3p3tony said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                          @davidsimcock ok so something is causing the X axis to loose its holding torque as part of the Y homing.

                                          Can you try the following minimalistic homey.g temporarily.

                                          ; homey.g
                                          ; called to home the Y axis

                                          G91 ; relative positioning
                                          G1 H1 Y1500 F1500 ; move quickly to Y axis endstops and stop there (first pass)
                                          G1 Y-3 F150 ; go back a few mm
                                          G1 H1 Y1500 F150 ; move slowly to Y axis endstops once more (second pass)
                                          G90 ; absolute positioning
                                          

                                          Caution this file no longer homes homes Z as part of the Y move so please ensure the Z axis is in a safe position before running it.

                                          The idea is to see if the X axis is still disabled if X is homes first, then Y homed. both as individual moves. (so homeall.g is not modified yet.)

                                          Just to check Tony...are you suggesting I suspend all the commands in my homey.g and paste your commands beneath? Followed by sending homex.g and following this with sending homey.g ?

                                          T3P3Tony 1 Reply Last reply Reply Quote 0
                                          • T3P3Tony
                                            T3P3Tony administrators @DavidSimcock last edited by

                                            @davidsimcock I would rename the current homey.g to homey.g.backup then make a new homey.g with the contents above. then yes G28 X, then G28 Y

                                            www.duet3d.com

                                            DavidSimcock 1 Reply Last reply Reply Quote 0
                                            • DavidSimcock
                                              DavidSimcock @T3P3Tony last edited by

                                              @t3p3tony said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                              @davidsimcock I would rename the current homey.g to homey.g.backup then make a new homey.g with the contents above. then yes G28 X, then G28 Y

                                              OK...I've done that. The result is that the x axis motor is de-energised at the end of the process.

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

                                                After homing is complete can you send M906 and M913 by itself and report back what it says?

                                                Another thing to try is to completely backup your current config, remove it all, and start with a fresh basic config from the online tool.

                                                https://configtool.reprapfirmware.org/Start

                                                Z-Bot CoreXY Build | Thingiverse Profile

                                                DavidSimcock 1 Reply Last reply Reply Quote 1
                                                • DavidSimcock
                                                  DavidSimcock @Phaedrux last edited by

                                                  @phaedrux said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                                  After homing is complete can you send M906 and M913 by itself and report back what it says?

                                                  Another thing to try is to completely backup your current config, remove it all, and start with a fresh basic config from the online tool.

                                                  https://configtool.reprapfirmware.org/Start

                                                  Thanks. Here are the M906 and M913

                                                  M906.txt

                                                  M913.txt

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

                                                    @davidsimcock from your config-axes.g file:

                                                    ; Axes configuration executed by config.g
                                                    M584 X0.0 Y0.1:0.3 Z0.2:0.4
                                                    ...
                                                    M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0

                                                    You are defining 3 physical axes but your M669 command assumes 4. Try changing the M669 command to this:

                                                    M669 K0 X1:0:0 Y0:1:0 Z0:0:1

                                                    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

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

                                                      @dc42 said in Duet 3. ? faulty Driver0. Post requested by Duet:

                                                      @davidsimcock from your config-axes.g file:

                                                      ; Axes configuration executed by config.g
                                                      M584 X0.0 Y0.1:0.3 Z0.2:0.4
                                                      ...
                                                      M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0

                                                      You are defining 3 physical axes but your M669 command assumes 4. Try changing the M669 command to this:

                                                      M669 K0 X1:0:0 Y0:1:0 Z0:0:1

                                                      Right...I've revised the M669 as suggested. Homing now functions as it should, with the x axis motor holding torque. Thanks for the suggestion!

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