E motor turns when Z motor is supposed to run



  • I am literally in the final stage of doing a dual extruder upgrade but my E1 motor is running when my z motor is running. This is especially odd because I'm using a dual leadscrew and both z motors are functioning completely. I'm going to post my config here in case anyone can see anything I can't. This includes everything except for network information. And yes I have checked wiring.

    ; 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
    m569 p5 s1
    M584 X0 Y1 Z2:3 ; set drive mapping
    M584 E4:5
    M92 X80 Y80 Z400
    M92 E99:376.14 ; Set steps per mm
    M350 X16 Y16 Z16:16 E16:16 I1 ; configure microstepping with interpolation
    M350 E32:32 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 X275 Y320 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.515 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
    ; 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 H1 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 H2 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


  • Moderator

    @Ian-Miller said in E motor turns when Z motor is supposed to run:

    ; 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
    m569 p5 s1
    M584 X0 Y1 Z2:3 ; set drive mapping
    M584 E4:5
    M92 X80 Y80 Z400
    M92 E99:376.14 ; Set steps per mm
    M350 X16 Y16 Z16:16 E16:16 I1 ; configure microstepping with interpolation
    M350 E32:32 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

    You don't mention what Duet board you're using, but if it's a Duet2 you only have 5 drivers to map and you have tried to map 6. Drivers 0, 1, 2, 3, 4.

    The Z driver has two ports, but those ports are wired internally in series to power two z motors off a single driver, but that won't allow independent control of the Z axis motors.

    So you'll have to choose between dual extruders or independent z axis control.



  • @Phaedrux Thank you, this fixed my issue.


Log in to reply