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

1

Copyright by Dr. K-H. Chang 2014, All Rights Reserved


AME 4263/5263 COMPUTER-INTEGRATED MANUFACTURING

Fall 2014

Lecture 7A: G12

Thursday, September 11, 2014

G12 Circular Pocket Milling

Example 1: Without tool radius compensation, Q = 0
I=K=3.0












Toolpath (Dotted): 1A: 180
o
(starting path), red
1B: 180
o
(r = 3 = I = K), red
2A: 180
o
(r = 3 = I = K), blue
2B: 180
o
, returning path
Total: 2 complete circles
Small circle radius (1A+2B) = 1.5,
Large circle radius (1B+2A) = 3 (=I=K)

Example 2: With tool radius compensation, Q = 0
I=K=3.0













Programmed path: 1A': 180
o
(starting path), red
(Solid) 1B': 180
o
(r = 3 = I= K), red
2A': 180
o
(r = 3 = I= K), blue
2B': 180
o
, returning path
Total: 2 complete circles
Small circle radius (1A'+2B') = 1.5
Large circle radius (1B'+2A') = 3

Toolpath (Dotted): 1A: 180
o
(starting path), red
1B: 180
o
(r = 2.5 = Id/2= Kd/2), red
2A: 180
o
(r = 2.5 = Id/2= Kd/2), blue
2B: 180
o
, returning path
Total: 2 complete circles
Small circle radius (1A+2B) = 1
Large circle radius (1B+2A) = 2.5
%
O0100
T1 M06 :Tool 1 is a 1 inch diameter end mill
G54 G00 G90 X0. Y0.
G43 Z.1 H01 :Tool length compensation
S2000 M03
G00 X3. Y3.
G42 G00 D01 X3 Y3. :Set cutter comp
G12 I3. F10. Z.25 :Outer circle diameter 6
G00 Z.1
G28 G40 M30
%
%
O0100
T1 M06 :Tool 1 is a 1 inch diameter end mill
G54 G00 G90 X0. Y0.
G43 Z.1 H01 :Tool length compensation
S2000 M03
G00 X3. Y3.
G12 I3. F10. Z.25 :Outer circle diameter 7
G00 Z.1
G28 G40 M30
%
2A
1A'
2B'
1B'
2A'




1A
2B
1B
2A
1B
1A
2B
I=K=3
2
Copyright by Dr. K-H. Chang 2014, All Rights Reserved

Example 3: Without tool radius compensation (Q 0)
I=1, Q = 1, K=3













Toolpath: 1: 360
o
(r=1=I), red
2: 360
o
(r = 2 = I+Q), blue
3: 360
o
(r = 3 = I+Q+Q K), green
4: 360
o
(r = 3 = K), orange
Total: 4 complete circles

Example 4: With tool radius compensation (Q 0)
I=1, Q = 1.5, K=3














Programmed path: 1': 360
o
(r = 1= I), red
(Solid) 2': 360
o
(r = 2 = I+Q), blue
3': 360
o
(r = 3 = I+Q+Q K), green
4': 360
o
(r = 3 = K), orange
Total: 4 complete circles


Toolpath (Dotted): 1: 180
o
(r = 0.5=1d/2 = Id/2), red,
2: 360
o
(r = 1.5 = I+Qd/2),
3: 360
o
(r = 2.5 = I+Q+Qd/2 K),
4: 360
o
(r = 2.5 = Kd/2)
Total: 3.5 complete circles


%
O0100
T1 M06 :Tool 1 is a 0.5 inch diameter end mill
G54 G00 G90 X0. Y0.
G43 Z.1 H01 :Tool length compensation
S2000 M03
G00 X3. Y3.
G12 I1 K3 Q1 F10. Z.25 :Outer pocket diameter 7
G00 Z.1
G28 Y0. G40 M30
%
1
2
K=3
4
%
O0100
T1 M06 :Tool 1 is a 0.5 inch diameter end mill
G54 G00 G90 X0. Y0.
G43 Z.1 H01 :Tool length compensation
S2000 M03
G00 X3. Y3.
G42 G00 D01 X3 Y3. :Set cutter comp
G12 I1 K3 Q1 F10. Z.25 :Outer pocket diameter 6
G00 Z.1
G28 Y0. G40 M30
Q=1
I=1
3
1
4
2
3
1'
4'
2'
3'

You might also like