G76 P010060 Q.01 R.002
G76 X.875 Z-.25 R0 P.125 Q.015 F.076
X2.25 Z.25 (RETURN TO SAFE POSITION)
M5 (STOP SPINDLE)
At this point the part should resemble this in the graphics.
Now that the threading has finished the machine is ready to call
up another tool. The turret must be sent to the home position.
G28 U0. W0. (SENDS TURRET HOME)