Correct config.g for 1 extruder with 3 heaters



  • Hello All,

    I'm a newbie, technical background, but new to electronics and code. I am struggling to set up a high-output extruder which has 1 stepper drive and 3 heaters along the length of the nozzle. The Duet2 has a breakout board which drives X, Y, and Z. I plugged 2 of the heaters into E0 and E1 heater terminal blocks and 2 Dyze high-temp sensors into E0 and E1 VSSA thermistors. I have attempted to add an adafruit max31865 to the board temp daughterboard to run the 3rd sensor. I'm not quite sure where to plug the 3rd heater into. I have plugged an external stepper driver (Rtelligent R60) into Drive 4, and the extruder stepper motor into it. On the 2 heaters plugged in I'm getting very low readings, jumping from 2 degrees to 13.8 degrees. The heaters to not follow heat commands from the controller, and the extruder stepper doesn't either. Follows is my config.g, any help/suggestions/criticism would be much appreciated 🙂

    ; Configuration file for Duet WiFi (firmware version 1.19.2)
    ; executed by the firmware on start-up
    ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;; DRIVES ;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; left extruder goes forwards
    M569 P4 S1 ; right extruder goes forwards
    M569 P5 T2 ; 2 microsecond minimum step pulse width for x-axis
    M569 P6 T2 ; 2 microsecond minimum step pulse width for y-axis
    M569 P7 T2 ; 2 microsecond minimum step pulse width for z-axis
    M569 P8 S1 R0 ; Drive 8 goes forwards
    M584 X5 Y6 Z7 E4 ; Apply custom drive mapping (X=Drive5, Y=Drive6, Z=Drive7, E3=Extruder0, E4-Extruder1 )
    M350 X16 Y16 Z16 E16:16:16 I1 ; Configure microstepping with interpolation
    ;M92 X120 Y120 Z2000 E478:463 ; Set steps per mm
    M92 X120 Y120 Z2000 E379💯224.6 ; Set steps per mm
    M566 X225 Y225 Z12 E120:120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000 Y12000 Z180 E6000:6000:6000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z250 E250:250:250 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E1680:1680:1680 I30 ; Set motor currents (mA) and motor idle factor in percent
    M84 S30 ; Set idle timeout

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;; HEATERS ;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    ;M143 S300 ; Set maximum heater temperature to 300C
    M143 S500 ; Set maximum heater temperature to 450C
    M143 H0 S150 ; set max bed temp to 150C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater(may require further tuning)
    ;M301 H1 S1.0 P7 I0.25 D34.5 T0.4 W180 B30 ; Use PID on extruder1 (may require further tuning)
    ;M301 H2 S1.0 P7 I0.25 D34.5 T0.4 W180 B30 ; Use PID on extruder2 (may require further tuning)
    M305 P0 T47500 B4050 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    ;M305 P1 T100000 B4210 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    ;M305 P2 T100000 B4100 C0 R4700 ; Set thermistor + ADC parameters for heater 2
    M305 P1 T4606017 B5848 C5.548428e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M305 P2 T4606017 B5848 C5.548428e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M305 P6 T4606017 B5848 C5.548428e-8 R5100 ; Set thermistor + ADC parameters for heater 6
    M307 H1 A655 C573.6 D11.8 S1.0 B0
    M307 H2 A655 C573.6 D11.8 S1.0 B0
    M307 H6 A409.7 C570.6 D28.6 S1.0 B0
    M570 H1 T25 ; Allow temperature excursion
    M570 H2 T25
    M570 H6 T25
    M302 P1
    M305 P6 X203

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;; TOOLS ;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    M563 P0 D4 H1:2:6 ; Define tool 0
    G10 P0 X0 Y0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    ;M563 P1 D0 H2 ; Define tool 1
    ;G10 P1 X99.21 Y-1.18 ; Set tool 1 axis offsets
    ;G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C
    ;M563 P2 D0 H6 ; Define tool 2
    ;G10 P2 X99.21 Y-1.18 ; Set tool 2 axis offsets
    ;G10 P2 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;; CUSTOM SETTINGS ;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    T0 ; Select tool to activate heater


Log in to reply