O1571
N10   M06 T02 02 ;
N20   G50 S1500 ;
N30   M03 G97 S200 ;
N40   M08 ;
N50   G00 X30 Z3 ;
N60   G32 X29.08 Z-50 F1.5 ;
N70   X28.78 ;
N80   X28.48 ;
N90   X28.18 ;
N100 G28 U0 W0 ;
N110 M05 M09 M30 ;
More examples..........!!!!
DESCRIPTION OF MAIN PROGRAM :-
Calculation :- Depth of thread = 0.6134 X Pitch
= 0.9201
Crest = major dia - 0.9201
= 29.08
Root = Major dia - 2 x Depth of thread
= 30 - 2 x 0.9201
= 28.16 (root)
Each cut is 150 microns =0.15mm , it means total reduce 0.30 mm and cutting upto root 48.16 mm
First cut is 29.07 mm (Crest)
Second cut is 29.07-0.3 = 28.78
Third cut is 28.78-0.3 = 28.48
Final cut is 28.48 -0.3 = 28.18 (~ 28.16)(root)
*************************all dimension in mm ***********************************
01571 - Name of main program
N10- Tool change command , select tool no 2
N20- Maximum spindle speed command , speed is 1500 rpm
N30- Spindle ON clockwise , constant spindle speed , speed is 200 rpm
N40- Coolant ON
N50- Rapid action command , where X30 and Z3 .

N60- Threading cycle command , where X29.08( crest )(First cut) and Z-50 , feed rate is 1.5 ( it is always is equal to pitch )
N70-  Second cut is  28.78 in X axis
N80- Third cut is 28.48 in X axis
N90 - Final cut is 28.18 in X axis (root)
N100 - Reference position command , where X0 and Z0 ;
N110 - Spindle OFF , coolant OFF , main prog. end
Fanuc g32 threading cycle program II Single point threading II Reviewed by harshal on August 01, 2018 Rating: 5