Im doing some work on my 4th axis that requires many turns, basically like a lathe would but with an endmill. Here's the issue, after running code like this, my A axis has made many rotations, sometimes 30 or more. Afterwards I want to get my A axis back to machine zero and this takes forever. My machine doesn't use home switches, it just has a stored location that machine moves to for home. If I send the machine home, it moves very slowly since the A axis has to unturn all those rotations. The other thing I can do is move the machine to x,y,z home position and then ref all home to zero everything including A without having to unturn all those rotations.
Is there a better way to handle this? Like simply enter a code to zero A axis machine coordinates where it sits? If I can't do that, is there anything else I can do to make this easier? Typically I'm hand writing this type of code and use multiples of 360, so having it first move to a consistent angle isn't a concern since it's already there, just need it to zero in place