Unloading filament - need more extraction

When I use the printer’s unloading function, I have the feeling that the amount retracted during unloading is sometimes not enough, since after the message “…unloaded” or so, when I pull the filament it is still stuck. I then use the retract function to unload a bit more, whereafter I can pull the filament easily. Where can I set the retraction amount and add 1-2 cm ?

In one of the configuration files, specificallyfluidd.cfg starting at line 667 there is the following code that I believe is the unloading sequence (although I did not test changing these myself yet).

[gcode_macro INNER_FILAMENT_UNLOAD]
gcode:
    {% set temp = params.TEMP | default(250) | int %}
    {% set soft = params.SOFT | default(0) | int %}
MOVE_TO_DISCARD_FILAMENT_POSITION
M109 S{temp}
M83
{% if soft == 0 %}
    G1 E57 F400
    G1 E3 F1500
{% else %}
    G1 E5 F600
{% endif %}
G1 E-27 F2700
G1 E-5.5 F40
G4 P3500
G1 E-37.5 F1500
M400
M104 S0
M106 S255
G4 P5000
INNER_CUTOFF_BASE_DISCARD
INNER_ROUGHLY_CLEAN_NOZZLE_BASE_DISCARD ACTION=2
INNER_DISCARD_FILAMENT_BASE_DISCARD
M107
G1 E-27 F2700    //Retract 27mm    
G1 E-5.5 F40     //Retract 5.5mm
G4 P3500         //Pause for 3.5ms
G1 E-37.5 F1500  //Retract 37.5mm

I think your best bet is to thinker around with the last retraction on line 684 increasing the -37.5 to a larger negative number.

(You can access and edit these through clipper)

1 Like

Thank you. I will have a look at this

Make sure to archive your changes somewhere, because every Snapmaker firmware update will reset your config.

1 Like

Indeed. I do download the complete config folder structure prior to any update.