Navigation

    Duet3D Logo

    Duet3D

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

    Faulty stepper driver? Motor sometimes goes wrong directions

    General Discussion
    5
    9
    963
    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.
    • Shen
      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?

      dc42 1 Reply Last reply Reply Quote 0
      • Shen
        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
        • Phaedrux
          Phaedrux Moderator last edited by

          How much current are you running them at?

          Shen 1 Reply Last reply Reply Quote 0
          • mrehorstdmd
            mrehorstdmd last edited by

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

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

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

                  @phaedrux I’m running them at 2A.

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

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

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