Tool re-selection after pause



  • I've been playing around with the pause & resume macros and filament setups to try to improve mid-print filament swaps and filament run-out conditions.
    Having read a previous post (here), I tried adding a T-1 to the end of pause.g and and a T R1 to the beginning of the resume.g.

    While the pause goes okay, on resuming (having not done anything else like changing filaments etc.), the T R1 doesn't seem to re-select the tool and while the head moves hack to position, I get the old "no tool selected" and nothing else moves. Am I missing something silly, or is it a bug? I'm using a D3/SBC with DSF 3.1.1.

    ; pause.g
    M83				; relative extruder movements
    G1 E-3 F2500			; retract 3 mm
    G91				; relative moves
    G1 Z10 F5000			; raise nozzle 10 mm
    G90				; absolute moves
    G1 X0 Y120 F5000		; move head out of the way of the print
    G10 R0				; set tool standby temperature to 0
    T-1				; deselect the tool
    
    ; resume.g
    T R1				; re-select the tool that was active prior to the pause
    M703				; make sure config is correct & loaded
    M116 P{state.currentTool}	; wait for the tool to reach active temperature
    G1 R1 Z2			; move to 2 mm above resume point
    G1 R1				; lower nozzle to resume point
    M83				; relative extruder movements
    G1 E3 F2500			; undo the retraction
    

    While its less of an issue, G1 R# commands don't seem to behave exactly as documented in the wiki either. G1 R1 Z2 does just move Z down to 2 mm above its pre-pause position, but G1 R1 moves X, Y and Z, whereas the documentation states that "Axes not mentioned are not moved" - is there an exception if no axes are mentioned? I think this must have originally come from an example somewhere and it just worked.... but should it?



  • I have also this issue with T R1.

    After resume:

    Error: Attempting to extrude with no tool selected.


  • administrators

    @gruen said in Tool re-selection after pause:

    I have also this issue with T R1.

    After resume:

    Error: Attempting to extrude with no tool selected.

    Are you using Duet 3 + SBC too?



  • Yes, I'm use also Duet3 with SBC. 🙂


Log in to reply