# Losing z-axis zero when hitting stop&RTZ in UGS

**URL:** <https://community.inventables.com/t/losing-z-axis-zero-when-hitting-stop-rtz-in-ugs/48142>\
**Category:** Troubleshooting\
**Created:** [January 2, 2018, 12:20am UTC](https://community.inventables.com/t/losing-z-axis-zero-when-hitting-stop-rtz-in-ugs/48142 "2018-01-02T00:20:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimVannaman](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@TimVannaman](https://community.inventables.com/u/TimVannaman)\
**Post date:** [January 2, 2018, 12:20am UTC](https://community.inventables.com/t/losing-z-axis-zero-when-hitting-stop-rtz-in-ugs/48142/1 "2018-01-02T00:20:28Z")

</div>

I’ve never seen this before, but I just started using touch base so maybe it’s related to that. When my carve is running in UGS (nightly version, 12/7, 1.1f firmware) and I hit the square red button, it stops as you would expect. The XYZ homes are correct. I raise the Z axis to clear my workpiece and then when I hit , it slews back to work home, but the z-home gets reset to the same number each time… 25, I think. It resets before it slews.

This version never did it before when I was manually setting the z-axis with a piece of paper. I’m using Phil’s touch plate macro but with a change of thickness of my touch plate. Any ideas? Nothing in my PP has changed.
