• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Shen
    last edited by 5 Jul 2018, 08:02

    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?

    undefined 1 Reply Last reply 5 Jul 2018, 14:15 Reply Quote 0
    • undefined
      Shen
      last edited by 5 Jul 2018, 08:14

      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
      • undefined
        Phaedrux Moderator
        last edited by 5 Jul 2018, 13:24

        How much current are you running them at?

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 5 Jul 2018, 16:25 Reply Quote 0
        • undefined
          mrehorstdmd
          last edited by 5 Jul 2018, 13:43

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

          https://drmrehorst.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators @Shen
            last edited by 5 Jul 2018, 14:15

            @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

            undefined 1 Reply Last reply 5 Jul 2018, 16:01 Reply Quote 0
            • undefined
              Shen @dc42
              last edited by 5 Jul 2018, 16:01

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

              undefined 1 Reply Last reply 5 Jul 2018, 18:50 Reply Quote 0
              • undefined
                Shen @Phaedrux
                last edited by 5 Jul 2018, 16:25

                @phaedrux I’m running them at 2A.

                undefined 1 Reply Last reply 5 Jul 2018, 18:14 Reply Quote 0
                • undefined
                  T3P3Tony administrators @Shen
                  last edited by 5 Jul 2018, 18:14

                  @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
                  • undefined
                    dc42 administrators @Shen
                    last edited by 5 Jul 2018, 18:50

                    @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
                    8 out of 9
                    • First post
                      8/9
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA