Question regarding G10/G11 with tool change macros SOLVED
-
Assuming I might have a need for different firmware retraction parameters with different filaments, I might have something like the following when changing from tool 0 to tool 1....
Starting with M207 as being (say) S5.0 to give 5mm retraction for tool 0.
tfree0.g has command G10; retract.
tpre1.g has command M207 S3.0 ; retraction amount changed to 3mm)
tpost1.g has G11; un-retract.Given that a G11 will only be performed if there has been a previous G10, will that G11 be acted on after the M207 change and will it use the new 3mm value or the 5mm value from the previous G10?
-
I think the new value are the used one. You cold have different tool with different settings and hardware so the unretraction of tool 1 is correct to follow it's settings, switch from T1 to T0 do a 3mm retract so return to T1 it do a 3mm unretract, switch from T1 to T0 it do a 3mm retract and 5mm unretract, assuming tpre0.g has command M207 S5.0
-
@danzaywer said in Question regarding G10/G11 with tool change macros:
I think the new value are the used one. You cold have different tool with different settings and hardware so the unretraction of tool 1 is correct to follow it's settings, switch from T1 to T0 do a 3mm retract so return to T1 it do a 3mm unretract, switch from T1 to T0 it do a 3mm retract and 5mm unretract, assuming tpre0.g has command M207 S5.0
That's the way I hope it will work but does that happen in practice? Have you tested and can you be sure?
-
@deckingman if you use G11 in the tpost file then the amount of un-retraction will be the value configured for the new tool. However, the amount of z-hop that is undone with be the amount of z-hop done by the previous G10 command regardless of any tool change that happened in between.
-
@dc42 said in Question regarding G10/G11 with tool change macros:
@deckingman if you use G11 in the tpost file then the amount of un-retraction will be the value configured for the new tool. However, the amount of z-hop that is undone with be the amount of z-hop done by the previous G10 command regardless of any tool change that happened in between.
Thanks for confirming - it is all as I hoped it would be.