• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    AgentNoise
    last edited by AgentNoise 27 Aug 2019, 23:43

    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
    • undefined
      Phaedrux Moderator
      last edited by 28 Aug 2019, 00:13

      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
      • undefined
        AgentNoise
        last edited by 28 Aug 2019, 03:52

        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
        • undefined
          MrsDelish
          last edited by 28 Aug 2019, 10:34

          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
          • undefined
            AgentNoise
            last edited by AgentNoise 9 Apr 2019, 16:28 4 Sept 2019, 16:26

            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.

            undefined 1 Reply Last reply 4 Sept 2019, 16:57 Reply Quote 0
            • undefined
              deckingman @AgentNoise
              last edited by 4 Sept 2019, 16:57

              @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

              undefined 1 Reply Last reply 4 Sept 2019, 17:58 Reply Quote 0
              • undefined
                AgentNoise @deckingman
                last edited by 4 Sept 2019, 17:58

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

                undefined 1 Reply Last reply 4 Sept 2019, 21:02 Reply Quote 0
                • undefined
                  deckingman @AgentNoise
                  last edited by 4 Sept 2019, 21:02

                  @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
                  • undefined
                    AgentNoise
                    last edited by 4 Sept 2019, 21:53

                    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.

                    undefined 1 Reply Last reply 4 Sept 2019, 22:33 Reply Quote 0
                    • undefined
                      JamesM @AgentNoise
                      last edited by 4 Sept 2019, 22:33

                      @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
                      • undefined
                        AgentNoise
                        last edited by 5 Sept 2019, 01:43

                        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
                        • undefined
                          Phaedrux Moderator
                          last edited by 5 Sept 2019, 01:47

                          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
                            last edited by 5 Sept 2019, 02:43

                            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