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

    Duel Z movement weirdness

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    25
    988
    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.
    • AgentNoiseundefined
      AgentNoise
      last edited by AgentNoise

      I think I'm losing my mind. Today, the motor that was working, doesn't. I didn't unplug it or swap cables but it's back to getting the error message that the motor phase a and b may be disconnected. I have tried every possible wiring combonation and I get the same error no matter what. I've tested 3 different motors, same results.

      How can I tell which pin is ground and what is voltage? I used a multi-meter to find the pins on the same coils

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

        Can you test each motor on a different driver? And test a working motor on the z driver to see if the problem is with the driver or the motor.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • AgentNoiseundefined
          AgentNoise
          last edited by

          I've tested 3 motors on all the drivers. The only results I can get are a a brief stuttering of movement and then a short to ground message or the same Phase A and B might bot be connected message

          1 Reply Last reply Reply Quote 0
          • MrsDelishundefined
            MrsDelish
            last edited by

            If you have a multi meter, measures resistance between the motor phases. On your motor 2 and 2 phases should have similar resistance (probably around 0.9 to 1.5ohm) but from one phase to the other there should be really high resistance (mega ohms).
            Once you have identified the phases, connecting them should be straight forward.

            One way to rule out any mechanical problems is disassemble the motors from the printer and just have a piece of tape on the motor shaft and test if everything moves the correct direction(remember to never connect or disconnect a motor when the driver has power).

            1 Reply Last reply Reply Quote 0
            • AgentNoiseundefined
              AgentNoise
              last edited by AgentNoise

              I figured this out. It was just the weird motor wiring not being the same on both motors so they weren't moving in the correct directions.

              Now the Z axis is moving way to much. 10mm is closer to 100. I set the steps per mm to 13 just for kicks but it didn't seem to change anything. I have the z homing at the high end but can only move it down 30mm despite my size being 300mm.

              deckingmanundefined 1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @AgentNoise
                last edited by

                @agentnoise said in Duel Z movement weirdness:

                I set the steps per mm to 13 just for kicks but it didn't seem to change anything...................

                Assuming you are using 1.8 degree motors which have 200 full steps per revolution and you are using the default micro-stepping of 16X, then setting the steps per mm to 13 means that 1 revolution of the motor would equate to 246mm of linear motion. Again, assuming that the motor directly drives the screw without any gearing, this would imply that you have screws with a lead of 246mm. If they happen to be single start screws, then the pitch will also be 246mm. I somehow doubt that is correct which explains your problem.

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                AgentNoiseundefined 1 Reply Last reply Reply Quote 0
                • AgentNoiseundefined
                  AgentNoise @deckingman
                  last edited by

                  @deckingman Thanks, I'll try that. I attempted 400 steps per mm. It was default set to 4000

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @AgentNoise
                    last edited by

                    @agentnoise Do the maths. It's easier than guessing. One turn of a motor is 200 full steps assuming it's a 1.8 degree motor. So that's 3200 steps per revolution at default 16x micro stepping. Divide that by how far a nut attached to the screw will travel in 1 revolution (the lead) and you have the steps per mm.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    1 Reply Last reply Reply Quote 0
                    • AgentNoiseundefined
                      AgentNoise
                      last edited by

                      Does the interpolation to X256 micro-stepping come into play in this calculation? The default 4000 steps per mm was moving too far as well.

                      JamesMundefined 1 Reply Last reply Reply Quote 0
                      • JamesMundefined
                        JamesM @AgentNoise
                        last edited by

                        @agentnoise No it does not...you set the steps based on the x16 microsteps if that is how you have your config set up....the interpolation is done by the stepper driver.

                        1 Reply Last reply Reply Quote 0
                        • AgentNoiseundefined
                          AgentNoise
                          last edited by

                          OK I see what I was doing wrong I was setting the steps per mm in the config.json only but I needed to update it in the config.g too. That's why none of my changes were making a difference

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

                            The .JSON file is for the configurator only if you want to re import your config into it again to make some changes.

                            The typical way of doing things is to edit config.g directly.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User
                              last edited by

                              Also worth noting, after you edit the config.json file to make changes manually it may not be imported properly in the online configuration tool. I.e. if you can't change it online, odds are it won't import either.

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