Purge Bucket G-code



  • Hey can anyone share their purge g-code form their startup script. I am using purge bucket and would like to purge in the bucket before print, I see the hotend go to print and there is no filament coming out at the start of print. I do not want to purge on the bed, I have this working when I am using single color print.

    This is on my Duetwifi .

    ; tpost0.g
    ; Wait for set temperatures to be reached
    M106 R2 ; restore print cooling fan speed
    M116 P0 ; wait for tool 0 heaters to reach operating temperature
    M83 ; relative extruder movement
    G1 E2 F3600 ; extrude 2mm

    ;tpost1.g
    M106 R2 ; restore print cooling fan speed
    M116 P1 ; wait for tool 1 heaters to reach operating temperature
    M83 ; relative extruder movement
    G1 E2 F3600 ; extrude 2mm

    ;tfree2.g:
    M83 ; relative extruder movement
    G1 E-2 F3600 ; retract 2mm
    M106 S0 ; turn off our print cooling fan
    G91 ; relative axis movement
    G1 Z3 F500 ; up 3mm
    G90 ; absolute axis movement
    G28 X U ; home the X and U carriages


 

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