Both Z motors are not working connected with the pins of "Drive 2"

  • Good morning from Germany 🙂
    yesterday I finished building mechanical things of my Dbot (
    Then setting up my new duetwifi I found out that only X and Y motors are moving.
    Z motors are only working if I put them on the Drive 0 and Drive 1 pins (

    Also X and Y endstops are working fine except Z endstop.
    These are my endstops:

    Can someone help me?
    If I forgot something to say please tell me 🙂

    With best regards

  • administrators

    1. Does the X or Y motor turn when you plug it into one of the Z connectors, with the usual 2 jumpers in the other connector? You can send M584 X0:2 Z5 to temporarily make the Z driver shadow the X driver (also set the current after sending M584, e.g. M906 Z1000 to set 1A current).

    2. Is the Z stepper driver chip getting hot, or does it show any signs of damage?

    3. To fix the Z endstop, check your config.g file, in particular the M574 command which should include Z1 for a Z MIN endstop or Z2 for a Z MAX endstop, and the M558 command which should include Z0.

  • 1. No motor turns, put the 2 jumpers on the pins and tried movement with the duet web interface but nothing happened.
    Previously I sent M584 X0:2 Z5 and M906 Z1000 as you said.

    2. After putting finger longer than 3 seconds on the stepper driver chip I can feel a little heat.
    Otherwise I cant see any damage.

    3. detail of my config.g file:

    M574 X1 Y2 Z1 S0 ; set endstop configuration (X1 is at MIN end. Y2 is at MAX end. (active high switch = S1, active low switch= S0)

    M667 S1 ; set CoreXY mode
    M584 X0 Y1 Z2:3 E4:5:6 ; Driver 0 controls the X motor, 1 controls Y, 2 and 3 control Z motors, 4 and 5 control E motors
    M350 X16 Y16 Z16 E16 I1 ; Set 16x microstepping with interpolation

    M92 X100 Y100 Z400 ; Set axis steps/mm. Check that the printer really move as much as you tell it. Not more and not less.
    M92 E138.4:138.4 ; Set extruder steps/mm. Change this to match your extruder.

    M906 X800 Y800 Z800 E800 ; Set motor currents (mA). Increase if motor is to weak. Lower if motor gets too hot. 800-1000 is good for most.

    M201 X1500 Y1500 Z300 E4000 ; Accelerations (mm/s^2). The acceleration, speed and jerk is a setting you can alter to try making the printer to print as nice as possible..
    M203 X15000 Y15000 Z300 E1500 ; Maximum speeds (mm/min)
    M566 X600 Y600 Z24 E300 ; Maximum jerk speeds mm/minute

    M208 X300 Y200 Z300 ; set axis maxima (adjust to suit your machine)
    M208 X0 Y0 Z0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Z probe
    ;M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis
    ;G31 Z2.47 P500 S1 ; Set the probe height and threshold (put your own values here)


    Maybe its relevant:
    The wiring diagram of the duet wifi shows the colors of the pins in the sequence Black,Green,Blue and Red, while the Blue and Red are changed at my motor connectors.
    Could this cause an issue? Despite of that X and Y motors are working well and also Blue and Red cables are changed here.

  • administrators

    Sorry, I should have said M906 X1000 after sending the M584 command. After sending both commands, try commanding X movement. If everything is working, the motors connected to both the X and Z outputs should turn.

    If you get the motors wires the wrong way round, you get a loud buzzing sound from the motor. Sadly not all motors use the same wiring order.

    I'm thinking you have a faulty Z driver on your board, but I want to exhaust other possibilities before I ask you to return the Duet for replacement. The reason I asked you to check the driver temperature is that blown drivers usually get VERY hot. It's normal for drivers to run warm, you will probably find the X and y drivers are warm too once they are activated.

  • Ok this time I connected X motor with Z pins and the 2 jumpers, sent M584 X0:2 Z5 and M906 X1000. Nothing happens ;(
    Even theres no loud sound from the motors that I could say wiring is wrong and thats the cause.
    Can a firmware upgrade or something elese change the wrong driver or is there any else method to find out whether I have a faulty Z driver or not?

  • administrators

    It sounds like a faulty driver to me, I can't think of another explanation. Ask for the Duet to be replaced.

  • Yes, thanks for the help I have already written makerdise because of the problem 🙂

Log in to reply