Page 1 of 1

Z Lift on Tool Change

Posted: Thu Aug 16, 2018 2:36 am
by shauki
Need a setting for the value of Z lift on tool change.
Before executing the user tool change script the Z has to lift up.
After the tool returns to the place it left before tool change the Z is restored.

In version 4.0.1 the custom script on tool change is inserted directly before T0, T1.
Therefore adding G91, G1 Z2, {code}, G1 Z-2, G90 will drop the Z before the tool does the travel to the print location scratching the surface of the printed part.

Here is the video:
https://www.youtube.com/watch?v=GQhkLE9Y4wQ

Re: Z Lift on Tool Change

Posted: Tue Sep 11, 2018 5:52 pm
by S3D-Jake
Try using the old_tool and new_tool variables inside your tool change script. This will allow you to script all movements before and after toolchanges.

more on scripting variables

Re: Z Lift on Tool Change

Posted: Wed Sep 12, 2018 1:25 am
by shauki
Sure I do use old_tool and new_tool and the custom script is completely executed BEFORE the tool comes to the next deposition location bringing back the Z location. My workaround postprocessor script does the job:
Image