Here is some good information and examples for tool length setting macros.
https://www.cnczone.com/forums/millt...628-posts.html