Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

FIXED CYCLES OR CANNED CYCLES

Milling (M)

PRPC17-Computer Numerical Control (CNC) Systems


Part program and its elements- methods of programming – manual part programming,
formats. codes and cycles –computer-assisted part programming - custom macro – APT and its
variations - FMS
1
FIXED CYCLES OR CANNED CYCLES

Cycles are referred to repetitive program sequences commonly used In machining operations
that makes easier programming.
• Canned cycles or Fixed cycles: They are an inbuilt feature of the CNC usually
permanently stored as a pre-program and cannot be altered by the user (G80-G89)
• User-defined cycles or Sub-routines: They are created when the necessary fixed
cycle is not available.

CANNED
CYCLE DESCRIPTION
NUMBER

G80 Canned cycle cancellation

G81 Drilling cycle

G84 Tapping cycle

G85 Reaming cycle

G87 Rectangular pocket cycle

G88 Circular pocket cycle

2
FIXED CYCLES OR CANNED CYCLES

G81: Drilling cycle Valid for drilling depth


≤ 3*Ø G81 G98/G99 X Y Z I K
Valid for pecking cycle
Withdrawal Machining Dwell time
planes coordinates (1/100s)
Initial Plane (I.P.) - G98 Distance from Distance from
I.P. R.P. w to the R.P. w to the
Reference Plane (R.P.) - G99 drilling depth
W Z
I Only one drill machining
15

N0 T1 D1 ; Ø8mm drill N10 M06


N20 G00 G43 X30 Y20 Z100 F300 S1400 M03
N30 G81 G98 X30 Y20 Z2 I-15 K100 ; P1
N40 G80 N50 M30

8 Four drills machining


4 3 N0 T1 D1 ; Ø8mm drill N10 M06
N20 G00 X30 Y20 Z100 F300 S1400 M03
N30 G81 G99 X30 Y20 Z2 I-15 K100 ; P1
1 2 N40 G00 X80 Y20 ; P2
N50 G00 X80 Y50 ; P3
N60 G00 G98 X30 Y50 ; P4
N70 G80
N80 M30
3
FIXED CYCLES OR CANNED CYCLES

G81: Drilling cycle Valid for drilling depth


≤ 3*Ø G81 G98/G99 X Y Z I K
Valid for pecking cycle
Withdrawal Machining Dwell time
planes coordinates (1/100s)
Initial Plane (I.P.) - G98
Distance from Distance from
Ref. Plane’ (R.P.) - G99’ I.P. R.P. w to the R.P. w to the
R.P. - G99 Z’ drilling depth
25
W Z I’ 10
I
15 Four drills machining
N0 T1 D1 ; Ø8mm drill
N10 M06
N20 G00 G43 X30 Y20 Z100 F300 S1400 M03 ; Z100
N30 G81 G99 X30 Y20 Z2 I-15 K100 ; Z2
N40 G00 G98 X30 Y50 ; Z100
N50 G81 G99 X80 Y50 Z27 I10 K100 ; Z27
8
N60 G00 G98 X80 Y20 ; Z100
2 3 N70 G80
N80 M30

1 4

4
FIXED CYCLES OR CANNED CYCLES

G84: Tapping cycle


G84 G98/G99 X Y Z I K R

Withdrawal Machining Dwell time


planes coordinates (1/100s)

Initial Plane (I.P.) - G98 Distance from Distance from


I.P. R.P. w to the R.P. w to the thread
Ref. Plane (R.P.) - G99 depth
W Z
Type of tapping
R=0 Normal tapping
I R=1 Rigid tapping

60

N0 T7 D7 ; M-10 tap
N10 M06
N20 G00 G43 X50 Y20 Z100 F600 S600 M03
N30 G84 G98 X50 Y20 Z2 I-60 R0
N40 G80
N50 M30

5
FIXED CYCLES OR CANNED CYCLES

G85: Reaming cycle


G85 G98/G99 X Y Z I K

Withdrawal Machining Dwell time


Initial Plane (I.P.) - G98 planes coordinates (1/100s)

Ref. Plane’ (R.P.) - G99’ Distance from Distance from


I.P. R.P. w to the R.P. w to the
R.P. - G99 Z’ reaming depth
20
W Z
I’ 15 N0 T4 D4 ; Ø12H6 reamer
35 N10 M06
I
N20 G00 G43 X30 Y20 Z100 F500 S2500 M03
N30 G85 G99 X30 Y20 Z2 I-35 K100
N40 G00 G98 X30 Y50
N50 G85 G99 X80 Y50 Z22 I-15 K100
N60 G00 X80 Y20
N70 G80
N80 M30
12

2 3

1 4
Manual Reaming

6
FIXED CYCLES OR CANNED CYCLES

Mirror image (G10, G11. G12, G13, G14)


G10: Cancel mirror image.
G11: Mirror image on X axis.
G12: Mirror image on the Y axis.
G13: Mirror image on the Z axis
G14: Mirror image on any axis (X..C), or in several at the same time.

G91 G01 X30 Y30 F100


Y60
X20 Y-20
X40
G02 X0 Y-40 I0 J-20
G01 X-60
X-30 Y-30
G11
G12
G10 G12
G10
M30

7
FIXED CYCLES OR CANNED CYCLES
Mirror image (G10, G11. G12, G13, G14)

N00 T10 D10 M6


N01 G43 G00 X0 Y0 Z100 S1000 M3
N02 G01 G91 Z-5 F500 S1000
N03 G90 G41 G00 X30 Y40
N04 G02 X30 Y70 R10
N05 G01 X60
N06 Y100
N07 G2 X80 Y100 R10
N08 G1 Y70
N09 X110
N10 G2 X110 Y50 R10
N11 G1 X80
N12 Y20
N13 G02 X60 Y20 R10
N14 G01 X60 Y50
N15 G01 X30 Y50
N16 G40
(RPT N1,N16)N4
N17 G00 Z100 X0 Y0
N18 G11
N19 G12
N20 G10 G12
N21 G10
N22 M30
8
FIXED CYCLES OR CANNED CYCLES

G87. Rectangular pocket canned cycle

G87 G98/G99 X Y Z I J K B C D H L V
[ G98/G99 ] Withdrawal plane
[ X/Y ] Machining coordinates
[ Z] Reference plane
[ I] Machining depth.
[ J] Half the width of the pocket along the abscissa axis
[ B] Penetration step
[ K ] Half the width of the pocket along the ordinate axis
[ C] Milling pass
[ D] Reference plane
[ H ] Feed rate for the finishing pass
[ L] Finishing stock
[ V] Tool penetrating feed rate.

9
FIXED CYCLES OR CANNED CYCLES

G88. Circular pocket canned cycle

G88 G98/G99 X Y Z I J B C D H L V

[ G98/G99 ] Withdrawal plane


[ X/Y] Machining coordinates
[ Z] Reference plane
[ I] Machining depth
[ B] Penetration step
[ C] Milling pass
[ D] Reference plane
[ H] Feedrate for the finishing pass
[ L] Finishing stock
[ V] Tool penetrating feedrate.

10
FIXED CYCLES OR CANNED CYCLES

T2 D2
G0 G90 G43 Z25 S1600 M3
N10 G88 G99 X30 Y35 Z2 I-10 J-15 B5 C6 D2 H200 L1 V300
N20 G98 Y85
N30 G87 G98 X90 Y60 Z17 I3 J-20 K40 B4 C6 D2 H200 L1
G80
G0 G90 G44 Z30
M30

11

You might also like