Professional Documents
Culture Documents
CNC Programs
CNC Programs
Example Code
Taper Turning with G90 Modal Turning Cycle CNC Example Code
G30 U0 W0
G50 S2000 T0100
G96 S200 M03
G00 X61.0 Z2.0 T0101 M8
G90 X55.0 W42.0 F0.25
X50.0
X45.0
X40.0
Z-12.0 R-1.75
Z-26.0 R-3.5
Z-40 R-5.25
G30 U0 W0
M30
CNC Programming Example with Fanuc G71 Rough Turning Cycle and G70
N10 G00 G90 X142 Z171
N20 G71 U4 R1
N30 G71 P40 Q110 U4 W2 F0.3
N40 G00 X40
N50 G01 Z140 F0.2
N60 G01 X60 Z110
N70 G01 Z90
N80 G01 X100 Z80
N90 G01 Z60
N110 G01 X140 Z40
N120 G70 P40 Q110
N130 G00 X200 Z220
N140 M30
G00
G72
G72
G00
G01
X65 Z42
W2 R2
P8 Q9 U0 W0 F0.3
Z30
X20
Here are all the parameters for G72 Canned Cycle Facing
First CNC Block of G72 Canned Cycle Facing
W Depth of cut.
R Return value after a cut is complete.
Second CNC Block of G72 Canned Cycle Facing
P & Q The cnc program blocks between the P block number and Q block number will be
repeated until the end dimension is not met.
U Finishing allowance in x-axis.
W Finishing allowance in z-axis