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

    Error: short-to-ground

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    22
    3.7k
    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.
    • Surgikillundefined
      Surgikill @ErlerPrint3D
      last edited by

      @erlerprint3d said in Error: short-to-ground:

      First I checked the multimeter with a 750Ohm resistance and it works correctly. Then I repeated the measurements and measured 5MOhm again. The board was switched off. I think that was the mistake with the last measurement?

      With the board switched on (only 24V) I measure everywhere infinity and between 2B(ZA)/2A(ZB) and 1A(ZA)/1B(ZB) no resistance (exactly -0.03Ohm).

      1_1547635092789_Image00006.jpg 0_1547635092788_Image00005.jpg

      I'm 99 percent sure he wants you to measure the motor resistance per phase and then measure the resistance between phases to ensure there isn't a short. Take the motor and measure the resistance betweed red and blue, then green and black, and finally between red and black. Do this at the connector that plugs into the duet.

      1 Reply Last reply Reply Quote 0
      • ErlerPrint3Dundefined
        ErlerPrint3D
        last edited by

        Okay, then I misunderstood that. However, I just don't understand why the motors work fine when I use both z-contacts.

        Here are the new measurements:

        • both Z-Motors (MT-1702E133G6-365E) --> between red and black or blue and green 2.1Ohm; other combination "infinity"
        • both CoreXY-Motors (42BYGHM809) --> between red and black or blue and green 1.8Ohm; other combination "infinity"
        • max. cable length is 600mm
        Surgikillundefined whosrdaddyundefined 2 Replies Last reply Reply Quote 0
        • whosrdaddyundefined
          whosrdaddy
          last edited by whosrdaddy

          so based on you last measurements, the correct wire order for the connector on the board would be Red, Black, Green, Blue.
          (Your current order is Red, Blue, Green, Black, as seen in above photo)

          1 Reply Last reply Reply Quote 0
          • BPisLifeundefined
            BPisLife
            last edited by

            What is your motor current set to? I had this issue when I accidentally set the motor current way to low.

            1 Reply Last reply Reply Quote 0
            • Surgikillundefined
              Surgikill @ErlerPrint3D
              last edited by

              @erlerprint3d said in Error: short-to-ground:

              Okay, then I misunderstood that. However, I just don't understand why the motors work fine when I use both z-contacts.

              Here are the new measurements:

              • both Z-Motors (MT-1702E133G6-365E) --> between red and black or blue and green 2.1Ohm; other combination "infinity"
              • both CoreXY-Motors (42BYGHM809) --> between red and black or blue and green 1.8Ohm; other combination "infinity"
              • max. cable length is 600mm

              Are you sure the colors are correct? If they are you need to rewire your connectors.

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

                Yes, it looks like your motors have nonstandard wire colours. This can easily happen if the motors have plug-and-socket connectors on them, and the motors and the cables were not made by the same company.

                When you have the motors wired correctly, with power off on the Duet and the motor connected to the 4-pin connector on the Duet, you should measure a few ohms resistance between the 2 pins at one end of the connector, also a few homes resistance between the 2 pins at the other end, and infinity (or several megohms) between the other pairs of pins.

                When you connected 2 motors to the Za and Zb connectors, I guess the crossed wires in the 2 sets of cables cancelled out, because Za and Zb on the Duet are in series.

                Fortunately, the short-to-ground detection in the drivers appears to have kicked in fast enough to avoid damage to the drivers.

                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
                • ErlerPrint3Dundefined
                  ErlerPrint3D
                  last edited by

                  @dc42 @Surgikill For me the motors are all connected correctly and the resistances are right. To be on the safe side I have illustrated everything in the pictures. Maybe this will help us to avoid misunderstandings. Or I am simply too stupid for that shit. 😵

                  @BPisLife I had already tested the motors with higher currents (as in the data sheet). Without success.

                  1_1547828878760_Z cable managment.JPG 0_1547828878760_CoreXY cable managment.JPG

                  1 Reply Last reply Reply Quote 0
                  • whosrdaddyundefined
                    whosrdaddy @ErlerPrint3D
                    last edited by whosrdaddy

                    @erlerprint3d said in Error: short-to-ground:

                    Okay, then I misunderstood that. However, I just don't understand why the motors work fine when I use both z-contacts.

                    Here are the new measurements:

                    • both Z-Motors (MT-1702E133G6-365E) --> between red and black or blue and green 2.1Ohm; other combination "infinity"
                    • both CoreXY-Motors (42BYGHM809) --> between red and black or blue and green 1.8Ohm; other combination "infinity"
                    • max. cable length is 600mm

                    Your last pictures contradict what you said earlier, or did you mean between red an blue 2.1 Ohmn and between Black and Green 2.1 Ohm?? Anyway did you verify the coils on the motor itself (without using a cable)?

                    EDIT I see now you measure between Red and black 2.1Ohm, so you need to put the cables in the order I told you earlier...

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

                      Ignore the A and B designations. Trinamic name the phases 1 and 2, and the polarities within a phase A and B, and that is how the pins are labeled on the Duet. But the manufacturer of your stepper drivers has named the phases A and B. Your measurements confirm that you have the motors wired to the Duet incorrectly. See my previous post for what resistances you should measure when they are wired correctly.

                      It's a shame that the manufacturers of stepper drivers and stepper motors can't agree on a universal naming convention for the 4 connections.

                      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
                      • ErlerPrint3Dundefined
                        ErlerPrint3D
                        last edited by

                        I'm going crazy 😲 . Now of course everything becomes clear. I've already wired some motors at work but all manufacturers of stepper drivers have called the phases A and B. And because everything worked fine if I used both Z-contacts I never thought I had wired something wrong. Unfortunately, I can't test it until tomorrow because I'm building my printer at work. I'll let you know if everything worked fine. Until then many thanks for your efforts.

                        1 Reply Last reply Reply Quote 0
                        • ErlerPrint3Dundefined
                          ErlerPrint3D
                          last edited by

                          The motors are moving and I'm so happy. Thank you for your help.
                          Perhaps in your documentation you could give a short explanation of the different manufacturers' labels, so that nobody else makes this mistake.
                          Bye.

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