Hi Brian,
I tried it with the added "While IsMoving Wend" and the results are the same. Here's what I have found, but I'm not sure what's going on though. If I manually zero the Z axis (paper drag under bit and zero the Z DRO), then G0 Z2 and run the macro, the Z axis retracts to approximately 3.6875" while the DRO reads 2.0". This is a difference of 1.6875".
My zero plate thickness is set at 0.3040" (more on this later), add that to 1.6875" and you get 1.9915" pretty close to the 2" retraction that is set in the macro.
Now to really make things strange, the actual caliper measured thickness of my plate is 0.3125", but I've always had to fool Mach by telling it that it was 0.3040" in order for it to zero correctly. 1.6875" + 0.3125" is 2.0".
For some reason the G31 is taking the distance that it has moved to get to the plate and adding it onto the set retract height. If I were to run it twice without changing the Z position, it would go to 5.375" and read 2.0 on the DRO.
Again, this all works fine previous to R2.0.030 with the exception of the odd plate thickness setting needed.
![Huh ???](https://www.machsupport.com/forum/Smileys/default/huh.gif)
Thanks,