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

    Faulty stepper driver? Motor sometimes goes wrong directions

    Scheduled Pinned Locked Moved
    General Discussion
    5
    9
    1.4k
    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.
    • Shenundefined
      Shen
      last edited by

      I'm building a custom machine for a customer on their new duet wifi board. I set M584 Y0:3 two use two motors on each side of the Y gantry. The two motors would be in sync if I just move the gantry around in the web interface, but when I run a micro or gcode which probably have a lot of Y direction changes, one of the motor(always the same one) would go in the wrong direction. When I move the motor from port 3 to port 1 and change only M584 Y0:3 to M584 Y0:1, everything runs fine as expected. Is driver 3 a faulty driver which doesn't receive or process direction signal reliably?

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Shenundefined
        Shen
        last edited by

        https://youtu.be/wwUYVX4Vpjw
        Here is a link to the video. It's easier to see the direction of the motors by looking at the couplers. The right motor would sometimes go in the wrong direction, and recover, and go wrong direction again. I'm using 2.0 firmware.

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

          How much current are you running them at?

          Z-Bot CoreXY Build | Thingiverse Profile

          Shenundefined 1 Reply Last reply Reply Quote 0
          • mrehorstdmdundefined
            mrehorstdmd
            last edited by

            Unreliable motor operation is often the result of a bad connector or cable.

            https://drmrehorst.blogspot.com/

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

              @shen, two things to check:

              • M584 must come before M906 in config.g;
              • in your M584 command you must also redeclare the extruder driver numbers so that driver 3 is no longer also treated as an extruder drive.

              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

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

                @dc42
                Thanks. I didn’t put E in the M584 command since I was just testing the xyz motion. That must be the problem.

                dc42undefined 1 Reply Last reply Reply Quote 0
                • Shenundefined
                  Shen @Phaedrux
                  last edited by

                  @phaedrux I’m running them at 2A.

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

                    @shen if you are running them at 2A then it may be a driver overheating and dropping temporarily into thermal shutdown if there is not sufficient passive or active cooling. You can monitor this during a print by setting up a virtual temperature monitor for the drivers and see if you get an issue. See:

                    https://duet3d.dozuki.com/Wiki/Gcode#Section_M305_Set_temperature_sensor_parameters

                    And

                    https://duet3d.dozuki.com/Wiki/Duet_Web_Control_Manual#Section_Extra_view

                    www.duet3d.com

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

                      @shen said in Faulty stepper driver? Motor sometimes goes wrong directions:

                      @dc42
                      Thanks. I didn’t put E in the M584 command since I was just testing the xyz motion. That must be the problem.

                      That will have the effect that the E value in the M906 command will define the current for the second Z motor. So if the E parameter is lower than the Z parameter, it will run at a lower current than the other Z motor.

                      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