250
PROGRAMMING EXAMPLES
96-8000
June 1999
O.D. THREAD MILLING -
O.D. thread milling exercise.
PROGRAM EXAMPLE DESCRIPTION
%
O2400 (Thread milling a 2.0 diameter post x 16 TPI)
(X0,Y0 is at the center of the post)
(Z0 is at the top of the part)
(Post height is 1.125 inch)
G00   G90   G54   X0   Y2.0   S2000   M03
G43  H01   Z.1   M08
Z-1.0
G41   D01   X-1.5   Y1.125 (Turning on cutter compensation.)
G01   X0.   F15. (Linear interpolation onto the post.)
G02   J-1.125   Z-1.0625 (360
o
 helical circle; negative Z move.)
G01   X1.5 (Linear interpolation off the post.)
G00   G40   X0   Y2.0 (Turning off cutter compensation.)
Z1.0   M09
G28   G91   Y0   Z0
M30
%
Note: A cutter compensation turn on move can consist of any X or Y move from any
position just as long as the move is greater than the amount being compen-
sated for. The same rule applies for turning off cutter compensation.