I do not have an ATC or dedicated tool holders, so I must reset "Z" every time I change tools. I do this using the MDI and a single-side PCB connected to the PROBE input. Works great, but is very repetitious.
Is there a way to put an MDI script behind a Button (like the “GO TO” which I have never used)
A few simple lines would do: (I don't need the comments)
(Move Z above the top surface and hold the PCB in place – press GO TO)
G92 Z0.0 ;reset Z
G31 Z-0.5 F1 :probe
G92 Z0.059 ; re-ZERO to PCB thickness
G0 Z1.0 ;clear Z
M2
This would be fast, and also prevent typos causing problems. I would not have to switch screens to get to the MDI and then back to continue the program.
I think it would work with the main GCODE program running at a M1 or Tool change line. (it does when I do it manually)
Thanks,
Jeff