Turning Part Program
Turning Part Program
FMS
Tool
X-axis
X-axis travel
Tool
Z-axis travel
Z-axis
Dia 20 Dia 15
15 5 15
35
20 R5
20 5 10
N00 G90 G21 G94 EOB
N01 G28 U0 W0
N02 T0404 Note that I have not
N03 M03 S1200
used nose radius
N04 G00 X0 Z1 EOB
compensation. It
N05 G01 Z0 F100 EOB
has to be used here.
N06 G02 X10 Z-5 I0 K-5 F150 EOB
N07 G01 Z-15 EOB
N08 G03 X20 Z-20 I5 K0 EOB
N09 M30 EOB
Tool Nose Radius Compensation
• The cutter compensation helps in making
minor adjustments to the tool tip position in
order to accurately produce machine
features.
• Cutter compensation behaves differently
based on whether tool tip programming or
tool center programming is being used.
Tool center programming
With tool
G42
center
programming,
G41
the tool will be
automatically
offset by the
radius value
that has been
entered into
All surfaces will be affected
the offset
with this mode
registry.
Tool tip programming
• With tool tip programming, only tapers and
radii will be affected.
• Straight diameters and perpendicular
faces will remain unchanged.
Error in profile
G71
Multiple Turning CC
• A G71 causes the profile to be roughed out by
turning.
• You need two blocks to specify all the values.
• Example G71 U2.0 R1.5
• G71 P10 Q20 U0.1 W0.1 F45
(i) U0.5 R1
U- Depth of cut in each pass along X-axis in
mm
R- Retraction or retardation amount in mm
(i) G71 P_ Q_ U_ W_ F_
• Example G71 U2.0 R1.5
• G71 P10 Q20 U0.1 W0.1 F45
(i) U0.5 R1 U- Depth
of cut in mm R- Retraction or retardation
amount in mm
(ii) G71 P_ Q_ U_ W_ F_
P- Starting block number
Q- End block number
U- Finishing allowance along X-axis in mm
W- Finishing allowance along Z-axis in mm
F- Feed rate
G70
Finish Turning CC
• A G70 causes a range of blocks to be
executed.
• This is used after compilation of G71.
• It has only one block.
• G70 P10 Q20
P- First block of cycle
Q- Last block of cycle
G72
Multiple Facing CC
• A G72 causes the profile to be roughed out by
facing.
• You need two blocks to specify all the values.
• Example G72 W2.0 R1.5
• G72 P10 Q20 U1.0 W1.0 F45
(i) W2.0 R1.5
W- Depth of cut in each pass along
Z-axis in mm R- Retraction or retardation
amount in mm
(i) G72 P_ Q_ U_ W_ F_
• Example G72 W2.0 R1.5
• G72 P10 Q20 U1.0 W1.0 F45
(i) W2.0 R1.5 W- Depth
of cut in each pass along Z-axis
in mm R- Retraction or retardation
amount in mm
(ii) G72 P_ Q_ U_ W_ F_
P- Starting block number
Q- End block number
U- Finishing allowance along X-axis in mm
W- Finishing allowance along Z-axis
in mm
F- Feed rate
G76
Threading Cycle
• G76 is a multi-pass threading cycle.
• Here also two blocks are required.
• G76 P031560 Q150 R0.5
• G76 X17.96 Z-50 P1020 Q250 F1.5
• G76 P031560 Q150 R0.5
• G76 X17.96 Z-50 P1020 Q250 F1.5
Code Meaning
60 Angle of thread
H=0.866Xp
EXAMPLE-1
30 20
10
20
10 5 10 10 10 5
20
10 5 10 10 10 5
N090 G01 X0
N100 Z0
N110 G03 X10 Z-5 R5
N120 G01 Z-15
N130 X20 Z-25
N140 G01 Z-35
N150 G02 X30 Z-40 R5
(# Finishing Cycle)
N160 G70 P90 Q150
N170 G28 U0 W0
N180 M05
N190 M30