Dual Extruder Config Setup Help Needed

  • I'm coming over from a different type of controller and have a single extruder printer working very well.

    I'm having trouble with my config files I believe for a dual extruder setup/
    My current config.g file is listed below along with the other need files to supposedly activate 2 extruders.
    My panel due shows the heat bed reaching temperature and the first extruder should be heating to 228C but after less than a minute the extruder reaches a much lower temperature and starts to print before the correct temperature is reached. Meaning my printer starts printing at around 50C causing me to stop the printer.

    Also on a side note the "active" bed temperature never shows on the screen even though the heater is working.
    The standby bed temperature shows -273C until the active temperature is reached at which point everything reads correctly.
    I may have read somewhere this is normal but can someone verify this?

    Anyone care to assist?????

    "Config.g" File

    ; Prologue and comms section
    M111 S0 ; Debug off
    M550 3D Printer ; Machine name (can be anything you like)
    M551 Preprap ; Machine password

    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    M552 S1 ; Enable WiFi
    M555 P2 ; Set output to look like Marlin

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    ; Movement section
    M569 P0 S0 ; Drive 0 (X) goes forwards (change to S0 to reverse it)
    M569 P1 S1 ; Drive 1 (Y) goes forwards
    M569 P2 S1 ; Drive 2 (Z) goes forwards
    M569 P3 S1 ; Drive 3 (E0) goes forwards
    M569 P4 S1 ; Drive 4 (E1) goes forwards
    M574 X1 Y1 Z1 S1 ; set endstop configuration (X and Y endstops only, at low end, active high)
    M350 X16 Y16 Z16 E16:16 ; Micro-Stepping Setting
    M906 X1500 Y1500 Z1500 E1000 ; Set motor currents (mA)
    M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
    M203 X10000 Y10000 Z800 E3600 ; Maximum speeds (mm/min)
    M566 X200 Y200 Z20 E20 ; Max Jerk speeds mm/minute
    M208 X302 Y275 Z250 ; set axis maxima (adjust to suit your machine)
    M208 X0 Y0 Z-0.2 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed)
    M92 X81 Y81 Z402 ; Set axis steps/mm
    M92 E1278:1278 ; Set extruder steps per mm
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Z probe section
    ; M558 P1 X0 Y0 Z1 H3 F200 T5000 ; Smart IR Z probe, used for homing Z axis, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
    ; G31 X11.0 Y0.5 Z1.20 P500 ; Set the probe height and threshold (put your own values here)

    ; Heater and thermistor section
    ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
    M305 P0 T100000 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 T100000 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P2 T100000 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0
    M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
    M570 S120 ; Increase to allow extra heating time if needed

    ; Tool definition section
    M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
    G10 P0 S0 R0 X-6 Y0 ; Set tool 0 operating and standby temperatures
    ;*** If you have a dual-nozzle build, un-comment the following 2 lines
    M563 P1 D1 H2 ; Define tool 1
    G10 P1 S0 R0 X6 Y0 ; Set tool 1 operating and standby temperatures

    ; Bed probe section (not needed if you use a bed.g file)
    ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of your Z probe
    ;M557 P0 X60 Y0 ; Four...
    ;M557 P1 X60 Y165 ; ...probe points...
    ;M557 P2 X200 Y165 ; ...for bed...
    ;M557 P3 X200 Y0 ; ...levelling
    ;M557 P4 X141 Y82.5 ; 5th probe point for levelling (un-comment this to get a 5th point at the centre of the bed)

    ; Epilogue
    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here
    T0 ; select first hot end

    The config files as note below, currently Tool 0 and Tool 1 are both the same other than tool offsets.

    tfree0.g; Put G/M Codes in here to run when Tool 0 is freed
    M83 ; relative extruder mode
    G1 E-4 F2500 ; retract 4mm
    M116 P0
    tpre0.g; Put G/M Codes in here to run when Tool 0 is about to be activated
    G1 X0 Y0 F6000 ; move the head away from the print
    M116 P0
    ; Put G/M Codes in here to run after Tool 0 is activated
    M116 P0 ; wait for tool 0 only to reach operating temperature
    M83 ; relative extruder mode
    G1 E4 F2500 ; undo retraction

  • administrators

    I suspect the problem lies in the start gcode in the file you are trying to print. Please post the first ~100 lines.

  • Here are about the first 100 lines.
    M106 S0
    M140 S100
    M190 S100
    M104 S220 T0
    M104 S220 T1
    M109 S220 T0
    M109 S220 T1
    G1 T0 E8
    G1 T1 E8
    G28 ; home all axes
    G92 E0
    G1 E-5.0000 F6000
    G1 Z0.100 F900
    ; layer 1, Z = 0.1
    ; tool H0.100 W0.480
    ; skirt
    G1 X156.022 Y71.643 F4800
    G1 E-0.8000 F1800
    G92 E0
    G1 X163.973 Y63.693 E0.2323 F2700
    G1 X166.707 Y62.560 E0.2934
    G1 X194.334 Y62.560 E0.8642
    G1 X197.069 Y63.693 E0.9253
    G1 X205.020 Y71.643 E1.1576
    G1 X206.152 Y74.378 E1.2187
    G1 X206.152 Y190.622 E3.6201
    G1 X205.020 Y193.357 E3.6813
    G1 X197.069 Y201.307 E3.9136
    G1 X194.334 Y202.440 E3.9747
    G1 X157.650 Y202.440 E4.7326
    G1 X154.915 Y201.307 E4.7937
    G1 X146.964 Y193.357 E5.0260
    G1 X145.832 Y190.622 E5.0871
    G1 X145.832 Y171.878 E5.4743
    G1 X146.964 Y169.143 E5.5355
    G1 X148.123 Y167.985 E5.5693
    G1 X148.123 Y162.128 E5.6903
    G1 X149.256 Y159.393 E5.7515
    G1 X149.690 Y158.959 E5.7642
    G1 X149.690 Y152.378 E5.9001
    G1 X150.823 Y149.643 E5.9613
    G1 X150.845 Y149.621 E5.9619
    G1 X150.845 Y142.628 E6.1064
    G1 X151.744 Y140.459 E6.1549
    G1 X151.744 Y132.878 E6.3115
    G1 X152.472 Y131.119 E6.3508
    G1 X152.472 Y123.128 E6.5159
    G1 X153.084 Y121.652 E6.5489
    G1 X153.084 Y113.378 E6.7198
    G1 X153.611 Y112.104 E6.7483
    G1 X153.611 Y103.628 E6.9234
    G1 X154.078 Y102.501 E6.9486
    G1 X154.078 Y93.878 E7.1268
    G1 X154.500 Y92.859 E7.1495
    G1 X154.500 Y84.128 E7.3299
    G1 X154.889 Y83.189 E7.3509
    G1 X154.889 Y74.378 E7.5329
    G1 X156.022 Y71.643 E7.5941
    G92 E0
    G1 E-8.0000 F6600
    ; tool H0.100 W0.480
    ; skirt
    G1 X156.429 Y71.915 F4800
    G92 E0
    G1 X164.244 Y64.100 E0.2283 F2700
    G1 X166.803 Y63.040 E0.2855
    G1 X194.239 Y63.040 E0.8523
    G1 X196.797 Y64.100 E0.9095
    G1 X204.613 Y71.915 E1.1379
    G1 X205.672 Y74.473 E1.1951
    G1 X205.672 Y190.527 E3.5925
    G1 X204.613 Y193.085 E3.6497
    G1 X196.797 Y200.900 E3.8781
    G1 X194.239 Y201.960 E3.9353
    G1 X157.745 Y201.960 E4.6892
    G1 X155.187 Y200.900 E4.7464
    G1 X147.371 Y193.085 E4.9747
    G1 X146.312 Y190.527 E5.0319
    G1 X146.312 Y171.973 E5.4152
    G1 X147.371 Y169.415 E5.4724
    G1 X148.603 Y168.184 E5.5084
    G1 X148.603 Y162.223 E5.6315
    G1 X149.663 Y159.665 E5.6887
    G1 X150.170 Y159.158 E5.7035
    G1 X150.170 Y152.473 E5.8416
    G1 X151.230 Y149.915 E5.8988
    G1 X151.325 Y149.820 E5.9016
    G1 X151.325 Y142.723 E6.0482
    G1 X152.224 Y140.555 E6.0967
    G1 X152.224 Y132.973 E6.2533
    G1 X152.952 Y131.214 E6.2926
    G1 X152.952 Y123.223 E6.4577
    G1 X153.564 Y121.748 E6.4907
    G1 X153.564 Y113.473 E6.6616
    G1 X154.091 Y112.199 E6.6901
    G1 X154.091 Y103.723 E6.8652
    G1 X154.558 Y102.596 E6.8904
    G1 X154.558 Y93.973 E7.0686
    G1 X154.980 Y92.955 E7.0913
    G1 X154.980 Y84.223 E7.2717
    G1 X155.369 Y83.284 E7.2927
    G1 X155.369 Y74.473 E7.4747
    G1 X156.429 Y71.915 E7.5319
    G92 E0
    G1 E-8.0000 F6600
    ; tool H0.100 W0.480
    ; skirt
    G1 X156.836 Y72.187 F4800
    G1 E0.0000 F6600
    G92 E0
    G1 X164.516 Y64.507 E0.2244 F2700
    G1 X166.898 Y63.520 E0.2776
    G1 X194.143 Y63.520 E0.8405

  • Anyone able to spot a problem as per above?

  • administrators

    Hi Pete, yes I think the problem is in the gcode at the start of the file. There are commands to set the tool temperatures but no commands to select tools until the first T0 command. Also it has commands like G1 T0 E8 but I have never seen a T parameter used on a G1 command before or documented anywhere.

    You should aim for your start gcode to look something like this:

    M106 S0
    M140 S100
    M190 S100
    G10 T0 S220 R170 ; set tool 0 active and standby temperatures
    G10 T1 S220 R170 ; set tool 1 active and standby temperatures
    T0 ; select tool 0
    G1 E8 ; prime tool 0
    G1 E8

    I have chosen a standby temperature of 170C in the above but you may want to adjust that.
    Also, we recommend to select relative extruder coordinates if your slicer supports it.

    HTH David


Looks like your connection to Duet3D was lost, please wait while we try to reconnect.