"Load / unload" filament question



  • So i'm running a 3 to 1 (non mixing) setup with some pretty long bowden tubes, and i'm setting up some load and unload macros so that i can easier swap out filaments before and after prints.
    Note that this isn't used to load or unload the filament all the way to the nozzle but just to the "tfreeX.g" position.

    So the scrips are identical for load/unload just with a positive or negative "E" value respectively. And they look like this:

    ; macros/Load or unload filament/Load Tool-T1
    
    M291 S3 R"Load filament" P"Are you sure you want to load filament on Tool-T1?"  ; Message and response dialog
    
    M302 P1                                   ; Enable cold extrusion
    T1 P0                                     ; Select tool 1 but don't run any tool change macro files                                 
    G1 E668 F2000                             ; Extrude 668mm of filament                                                                  
    M302 P0                                   ; Disable cold extrusion
    T-1                                       ; Deselect all tools and set them on standby
    M118 P0 S"Filament loaded on Tool-T1"     ; Display message
    

    My issue / question is how can i stop or avoid either RRF sending me an "Warning: Tool 1 was not driven because its heater temperatures were not high enough or it has a heater fault" message in the end of the script when "T-1" is sent to Deselect the tool? I've intentionlly disabled cold extrusion before it because i don't wan't the unload procedure in "tfreeX.g" to be done.

    And if i want to do a filament switch right after a print is done and the nozzle is still hot it will still run "tfreeX.g" since it's above the lower extrusion limit.

    Is it a way to avoid this? Or should an "T-1 P0 ; deselects all tools but don't run any tool change macro files" gcode maybe be considered in a coming firmware update? I would really love that 🤣


  • administrators

    @Exerqtor said in "Load / unload" filament question:

    Is it a way to avoid this? Or should an "T-1 P0 ; deselects all tools but don't run any tool change macro files" gcode maybe be considered in a coming firmware update?

    This already exists, I use it all the time:
    https://duet3d.dozuki.com/Wiki/Gcode#Section_T_Select_Tool

    T-1 P0


  • administrators

    @Exerqtor Where in the documentation does it say it's coming soon?



  • @T3P3Tony
    Uuhm either your seeing something i'm not or were missunderstanding each other here.

    I can't see "T-1 P0" mentioned anywhere in the documention?

    And i didn't mention anything about the the documention saying it's coming soon?

    EDIT:

    Yeah, i just added it to the macro and as you say it works haha.

    Still can't find anything about it in the documentation though!

    Cheers!


  • administrators

    @Exerqtor

    from: https://duet3d.dozuki.com/Wiki/Gcode#Section_T_Select_Tool

    Parameters

    nnn: Tool number to select. A negative number deselects all tools.

    R1: Select the tool that was active when the print was last paused (firmware 1.20 and later)

    Pnnn: Bitmap of all the macros to be run (dc42 build 1.19 or later and ch fork 1.17b or later)

    and

    Example

    T0 ; select tool 0

    T1 P0 ; select tool 1 but don't run any tool change macro files

    To make it clearer I have added another example

    T-1 P0 ; deselect all tools but don't run any tool change macro files



  • @T3P3Tony

    That's more like it, even I would have understood that one!

    Thanks! 😃



  • @T3P3Tony Same ya...✌
    redtube.vin


Log in to reply