Servo cleaning brush and tool change
-
Hello, everyone,
I plan to move a brass brush over a servo in my printer in my Idex printer to clean the nozzle.
For reasons of space, I have to be at least Z+15 mm above the table.
In the start Gcode it is no problem to program.
But how can I do it, e.g. in a tool change, and say that if it is below Z+15, it first moves to Z+15, and if it is above it, it doesn't have to move? -
I'm not sure I understand the implications of the question, but if it's just a gcode (macro etc), you can use
if move.axes[2].userPosition < 15 G1 Z15
Note that 'if' executes everything following it indented the same, so make sure the next line (ie the first thing after the 'if' that you always want to happen) is unindented again.
-
@achrn perfect thank you