UGS and Zeroing using macros

I was looking for some YouTube video on zeroing Z axis for UGS Universal gcode sender and came across this gem.
I didnt make this video but it look awesome.
I use millimeters so I am gonna adapt the code for my use,

Auto Zero CNC X Y Z Axis

hope it helps you

Regards Neal


I have seen this and use his examples and works great.