Duel Z movement weirdness
-
Well it's stopped working all together now. I just get a motor phase may be disconnected message every time I try
-
Double check the phases of your wiring. Test one motor at a time.
-
What is the max rated current for the motors?
-
I'm unsure of the current limit. They are generic nema 17 motors so I would assume the usual 1.5-1.8. It's curious that is started so suddenly with both motors on bot connections.
Edit: I was able to track down my order(I bought the parts over a year ago). These motors were both from Abycubic and were purchased at the same time but appear to have different pinouts.
-
The z connectors are wired in series to a single connector.
You may be able to find a label for model number on the motor itself. Googling it may turn up a special sheet to find the max current. Then you can set the current for the z axis in config.g to be about 70-85% of that rated max.
-
@agentnoise said in Duel Z movement weirdness:
I'm unsure of the current limit. They are generic nema 17 motors so I would assume the usual 1.5-1.8
measure the resistance of each phase. then look up similar stepper motors with resistance in that range.
-
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
-
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.
-
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
-
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).
-
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.
-
@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.
-
@deckingman Thanks, I'll try that. I attempted 400 steps per mm. It was default set to 4000
-
@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.
-
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.
-
@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.
-
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
-
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.
-
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.