We are using a probe cycle to measure a machined flat on a round part and it stores the angle from the x axis in variable #139 and the error in #144. The part is held in a 3 jaw chuck mounted flat on table. Machine is a DNM5700. Since the measurement is from zero degrees the error and the angle are the same number.
I then use #144 to set the G68 rotation. If we run the program all the way through there is no concern. However if we want to jump ahead in the program to re-run a thread mill the #144 has been reset.
One solution we read was to write #501=#144 and the set G68 to #501. This way we maintain the value for rotation even after a "reset" or M30.
What are some possible issues with doing this? Is there a better solution?
Thanks
I then use #144 to set the G68 rotation. If we run the program all the way through there is no concern. However if we want to jump ahead in the program to re-run a thread mill the #144 has been reset.
One solution we read was to write #501=#144 and the set G68 to #501. This way we maintain the value for rotation even after a "reset" or M30.
What are some possible issues with doing this? Is there a better solution?
Thanks