Z-hop during toolchange
-
Hi all,
I am trying to configure a Z hop during toolchange for IDEX.
I have added a G91 + G1 Z1 in the Tfree, and a G91 + G1 Z-1 in Tpost, but this results in the printer just hopping up and down instantly before actually changing the tool.
Is there a way to configure this in Duet?
-
@SanderLPFRG For the use of the tool change macros, see https://docs.duet3d.com/User_manual/Tuning/Tool_changing
What version of RRF are you using? Are you changing between different tools (eg T1 when T0 is currently selected), the same tool (eg T1 when T1 is currently selected), or no tool (eg T1 when T-1 is selected)?
I'd say the Z movement is in the correct macro, but it will depend on what other commands are in the tool change macros (eg restoring tool position etc). Please post the tfree.g, tpre.g and tpost.g macros for the tools you are changing between.
Ian
-
@SanderLPFRG You could try keeping the G91 + G1 Z1 in your tree, but then in tpost you could set up a restore point move?
https://docs.duet3d.com/User_manual/Reference/Gcodes#g1-controlled-linear-move
Example -
G1 R2 Zxxx
, with xxx being your Z-hop height, and then follow that withG1 R2 Z0
. Likely would want both lines at the end of your tpost. This would restore the print head to the position stored before the tool change, but offset byZxxx
. Then it would restore down to an offset ofZ0
from the restore point (thus completing the Z-hop).