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

    Odd behavior on Z driver using both Za and Zb

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    22
    1.0k
    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.
    • Danalundefined
      Danal
      last edited by

      What motors? Photo of wiring going into motor?

      I connected the Za and Zb cables to two free motors and it looks like the motors run in opposite directions!

      You can physically reverse a 4 wire stepper by swapping the coils. If the wires are 1234 at the board connector right now, swap pairs to make them 3412.

      And you can verify coil pairs at any time via:

      1. Spin the motor with your fingers and get a "feel" for how it spins.

      2. Short two wires. Literally just pinch them together with your finger. Spin the motor again. Did the "feel" change? If so, this is a coil pair. If not, keep swapping wires. The effect is not subtle; you'll know it when you find it.

      Delta / Kossel printer fanatic

      jrwaters2undefined 1 Reply Last reply Reply Quote 0
      • Red Sand Robotundefined
        Red Sand Robot @jrwaters2
        last edited by

        @jrwaters2 said in Odd behavior on Z driver using both Za and Zb:

        So, I connected the Za and Zb cables to two free motors and it looks like the motors run in opposite directions!

        I recently had the same issue with that driver. You are most likely going to need to do what @Danal suggests and reverse the rotation of one of the steppers by swapping the coils physically with a wiring change.

        In my config, I have the Z driver set to operate backwards. I thought perhaps the driver configuration was wrong and only operating on Za so I set it to forwards, at least hoping the two would run in the same direction.

        The firmware does not see Za and Zb as separate. There is only one driver associated with both of those physical connections, so changing the motor direction in the config file will change the output for both of those connections. Again, it will be necessary to change the wiring of the coils physically to get both motors to move in the direction you want.

        almost an engineer

        jrwaters2undefined 2 Replies Last reply Reply Quote 1
        • jrwaters2undefined
          jrwaters2 @Red Sand Robot
          last edited by jrwaters2

          @Red-Sand-Robot - thank you. I am out of town all week and will try reversing the wires next Saturday. I will also post a picture when back in town. I appreciate your help.

          jrwaters2undefined 1 Reply Last reply Reply Quote 0
          • jrwaters2undefined
            jrwaters2 @Red Sand Robot
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • jrwaters2undefined
              jrwaters2 @Danal
              last edited by

              @Danal thank you. I've used a multi-meter to verify the coil pairs. All of my motors are Nema 17. I'm pretty sure of the wiring because I tested each set of wires on the X axis.

              1 Reply Last reply Reply Quote 0
              • jrwaters2undefined
                jrwaters2 @jrwaters2
                last edited by jrwaters2

                @Red-Sand-Robot I've attached the image you requested. Its a Nima 17 motor. I'm going to try reversing the motor today as well.

                JW note: since deleted this picture as I think it was too large and consumed the limit for the thread or something. Anyway, picture didn't show much of interest. A nema 17 motor with 4-wire cable.

                1 Reply Last reply Reply Quote 0
                • jrwaters2undefined
                  jrwaters2
                  last edited by

                  I haven't had much success. I visually inspected my Duet3d and noticed that a couple of the pins on one of the motor headers are not soldered and push through when the connector gets plugged in. Sigh. If I were skilled with a soldering iron I'm sure it would be fixable but I'm a software guy. Does anyone know how to get warranty support from Duet?

                  Phaedruxundefined dc42undefined 2 Replies Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @jrwaters2
                    last edited by

                    @jrwaters2 said in Odd behavior on Z driver using both Za and Zb:

                    Does anyone know how to get warranty support from Duet?

                    Where and when was it purchased?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    jrwaters2undefined 1 Reply Last reply Reply Quote 0
                    • jrwaters2undefined
                      jrwaters2 @Phaedrux
                      last edited by

                      @Phaedrux September 6th from Matter Hackers.

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

                        Might be a good idea to contact them as well.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        jrwaters2undefined 1 Reply Last reply Reply Quote 0
                        • jrwaters2undefined
                          jrwaters2 @Phaedrux
                          last edited by

                          @Phaedrux thank you. I’ll do that.

                          Best
                          Jack

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

                            @jrwaters2 said in Odd behavior on Z driver using both Za and Zb:

                            I haven't had much success. I visually inspected my Duet3d and noticed that a couple of the pins on one of the motor headers are not soldered and push through when the connector gets plugged in. Sigh. If I were skilled with a soldering iron I'm sure it would be fixable but I'm a software guy. Does anyone know how to get warranty support from Duet?

                            Can you post a photo showing the unsoldered connections? Also please let us know the serial number printed on the label on top of the microcontroller, so that we can determine which of our assembly companies made that Duet.

                            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
                            • jrwaters2undefined
                              jrwaters2
                              last edited by jrwaters2

                              Hi @dc42

                              I have attached the image. The pins are in the lower side and they are protruding. My serial number is W01255. The label says "DUET2 MAIN W01255". Thank you for the help.

                              ![0_1574658285680_IMG_9247 (1).jpg](Uploading 100%)

                              jrwaters2undefined 1 Reply Last reply Reply Quote 0
                              • jrwaters2undefined
                                jrwaters2 @jrwaters2
                                last edited by

                                @dc42 odd - The image preview doesn't show. I get "ERROR - something went wrong while parsing server response.". If you provide an e-mail address I can mail it as well.

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

                                  @jrwaters2 said in Odd behavior on Z driver using both Za and Zb:

                                  @dc42 odd - The image preview doesn't show. I get "ERROR - something went wrong while parsing server response.". If you provide an e-mail address I can mail it as well.

                                  My guess it that it's too large to be accepted as an upload. Can you host it on Dropbox or Google drive and link to it? Or email it to info at duet3d dot com.

                                  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
                                  • jrwaters2undefined
                                    jrwaters2
                                    last edited by jrwaters2

                                    Thanks @dc42. Tried lots of sizes that are all much smaller than the picture I uploaded a few days ago. I did just mail two images to the address you stated with a subject line of "Pictures for forum topic 12945 (https://forum.duet3d.com/topic/12945)".

                                    Jack

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

                                      Thanks for the pictures, we'll take this up with our assemblers. If you have not already done so, please contact MatterHackers for a replacement. If they ask for authorisation, refer them to this post.

                                      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
                                      • jrwaters2undefined
                                        jrwaters2
                                        last edited by

                                        Thanks all for the help here. Great community and great support from Duet.

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

                                          PS - any chance you can send us a better photo of the badly-soldered pins first? When taking close ups with a smartphone, I find it best to pull the camera away from the board until the focus is sharp, then use the digital zoom.

                                          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
                                          • jrwaters2undefined
                                            jrwaters2
                                            last edited by

                                            @dc42 Sure - I just sent one. Let me know. The pins move and I carefully disconnected my cable . . . but you can see that one is particularly protruding though 2 of them move pretty freely.

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