Tool unselect?
-
Hi *,
I have the next problem with my IDEX setup. We know that the printer does not have any tool selected when the firmware boots. Fine for me and good. I hand over the a variable from the slicer to decide in the start code which whill be the first tool.
The tools have "if" in it do decide whether it should print a purge line or not:if global.do_purgeL = true M98 P"/macros/print_scripts/purge_lineL.g" set global.do_purgeL = false
(One of the purge lines per tool.)
So far so good. Buuuuuuuut the tpost0.g will not get executed if the tool is already T0 from the last print. Is there any way to unset the used tool without rebooting the FW? Or should I use a not existing tool like T4711 in the stop g-code.
T4711 ok T No tool is selected ok
I'm not sure that I understand the docu correctly:
electing a non-existent tool (49, say) just does Steps 1-2 above, and also removes any X/Y/Z offset applied for the old tool.
I understand here that I need to set the tool offsets again after I used that, is that correct? So I have to move the "G10 P1/2" to the start.g than?
Or what is the concept with the tools here?
Cheers,
Chriss -
@Chriss the standard way to deselect a tool and not select another one is to send T-1.
-
@dc42 Thanks! It seems that I have overseen one line:
T-1 P0 ; deselect all tools but don't run any tool change macro files
It could be that the wording is a bit misleading. At the the tfree script got executed when I tested.
Cheers, Chriss