So I am working on a CNC router, which I have done before and is going well. But I want to install a auto Tool Height sensor. The link to the one I have is: https://www.amazon.ca/gp/aw/d/B07PRP...b_b_asin_title

But I want to have a Macro installed in Mach3 so when it's done using the router bit that it has it pauses, moves the front of the machine, stops and allows me to change the bit, then it moves to the height sensor and sets z zero, the continues on with the program. I'm not to familiar with macros for Mach3, at least not this complicated. Any help would be greatly appreciated.

Thanks everyone