z motor not driving when connected to leadscrew
-
@Ian-Miller said in z motor not driving when connected to leadscrew:
dual z motors because they are wired in parallel
the default wiring on the duet is for the two z motors to be in series, if you have wired them in parallel instead you should probably increase the current as its now shared between the motors. (although if the board is a 1oz copper clone you might not want to push the drivers too hard)
-
Sorry I misspoke the z motors are wired to the board as is standard. But for the Y motors they are wired in parallel 2 motors to a single driver.
(sorry for the confusion)
The power supply is a standard cr-10 power supply and should have more than enough power for the motors.
Additionally if it would help to upload a video of the problem I can do that. -
@Ian-Miller said in z motor not driving when connected to leadscrew:
The power supply is a standard cr-10 power supply
would probably help to know if its a 24v or 12v supply for those of us wihtout a cr-10, motors in series will benefit from higher supply voltage as they have to share the voltage while the current is the same through each motor
-
Its a 12v power supply
-
Ignoring the Y axis setup.
I'd start with increasing the current to Z, it sounds like there isn't enough power to turn both motors.
If that doesn't fix it I'd check the Z motor wiring, bad crimps are a common cause of intermittent motor issues.
Are you getting any error messages? The Duet will normally detect when most of the common issues with the drivers/motors happen and give you an error in DWC or via the PanelDue. I assume you are using DWC?
And can you post your homex.g ? Its probably not that, but it what you are running to generate the issue.
-
How would I go about increasing the current? Is there a potentiometer that I should use on the board to do that?
Additionally would it be worth trying to wire them both to a single set of pins on the board so they got equal current? -
@Ian-Miller said in z motor not driving when connected to leadscrew:
M906 X800 Y800:800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
Change Z800 to f.ex. Z1200 to change current from 0.8A to 1.2A.
But as the motors are wired in series they're already receiving 0.8A (each) like all the other motors. It would be the power supply voltage limiting the speed they can run at compared to the single motors.
-
I did what you asked about increasing the current. Each motor is only rated to 0.33 amps. Each motor is working intermittently and is is active but failing. The motors themselves should be able to lift the load. I will be checking the crimps and doing a little test with any tension on the leadscrews. Just to help I'm providing a video of the printer. IMG-5149-1.mp4
-
Tested with multimeter and redid wiring, the motors are able to drive both ways but function is still intermittent.
error message says 12/27/2020, 1:57:12 PM G28 X
Warning: motor phase A may be disconnected reported by driver(s) 2
Warning: motor phase B may be disconnected reported by driver(s) 2Homex.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-955 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-955 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningAdditionally I have problems with some endstops as well but I'm trying to figure those out myself but that's why the homing for x isn't happening.
-
@Ian-Miller said in z motor not driving when connected to leadscrew:
Warning: motor phase A may be disconnected reported by driver(s) 2
Warning: motor phase B may be disconnected reported by driver(s) 2would suggest the wiring is questionable or motors have high inductance (in which case you'll need to not run them in series or increase the supply voltage)
-
@Ian-Miller said in z motor not driving when connected to leadscrew:
Each motor is only rated to 0.33 amps.
Those are quite small motors. How much does the gantry weigh? How much compliance is there in the gantry? When they aren't perfectly even they are likely binding a bit and the motors aren't very powerful. I think they may not be suitable for your Z axis. Do you have the specs for them?
-
I tried wiring them in parallel and now neither motor activates whatsoever, but I will work on that.
As for the motor specs I will post them below. The entire gantry the 2 motors are lifting is between 2.5 and 3 pounds.
-
I can't make anything out on that blurry image.
-
are you aware that you have bought a cloned board?
those motors are not suitable for 3d printers
https://images-na.ssl-images-amazon.com/images/I/A1N+z7VtiNL.pdf
see
https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motorsAvoid motors with rated voltage (or product of rated current and phase resistance) > 4V or inductance > 4mH.
-
I did not realize that those motors were not ok with 3d printers, I'm using them for driving every other axis on this machine and they all 5 seem to be working well. Do you recommend I just get new motors for that axis or is there anything else I can try?
Btw thank you guys for all the tips and ideas, I'm only 15 and this is my first fully custom printer build.
-
@Ian-Miller said in z motor not driving when connected to leadscrew:
M350 X16 Y16:16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00:80.00 Z1600.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00:900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00:600.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00:500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800:800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per centthis is incorrect, y does not allow for double settings.
delete the second y entry.
also if your motors are 0.33A you are running them with 0.8A, you might have damaged to motors.
-
I would be reluctant to use those motors. Return them if you can. They may be alright for the other axis at low speeds, but the weight of the Z axis is likely a problem for them.
https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors
Use that link for choosing motors to try and determine what you need.Here's a filtered search result that has some good options. Determine if you want/need 0.9 degree motors and how much torque.
-
I'm using 4 of them on the y and 1 on the x and they are providing plenty of power and seem to be accurate. It was only 30$ for 10 so its not a big deal to get new motors. And here is the latest version of the config for those who were concerned with errors.
; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes forwards
M569 p4 s1
M584 X0 Y1 Z2 ; set drive mapping
M584 E3:4
M92 X80 Y80 Z400
M92 E429.85:99 ; Set steps per mm
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M566 X1200 Y1200 Z24 E300 ; Set maximum instantaneous speed changes (mm/min)
M203 X30000 Y30000 Z600 E3000:3000 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z100 E25:250 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X300 Y300 Z360 S0 ; set axis maxima; Endstops
M574 X1 Y1 Z1 S1 ; Define active high microswitches
M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z.
G31 P25 X29 Y-23 Z2.45 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
M557 x50:250 Y50:250 s30
; BLTouch - Heaters
M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex bo; Heaters
M143 S265 ; Set maximum heater temperature to 265C
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M305 P2 T100000 B4138 C0 R4700; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 C"Controll box fan" S1 ; set fan 0 name and value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 C"Extruder fans" S1 H1:2 T45 ; set fan 1 name and value. Thermostatic control is turned on
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 C"Part cooling fans" S1 H1:2 T45 ; set fan 2 name and value. Thermostatic control is turned off; Tools
M563 P0 S"Hotend 0" D0 H2 F2 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M563 P1 S"Hotend 1" D1 H1 F2 ; define tool 1
G10 P1 X23.2 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; Custom settings
m552 s1 -
-
stepper online sells good steppers.
they are both used in the blv design.
https://www.blvprojects.com/blv-mgn-cube-3d-printer
and the voron 2.4
https://vorondesign.com/sourcing_guide?model=V2.4M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M305 P2 T100000 B4138 C0 R4700your thermistor config is wrong. find the correct beta value in your thermistor documentation.