Retract from specific tool if not selected
-
I've got several tools(extruders) that have different steps from each other.
I usually run my gcode file and press PAUSE which retracts:
"G1 E-10 F3600 ; retract 10mm of filament"My issue is that each tool I'd like to have certain amount of retractions and speeds.
Can I select specific tool to retract while in PAUSE?
Let's say tool 1 is selected in the file thats running and it needs "E-100 F6000" and tool 2 which will need "E-500 F8000". I don't want to change the PAUSE file each time I have a different tool.Ideas?
-
@CJ-BRAVO Why not use the tool change macro files https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Tool_change_files?
-
As mentioned, this is the very reason that tool change macros are separate per tool.
-
@CJ-BRAVO said in Retract from specific tool if not selected:
I've got several tools(extruders) that have different steps from each other.
I usually run my gcode file and press PAUSE which retracts:
"G1 E-10 F3600 ; retract 10mm of filament"My issue is that each tool I'd like to have certain amount of retractions and speeds.
Can I select specific tool to retract while in PAUSE?
Let's say tool 1 is selected in the file thats running and it needs "E-100 F6000" and tool 2 which will need "E-500 F8000". I don't want to change the PAUSE file each time I have a different tool.Ideas?
Use the conditional GCode facilities of RRF 3.01.
-
-
@CJ-BRAVO said in Retract from specific tool if not selected:
I using duet 2.
RRF 3 is only for DUET 3, correct?
No. (but in any case, you don't need RRF3 to use the tool change macros which, IMO Iis the easiest way to achieve what you want to do).
-
@deckingman said in Retract from specific tool if not selected:
No. (but in any case, you don't need RRF3 to use the tool change macros which, IMO Iis the easiest way to achieve what you want to do).
No tool change macros are executed during the pause
@CJ-BRAVO said in Retract from specific tool if not selected:
Can I select specific tool to retract while in PAUSE?
-
@zerspaner_gerd True. But using the tool change macros is a better way to achieve what he wants to do than using pause.
-
My initial issue is that I do want to pause the job and have a retraction - with any tool (which have different steps).
So does the tool change macro work? Maybe just I'll write a new pause macro? -
Two solutions:
- Use T-1 in the pause.g file to deselect the tool, so that it runs the tfree file. Then use T R1 in resume.g to reselect it.
- Use RRF 3 with conditional GCode in pause.g.
-
hmm..
I am leaning towards RRF3...
Where should I goto for some conditional GCode in RRF 3.01 lessons? -
@CJ-BRAVO said in Retract from specific tool if not selected:
hmm..
I am leaning towards RRF3...
Where should I goto for some conditional GCode in RRF 3.01 lessons? -
If you don't want to use conditional processing (or upgrade to RRF3):
You could set your firmware retract for the tool in the tool change macro (ie tpostn.g for tool n):
M207 S-10 F3600 ; retract 10 mm
then use G10/G11 firmware retracts in the pause command
G10 ; retract the filament by a tool-specific amount