Well that little bubble of excitement didn't last long
I found a bug which I don't expect will affect very many users.
Took me ages to figure out what was going on. You'll understand why if you read on.
Could not believe that I wasn't doing something stupid or that my macro was at fault.
Anyhow eventually I worked out what made things go pear shaped.
To do with slaved axis. I have X and A motors running my X axis in a dual drive setup.
The Auto Tool Zero works perfectly up until I jog or move the X axis by any method except homing.
After moving the X axis, it spits the dummy and does strange things and wont work again till I restart Mach.
Now what threw me is that a homing sequence does not have the same effect.
But then I thought about it
and a homing sequence treats the slaved axis separately so that the individual homing switches can do their thing.
Now I suppose because this will affect very few users, that it will not score highly on the "To Do List"
So until that happens my "Wizz Bang Zero Setter" will have to go on the shelf.
Now for the disclaimer If I have done something supremely stupid and it is all my fault.
I apologize profusely for casting aspersions on the very excellent Mach software.
Greg