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

    Duet 3. ? faulty Driver0. Post requested by Duet

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    6
    32
    1.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.
    • oliofundefined
      oliof
      last edited by

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

      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

      1 Reply Last reply Reply Quote 1
      • T3P3Tonyundefined
        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

        DavidSimcockundefined 1 Reply Last reply Reply Quote 0
        • DavidSimcockundefined
          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.

          T3P3Tonyundefined dc42undefined 2 Replies Last reply Reply Quote 0
          • T3P3Tonyundefined
            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

            DavidSimcockundefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              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

              DavidSimcockundefined 1 Reply Last reply Reply Quote 0
              • DavidSimcockundefined
                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.

                T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                • DavidSimcockundefined
                  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

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    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

                    DavidSimcockundefined 1 Reply Last reply Reply Quote 0
                    • DavidSimcockundefined
                      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
                      • T3P3Tonyundefined
                        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

                        DavidSimcockundefined 1 Reply Last reply Reply Quote 0
                        • DavidSimcockundefined
                          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.

                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            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

                            DavidSimcockundefined 1 Reply Last reply Reply Quote 0
                            • DavidSimcockundefined
                              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 ?

                              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                              • T3P3Tonyundefined
                                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

                                DavidSimcockundefined 1 Reply Last reply Reply Quote 0
                                • DavidSimcockundefined
                                  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
                                  • Phaedruxundefined
                                    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

                                    DavidSimcockundefined 1 Reply Last reply Reply Quote 1
                                    • DavidSimcockundefined
                                      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

                                      dc42undefined 1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        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

                                        DavidSimcockundefined 1 Reply Last reply Reply Quote 0
                                        • DavidSimcockundefined
                                          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!

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

                                            @davidsimcock The issue does seem to be resolved with changing the kinematics M669 command.
                                            A BIG THANKS to all who have made suggestions to resolve the issue. It is much appreciated.

                                            T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
                                            • dc42undefined dc42 marked this topic as a question
                                            • dc42undefined dc42 has marked this topic as solved
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA