I'm trying to edit a drilling job on a rotary axis and set up an 'unwind' or 'reset' function at the end of the code.
Basic job is to drill four holes equally spaced around the circumference of a tube. Start at A0, drill/retract, next hole at A90, then A180, A270, end program. I wanted to re-set A-axis to A0 so I didn't have to wait for it to 'unwind' or have to manually zero the DRO at the end of each part.
Using
G10 L2 P1 A0
in offline mode resulted in odd behavior of the DRO's. A-axis wound up at A1309.49, and other attempts with the other axis set the DRO to the machine coordinates.
I then realized I should have been using
G92 A0
Which sorted things out just fine.
Leaving me with the question - is G10 used to set the programmed WCS (Pxx) axis to the machine coordinates? Or am I missing something with what G10 is intended to accomplish?
Thanks,
Ralph