SlideShare a Scribd company logo
1 of 47
Download to read offline
SRI KRISHNA COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF MECHATRONICS ENGINEERING
MODULE 1
Session: CNC Manual Part Programming
1/9/18 15MT322 Computer Integrated Manufacturing 1
SESSION OBJECTIVES
1/9/18 15MT322 Computer Integrated Manufacturing 2
 On the completion of this session, the students might
be able to understand,
▪ CNC programming methods – turning and milling
▪ Manual part programming
Topics
 CNC Turning
 CNC Milling
1/9/18 15MT322 Computer Integrated Manufacturing 3
TURNING
1/9/18 15MT322 Computer Integrated Manufacturing 4
CNC Turning Axes
1/9/18 15MT322 Computer Integrated Manufacturing 5
20
5
15
40
P1
P2
P4 P3
10
X
Z
0,0
Tool post
Spindle
CNC Bed
X+
X-
Z+
Z-
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 6
20
5
15
40
P1
P2
P4 P3
10
X
Z
0,0
P1 P2 P3
Absolute:
X20.0 Z-10.0
X40.0 Z-15.0
Incremental:
U0.0 W-10.0
U20.0 W-5.0
20
5
15
40
P1
P2
P4 P3
10
X
Z
0,0
G00 Rapid Traverse:
Format:
G00 X_ Z_
Example:
G00 X20.0 Z0.0
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 7
20
5
15
40
P1
P2
P4 P3
10
X
Z
0,0
G01 Linear interpolation:
Format:
G00 X_ Z_ F_
Example:
G01 X20.0 Z-10.0 F0.2
X40.0 Z-15.0
No need to repeat command as it is a
“modal command”
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 8
Start Point
End Point
Center
Radius
X
Z
X
Z
End Point
Start Point
Center
-I -K
G02/03 Circular interpolation:
Format:
G02/03 X_ Z_ R_ F_
G02/03 X_ Z_ I_ K_F_
Example:
Radius:
G02 X25.0 Z-10.0 R5.0 F0.2
G03 X39.0 Z-17.0 R7.0
Center:
G02 X25.0 Z-10.0 I5.0 K0.0 F0.15
G03 X39.0 I0.0 K-7.0
13 10
39 15
X
Z
25
R5
R7
0,0
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 9
G32 Thread cutting:
Helical interpolation – linear + rotation
Format:
G32 X_ Z_ F_
Example: 2mm pitch, 0.6mm depth
G00 X19.6 Z2.0
G32 Z-8.0 F2.0
G00 X22.0
Z2.0
G00 X19.2 Z2.0
G32 Z-8.0 F2.0
G00 X22.0
Z2.0
G00 X18.8 Z2.0
G32 Z-8.0 F2.0
G00 X22.0
Z2.0
20
5
15
40
P1
P2
P4 P3
10
X
Z
0,0
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 10
G04 - Dwell
Format:
G04 X_
Example: Dwell of 1s
G04 X1.0
Feed rate:
Format:
F_
Example:
F 0.25
F is specified in mm/rev
Spindle rotation :
Format:
M03 – CW , M04 – CCW, M05 -Stop
Spindle Speed:
Constant surface speed:
G96 S225 M03
G50 S3000
S225 – Surface speed of 225m/min
S3000 – Spindle speed of 3000rpm
Constant spindle speed:
G97 S1350 M04
Spindle speed of 1350rpm in CCW
direction
Tool change:
Format:
T_ _ _ _
Example: T0303
Tool number 3 with offset 3
Tool nose radius compensation
1/9/18 15MT322 Computer Integrated Manufacturing 11
Theoretical Tool
Tip(TTT)
G41 Tool nose radius compensation Left
G42 Tool nose radius compensation Right
G40 Tool nose radius compensation Cancel
TNRC Path
Required path
=
Actual part shape
P1
P2
P3
P4
20
5
15
40
P1
P2
P4 P3
10
X
Z
0,0
G00 G42 X20.0 Z2.0
G01 Z0.0
Z-10.0
X40.0 Z-15.0
Z-30.0
G00 G40 X60.0
Canned cycles
1/9/18 15MT322 Computer Integrated Manufacturing 12
70
80
50
X
Z
0,0
100
G90 Straight turning cycle:
Format:
G90 X_ Z_ F_
Example:
G00 X82.0 Z2.0 (Rapid to initial position)
G90 X75.0 Z-50.0 F0.2 (Cut to diameter 75)
X70.0 (Cut to diameter 70)
G00 Z2
0,0
80
100
50
65 70
X
Z
G90 Taper turning cycle:
Format:
G90 X_ Z_ R_ F_
Example:
G00 X67.0 Z1.0
G90 X65.0 Z-50.0 R-2.5 F0.2
Canned cycles
1/9/18 15MT322 Computer Integrated Manufacturing 13
120
X
Z
70
6
0,0
G94 Facing cycle:
Format:
G94 X_ Z_ F_
Example:
G00 X122.0 Z1.0 (RAPID TO INITIAL POSITION)
G94 X70.0 Z-3.0 F0.25 (FACE TO Z-3)
Z-6.0 (FACE TO Z-6)
120 0,0 70
6
8
X
Z
G94 Taper facing cycle:
Format:
G94 X_ Z_ R_ F_
Example:
G00 X122.0 Z1.0
G94 X70.0 Z-6.0 R-2.0 F0.2
Canned cycles
1/9/18 15MT322 Computer Integrated Manufacturing 14
100
65
60
G92 Threading cycle:
Format:
G92 X_ Z_ F_
Example:
G00 X60.0 Z2.0
G92 X59.0 Z-65.0 F3.0
X58.4
Canned cycles – Multiple cut - Turning
1/9/18 15MT322 Computer Integrated Manufacturing 15
B
U(d)
U(u)/2
w
R
A
Part contour
Feed traverse
Rapid traverse
G71 U(d)_ R_
G71 P(s)_ Q(e)_ U(u)_ W_ F_
Ns _ _ _ _
_ _ _ _ _ _ _
_ _ _ _ _ _ _
Ne_ _ _ _
U(d) = Depth of cut, radius value
R = Retract amount, radius value
P = Number of the first block of the shape
Q = Number of the last block of the shape
U(u) = Finishing allowance in X, diameter value
W = Finishing allowance in Z
F = Feed rate
Canned cycles – Multiple cut - Turning
1/9/18 15MT322 Computer Integrated Manufacturing 16
13 10
39 15
X
Z
25
R5
R7
0,0
G00 X49.0 Z5.0
G71 U3.0 R0.5
G71 P10 Q20 U1.0 W0.5 F0.2
N10 G00 X15.0 Z4.0
G01 Z-5.0
G02 X25.0 Z-10.0 R5.0
G03 X39.0 Z-17.0 R7.0
G01 Z-20.0
N20 G00 X49.0
G00 Z5.0
Raw material
45
2
Canned cycles – Multiple cut - Facing
1/9/18 15MT322 Computer Integrated Manufacturing 17
W(d)
Part Contour
A
B
W
450
U(u)/2
Feed traverse
Rapid traverse
G72 W(d)_ R_
G72 P(s)_ Q(e)_ U(u)_ W_ F_
Ns _ _ _ _
_ _ _ _ _ _ _
_ _ _ _ _ _ _
Ne_ _ _ _
W(d) = Depth of cut
R = Retract amount, radius value
P = Number of the first block of the shape
Q = Number of the last block of the shape
U(u) = Finishing allowance in X, diameter value
W = Finishing allowance in Z
F = Feed rate
Canned cycles – Multiple cut - Facing
1/9/18 15MT322 Computer Integrated Manufacturing 18
13 10
39 15
X
Z
25
R5
R7
0,0
G00 X49.0 Z-20.0
G72 W3.0 R0.5
G72 P10 Q20 U1.0 W0.5 F0.2
N10 G00 X49.0 Z-20.0
G01 X39.0
Z-17.0
G02 X25.0 Z-10.0 R7.0
G03 X15.0 Z-5.0 R5.0
N20 G01 Z4.0
G00 X49.0
Raw material
45
2
Canned cycles – Multiple cut – Pattern repeat
1/9/18 15MT322 Computer Integrated Manufacturing 19
U(i)/2
Part Contour
Cut 1
Cut 2
U(u)/2
W(k)
W(w)
B
A
Feed traverse
Rapid traverse
G73 U(i)_ W(k)_ R_
G73 Ps_ Qe_ U(u)_ W(w)_ F_
Ns_ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
Ne_ _ _ _ _
U(i) = Relief in the X axes direction
W(k) = Relief in the Z axis direction
R = Number of cuts
P = Number of first block of the shape
Q = Number of the last block of the shape
U(u) = Finishing allowance in X
W(w) = Finishing allowance in Z
F = Feed rate
Canned cycles – Multiple cut – Pattern repeat
1/9/18 15MT322 Computer Integrated Manufacturing 20
13 10
39 15
X
Z
25
R5
R7
0,0
45
3 Uniform
Raw material
G00 X60.0 Z10.0
G73 U5.0 W5.0 R3
G73 P10 Q20 U0.5 W0.5 F0.2
N10 G00 X15.0 Z4.0
G01 Z-5.0
G02 X25.0 Z-10.0 R5.0
G03 X39.0 Z-17.0 R7.0
G01 Z-20.0
N20 G00 X49.0
G00 Z5.0
1/9/18 15MT322 Computer Integrated Manufacturing 21
Canned cycles – Drilling
Q
R
Z
Feed traverse
Rapid traverse
1
2
3
4
G74 R_
G74 Z_ Q_ F_
R = Retract amount at each peck
Z = Z coordinate of hole bottom
Q = Peck depth, in microns
F = Feed rate
30
G00 X0 Z2.0
G74 R0.5
G74 Z-30.0 Q6000 F0.15
G00 X50.0
Canned cycles – Grooving
1/9/18 15MT322 Computer Integrated Manufacturing 22
G75 R_
G75 X_ P_ F_
R = Retract amount after each peck, radial
distance
X = X coordinate of groove bottom
P = Peck depth, radial distance in microns
F = Feed rate
Feed traverse
Rapid traverse
P
R
X
50
10
20
G00 X54.0 Z-20.0
G75 R0.5
G75 X30.0 P3000 F0.1
G00 X100.0 Z50.0
Canned cycles Multiple cut – Threading
1/9/18 15MT322 Computer Integrated Manufacturing 23
X
Z
P(k)
r
i
G76 P(m)(r)(a) Q(d min)_ R(d)_
G76X_ Z_ R(i)_ P(k)_ Q(d)_ F_
m = No.of idle passes after the last cut.
E.g., 02 would mean 2 idle passes
r = Chamfer distance at end of thread, fraction of the lead multiplied by 10.
E.g., 12 would mean a chamfer distance 1.2 times the lead.
a = Angle of tool tip. E.g., 60 would mean a thread angle of 60 degrees.
Q(d min) = Minimum depth of cut, in microns. E.g., 0.1 mm. is written as 100.
R(d) = Finishing Allowance, radial value, in microns. E.g., 0.15 mm. is written as 150.
Canned cycles Multiple cut – Threading
1/9/18 15MT322 Computer Integrated Manufacturing 24
X,Z = coordinates of end point of thread.
R(i) = Taper value. Positive for external threads, negative for internal threads, 0 for
straight threads.
P(k) = Thread depth, radial value, in microns. E.g., 1.2 mm. is written as 1200.
Q(d) = Depth of first cut, radial value, in microns. E.g., 0.4 mm. is written as 400.
F = Lead of thread
G00 X34.0 Z2.0
G76 P020060 Q100 R0
G76 X30.0 Z-39.0 R0 P1200 Q500 F2.0
G00 X100.0 Z50.0
60
45 40
15
2
30
M30x2
thread
Program structure
1/9/18 15MT322 Computer Integrated Manufacturing 25
Start
The first line is the % character.
The second line is the program number, written as Onnnn.
E.g., O2345 means program number 2345.
End
The last but one line is the program end command (M02 or M30).
The last line is the % character.
Block numbers
Block numbers add clarity to the program. They are written as N_
E.g., N0123 G00 G90 X100.0 Y150.0
Block numbers are optional. They can be omitted from all blocks or included in some
blocks only. Quite often block numbers are used only in tool change blocks. The leading
zero is optional. E.g., N0005 and N5 mean the same.
Program structure
1/9/18 15MT322 Computer Integrated Manufacturing 26
Comments
Comments can be inserted to add clarity to the program. They can be operation
names, tool names, instructions to the operator, etc.
G00 X200.0 Z150.0 M05 (RAPID TO TOOL CHANGE POSITION)
T0202 (GROOVING TOOL)
Modal commands
A Modal command is a command that remains active till it is canceled or changed
by another command of the same family.
E.g.,
G01 X50.0 F0.2
G01 Z-5.0 F0.2
G01 X50.0 F0.2
Z-5.0 F0.2
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 27
1x450 chamfer
M30x2 thread
2x2 groove
R5
70
60
60
40
30
15
Tool1 Tool2 Tool3 Tool4
Raw material : 80 dia. Bar, 2 mm. extra
material for facing.
%
O1234
T0000
G0 X150.0 Z200.0
N1 T0101 (PCLNL 2525M12 R0.8)
G50 S3000
G96 S247 M03
(ROUGH FACE)
G0 X90. Z4. M07
X84.
G72 W3. R0.5
G72 P25 Q40 U0. W0.2 F0.3
N25 G0 Z0.
N30 G01 X80. Z0.
N35 X0.
N40 Z2.
G0 X90.
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 28
1x450 chamfer
M30x2 thread
2x2 groove
R5
70
60
60
40
30
15
(ROUGH TURN)
Z2.2
X84.
G71 U3. R0.5
G71 P45 Q95 U0.4 W0.2 F0.3
N45 G00 X26.
N50 G01 X26. Z0.2
N55 Z0.
N60 X30. Z-2.
N65 Z-38.
N70 Z-40.
N75 X60. Z-55.
N80 G03 X70. Z-60. I0. K-5.
N85 G01 Z-115.
N90 X80.
N95 X84. Z-115.
G0 X90.
M09
M05
T0000
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 29
1x450 chamfer
M30x2 thread
2x2 groove
R5
70
60
60
40
30
15
G0 X150.0 Z200.0
N2 T0202 (PCLNL 2525M16 R0.4)
G50 S3000
G96 S296 M03
(FINISH FACE)
G0 X90. Z0. M07
X30.566
G01 G41 X26.566 F0.24
X0.
Z2.2
G0 G40 X90.
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 30
1x450 chamfer
M30x2 thread
2x2 groove
R5
70
60
60
40
30
15
(FINISH TURN)
Z1.883
X25.766
G42 Z2.
G01 X26. F0.24
Z0.
X30. Z-2.
Z-40.
X60. Z-55.
G03 X70. Z-60. I0. K-5.
G01 Z-115.
X74.4
G0 G40 X90.
M09
M05
T0000
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 31
1x450 chamfer
M30x2 thread
2x2 groove
R5
70
60
60
40
30
15
G0 X150.0 Z200.0
N3 T0303 (25X25, 2.00W, 0.20R,
08DEPTH, LH)
G50 S3000
G96 S258 M03
(GROOVE)
G0 X34. Z-40. M07
G01 X26. F0.2
G04 X0.046
G0 X34.
M09
M05
T0000
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 32
1x450 chamfer
M30x2 thread
2x2 groove
R5
70
60
60
40
30
15
G0 X150.0 Z200.0
N4 T0404 (THREAD 16 X 16, 60
DEG., DEPTH 3.0, LH)
G97 S1645 M04
(THREADING)
X90. Z-1. M08
X34.
G76 P020060 Q0 R0
G76 X27.44 Z-39. R0. P1280
Q404 F2.
X90.
M09
M05
T0000
G0 X150.0 Z200.0
M30
%
MILLING
1/9/18 15MT322 Computer Integrated Manufacturing 33
Milling machine axes
1/9/18 15MT322 Computer Integrated Manufacturing 34
X
Y
Z
-
+
+
-
-
+
Vertical Machining Center
Spindle
Spindle
Z
+
-
X
+
-
Y
Horizontal Machining Center
B
+
-
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 35
G00 Rapid Traverse:
Format:
G00 X_ Y_ Z_
Example:
G00 X120.0 Y50.0
G01 Rapid Traverse:
Format:
G01 X_ Y_ Z_ F_
Example:
G01 X-145.5 Y-50.0 F250.0
120
0,0
50
Tool
50
0,0
145.5
P2
P1
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 36
Start Point
End Point
Center
Radius
Y
X
Y
X
End Point
Start Point
Center
-I -K
G02/03 Circular interpolation:
Format:
G02/03 X_ Y_ R_ F_
G02/03 X_ Y_ I_ J_F_
R35
10
140 50
P2
60
0,0
P1
R30
G02 X-120.0 Y60.0 R35.0 F300.0
G03 X-50.0 R35.0
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 37
G41
G41
G42 G42
Cutter Radius Compensation:
G00 / G01 G41 Dnn X_ Y_ : Left
G00 / G01 G42 Dnn X_ Y_ : Right
G00 / G01 G40 X_ Y_ : Cancel
P1
8
10
20
R15
120
Dia 16
end mill
0,0
70
Z0
G01 G42 D23 X0 Y0 F380.0
X0 Y0
X120.0
Y55.0
G03 X105.0 Y70.0 R15.0
G01 X 15.0
G03 X0 Y55.0 R15.0
G01 Y-10.0
G40 X-50.0 Y-15.0
Basics of MPP
1/9/18 15MT322 Computer Integrated Manufacturing 38
200
T4
T3
T2
T1
80
160
100
Z0
G00 / G01 G43 Hnn
G43 is the length compensation
activation command.
H is the tool offset number, under which
the tool's length is stored in the memory.
G43 is initiated or cancelled with a G00
or G01 motion.
Peck drilling cycle
1/9/18 15MT322 Computer Integrated Manufacturing 39
Feed traverse
Rapid traverse
5
1
2
3
4
G73 X_ Y_ Z_ R_ Q_ F_
X, Y = Hole position
Z = Hole depth
R = Initial safe position
Q = Depth of each peck
F = Feed rate
25
0,0
35
20 55
42
Z0
G73 X20.0 Y25.0 Z-42.0 R2.0 Q10.0 F250.0
X75.0
Y60.0
X20.0
G80
Similar cycles
1/9/18 15MT322 Computer Integrated Manufacturing 40
Counter boring Cycle:
G82 X_ Y_ Z_ R_ P_ F_
X, Y = Hole position
Z = Hole depth
R = Initial safe position
P = Dwell time at the bottom of hole
F = Feed rate
Feed traverse
Rapid traverse
1
2 4
Tapping Cycle:
G84/74 X_ Y_ Z_ R_ P_ F_
X, Y = Hole position
Z = Hole depth
R = Initial safe position
P = Dwell time at the bottom of hole
F = Feed rate
Feed traverse
Rapid traverse
7
1
3
Similar cycles
1/9/18 15MT322 Computer Integrated Manufacturing 41
Feed traverse
Rapid traverse
1
2 3
Reaming Cycle:
G85 X_ Y_ Z_ R_ _ F_
X, Y = Hole position
Z = Hole depth
R = Initial safe position
P = Dwell time at the bottom of hole
F = Feed rate
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 42
T1 T2 T3 T4
14
25
35
25
20 55 20
0,0
%
O1234
G21 G94
N1 G0 G90 G53 G49 Z0 H0
T1 M6 (50.00 MM. DIA. ROUND INSERT - FACE MILL)
(FACE MILLING)
S803 M3
G90 G00 G54 X-30. Y22.
G43 H1 Z100. M08
Z8.
G01 Z5. F315
M98 P0020055
G90 G00 Z8.
M5
Z100. M09
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 43
N2 G0 G90 G53 G49 Z0 H0
T2 M6 (10.00 MM. DIA. SPOT DRILL)
(CENTER DRILLING)
G54 X20. Y25. S891 M3
G43 H2 Z100. M08.
G99 G81 Z-2.5 R3. F89
M98 P0056
M5
Z100. M09
T1 T2 T3 T4
14
25
35
25
20 55 20
0,0
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 44
T1 T2 T3 T4
14
25
35
25
20 55 20
0,0
N3 G0 G90 G53 G49 Z0 H0
T3 M6 (6.70 MM. DIA. TWIST DRILL)
(DRILL HOLE FOR TAP)
G54 X20. Y25. S1330 M3
G43 H3 Z100. M08
G99 G81 Z-18.013 R3. F172
M98 P0056
M5
Z100. M09
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 45
T1 T2 T3 T4
14
25
35
25
20 55 20
0,0
N4 G0 G90 G53 G49 Z0 H0
T4 M6 (M8.00 X 1.25 TAP)
(TAPPING)
G54 X20. Y25. S596 M3
G43 H4 Z100. M08
G99 G84 Z-14. R3. F745.
M98 P0056
M5
Z100. M09
X100. Y100.
M30
Complete sample program
1/9/18 15MT322 Computer Integrated Manufacturing 46
T1 T2 T3 T4
14
25
35
25
20 55 20
0,0
O55 (SUB PROGRAM – FACE MILLING)
G01 G91 Z-2.5 F360.0
G90 X125.
Y63.
X-30.
Y22.
M99
O56 (SUB PROGRAM - HOLES)
X75.
Y60.
X20.
G80
M99
%
1/9/18 15MT322 Computer Integrated Manufacturing 47
END

More Related Content

Similar to 05. CNC MPP_Detailed.pdf

14 tool offset_and_measuring
14 tool offset_and_measuring14 tool offset_and_measuring
14 tool offset_and_measuringFabricio Rios
 
LATHE - TRAINING.pptx
LATHE - TRAINING.pptxLATHE - TRAINING.pptx
LATHE - TRAINING.pptxssuser2b6e89
 
Canned cycle
Canned cycleCanned cycle
Canned cycleaman1312
 
Fanuc ot g code training manual
Fanuc ot g code training manualFanuc ot g code training manual
Fanuc ot g code training manualHien Dinh
 
Mitsubishi graphic operation terminal got2000 series gt2103 new product release
Mitsubishi graphic operation terminal got2000 series gt2103 new product releaseMitsubishi graphic operation terminal got2000 series gt2103 new product release
Mitsubishi graphic operation terminal got2000 series gt2103 new product releaseDien Ha The
 
Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...
Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...
Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...Dien Ha The
 
IRJET- Design and Analysis of Gearbox of an All-Terrain Vehicle
IRJET- Design and Analysis of Gearbox of an All-Terrain VehicleIRJET- Design and Analysis of Gearbox of an All-Terrain Vehicle
IRJET- Design and Analysis of Gearbox of an All-Terrain VehicleIRJET Journal
 
Generating lisp program for assembly drawing in AutoCAD
Generating lisp program for assembly drawing in AutoCAD Generating lisp program for assembly drawing in AutoCAD
Generating lisp program for assembly drawing in AutoCAD ISAAC SAMUEL RAJA T
 
Computer integrated Manufacture & design Lab Manual
Computer integrated Manufacture & design Lab  ManualComputer integrated Manufacture & design Lab  Manual
Computer integrated Manufacture & design Lab ManualSpikeAerotek
 
Lc серия Бонфиглиоли
Lc серия БонфиглиолиLc серия Бонфиглиоли
Lc серия БонфиглиолиArve
 
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptxCAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptxsahils237192101
 
Faulhaber 2342l012cr Datasheet
Faulhaber 2342l012cr DatasheetFaulhaber 2342l012cr Datasheet
Faulhaber 2342l012cr DatasheetHugito Connor
 

Similar to 05. CNC MPP_Detailed.pdf (20)

14 tool offset_and_measuring
14 tool offset_and_measuring14 tool offset_and_measuring
14 tool offset_and_measuring
 
5 g-code
5   g-code5   g-code
5 g-code
 
LATHE - TRAINING.pptx
LATHE - TRAINING.pptxLATHE - TRAINING.pptx
LATHE - TRAINING.pptx
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
 
CNC Programming
CNC Programming CNC Programming
CNC Programming
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
 
Fanuc ot g code training manual
Fanuc ot g code training manualFanuc ot g code training manual
Fanuc ot g code training manual
 
15 me404l manual - ex 1 to 4
15 me404l   manual - ex 1 to 415 me404l   manual - ex 1 to 4
15 me404l manual - ex 1 to 4
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
CNC_MILLING.ppt
CNC_MILLING.pptCNC_MILLING.ppt
CNC_MILLING.ppt
 
Cnc milling
Cnc millingCnc milling
Cnc milling
 
Mitsubishi graphic operation terminal got2000 series gt2103 new product release
Mitsubishi graphic operation terminal got2000 series gt2103 new product releaseMitsubishi graphic operation terminal got2000 series gt2103 new product release
Mitsubishi graphic operation terminal got2000 series gt2103 new product release
 
Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...
Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...
Mitsubishi graphic operation terminal got2000 series gt2103 new product relea...
 
IRJET- Design and Analysis of Gearbox of an All-Terrain Vehicle
IRJET- Design and Analysis of Gearbox of an All-Terrain VehicleIRJET- Design and Analysis of Gearbox of an All-Terrain Vehicle
IRJET- Design and Analysis of Gearbox of an All-Terrain Vehicle
 
Generating lisp program for assembly drawing in AutoCAD
Generating lisp program for assembly drawing in AutoCAD Generating lisp program for assembly drawing in AutoCAD
Generating lisp program for assembly drawing in AutoCAD
 
Computer integrated Manufacture & design Lab Manual
Computer integrated Manufacture & design Lab  ManualComputer integrated Manufacture & design Lab  Manual
Computer integrated Manufacture & design Lab Manual
 
Lc серия Бонфиглиоли
Lc серия БонфиглиолиLc серия Бонфиглиоли
Lc серия Бонфиглиоли
 
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptxCAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
 
Faulhaber 2342l012cr Datasheet
Faulhaber 2342l012cr DatasheetFaulhaber 2342l012cr Datasheet
Faulhaber 2342l012cr Datasheet
 

Recently uploaded

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 

Recently uploaded (20)

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 

05. CNC MPP_Detailed.pdf

  • 1. SRI KRISHNA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MECHATRONICS ENGINEERING MODULE 1 Session: CNC Manual Part Programming 1/9/18 15MT322 Computer Integrated Manufacturing 1
  • 2. SESSION OBJECTIVES 1/9/18 15MT322 Computer Integrated Manufacturing 2  On the completion of this session, the students might be able to understand, ▪ CNC programming methods – turning and milling ▪ Manual part programming
  • 3. Topics  CNC Turning  CNC Milling 1/9/18 15MT322 Computer Integrated Manufacturing 3
  • 4. TURNING 1/9/18 15MT322 Computer Integrated Manufacturing 4
  • 5. CNC Turning Axes 1/9/18 15MT322 Computer Integrated Manufacturing 5 20 5 15 40 P1 P2 P4 P3 10 X Z 0,0 Tool post Spindle CNC Bed X+ X- Z+ Z-
  • 6. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 6 20 5 15 40 P1 P2 P4 P3 10 X Z 0,0 P1 P2 P3 Absolute: X20.0 Z-10.0 X40.0 Z-15.0 Incremental: U0.0 W-10.0 U20.0 W-5.0 20 5 15 40 P1 P2 P4 P3 10 X Z 0,0 G00 Rapid Traverse: Format: G00 X_ Z_ Example: G00 X20.0 Z0.0
  • 7. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 7 20 5 15 40 P1 P2 P4 P3 10 X Z 0,0 G01 Linear interpolation: Format: G00 X_ Z_ F_ Example: G01 X20.0 Z-10.0 F0.2 X40.0 Z-15.0 No need to repeat command as it is a “modal command”
  • 8. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 8 Start Point End Point Center Radius X Z X Z End Point Start Point Center -I -K G02/03 Circular interpolation: Format: G02/03 X_ Z_ R_ F_ G02/03 X_ Z_ I_ K_F_ Example: Radius: G02 X25.0 Z-10.0 R5.0 F0.2 G03 X39.0 Z-17.0 R7.0 Center: G02 X25.0 Z-10.0 I5.0 K0.0 F0.15 G03 X39.0 I0.0 K-7.0 13 10 39 15 X Z 25 R5 R7 0,0
  • 9. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 9 G32 Thread cutting: Helical interpolation – linear + rotation Format: G32 X_ Z_ F_ Example: 2mm pitch, 0.6mm depth G00 X19.6 Z2.0 G32 Z-8.0 F2.0 G00 X22.0 Z2.0 G00 X19.2 Z2.0 G32 Z-8.0 F2.0 G00 X22.0 Z2.0 G00 X18.8 Z2.0 G32 Z-8.0 F2.0 G00 X22.0 Z2.0 20 5 15 40 P1 P2 P4 P3 10 X Z 0,0
  • 10. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 10 G04 - Dwell Format: G04 X_ Example: Dwell of 1s G04 X1.0 Feed rate: Format: F_ Example: F 0.25 F is specified in mm/rev Spindle rotation : Format: M03 – CW , M04 – CCW, M05 -Stop Spindle Speed: Constant surface speed: G96 S225 M03 G50 S3000 S225 – Surface speed of 225m/min S3000 – Spindle speed of 3000rpm Constant spindle speed: G97 S1350 M04 Spindle speed of 1350rpm in CCW direction Tool change: Format: T_ _ _ _ Example: T0303 Tool number 3 with offset 3
  • 11. Tool nose radius compensation 1/9/18 15MT322 Computer Integrated Manufacturing 11 Theoretical Tool Tip(TTT) G41 Tool nose radius compensation Left G42 Tool nose radius compensation Right G40 Tool nose radius compensation Cancel TNRC Path Required path = Actual part shape P1 P2 P3 P4 20 5 15 40 P1 P2 P4 P3 10 X Z 0,0 G00 G42 X20.0 Z2.0 G01 Z0.0 Z-10.0 X40.0 Z-15.0 Z-30.0 G00 G40 X60.0
  • 12. Canned cycles 1/9/18 15MT322 Computer Integrated Manufacturing 12 70 80 50 X Z 0,0 100 G90 Straight turning cycle: Format: G90 X_ Z_ F_ Example: G00 X82.0 Z2.0 (Rapid to initial position) G90 X75.0 Z-50.0 F0.2 (Cut to diameter 75) X70.0 (Cut to diameter 70) G00 Z2 0,0 80 100 50 65 70 X Z G90 Taper turning cycle: Format: G90 X_ Z_ R_ F_ Example: G00 X67.0 Z1.0 G90 X65.0 Z-50.0 R-2.5 F0.2
  • 13. Canned cycles 1/9/18 15MT322 Computer Integrated Manufacturing 13 120 X Z 70 6 0,0 G94 Facing cycle: Format: G94 X_ Z_ F_ Example: G00 X122.0 Z1.0 (RAPID TO INITIAL POSITION) G94 X70.0 Z-3.0 F0.25 (FACE TO Z-3) Z-6.0 (FACE TO Z-6) 120 0,0 70 6 8 X Z G94 Taper facing cycle: Format: G94 X_ Z_ R_ F_ Example: G00 X122.0 Z1.0 G94 X70.0 Z-6.0 R-2.0 F0.2
  • 14. Canned cycles 1/9/18 15MT322 Computer Integrated Manufacturing 14 100 65 60 G92 Threading cycle: Format: G92 X_ Z_ F_ Example: G00 X60.0 Z2.0 G92 X59.0 Z-65.0 F3.0 X58.4
  • 15. Canned cycles – Multiple cut - Turning 1/9/18 15MT322 Computer Integrated Manufacturing 15 B U(d) U(u)/2 w R A Part contour Feed traverse Rapid traverse G71 U(d)_ R_ G71 P(s)_ Q(e)_ U(u)_ W_ F_ Ns _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Ne_ _ _ _ U(d) = Depth of cut, radius value R = Retract amount, radius value P = Number of the first block of the shape Q = Number of the last block of the shape U(u) = Finishing allowance in X, diameter value W = Finishing allowance in Z F = Feed rate
  • 16. Canned cycles – Multiple cut - Turning 1/9/18 15MT322 Computer Integrated Manufacturing 16 13 10 39 15 X Z 25 R5 R7 0,0 G00 X49.0 Z5.0 G71 U3.0 R0.5 G71 P10 Q20 U1.0 W0.5 F0.2 N10 G00 X15.0 Z4.0 G01 Z-5.0 G02 X25.0 Z-10.0 R5.0 G03 X39.0 Z-17.0 R7.0 G01 Z-20.0 N20 G00 X49.0 G00 Z5.0 Raw material 45 2
  • 17. Canned cycles – Multiple cut - Facing 1/9/18 15MT322 Computer Integrated Manufacturing 17 W(d) Part Contour A B W 450 U(u)/2 Feed traverse Rapid traverse G72 W(d)_ R_ G72 P(s)_ Q(e)_ U(u)_ W_ F_ Ns _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Ne_ _ _ _ W(d) = Depth of cut R = Retract amount, radius value P = Number of the first block of the shape Q = Number of the last block of the shape U(u) = Finishing allowance in X, diameter value W = Finishing allowance in Z F = Feed rate
  • 18. Canned cycles – Multiple cut - Facing 1/9/18 15MT322 Computer Integrated Manufacturing 18 13 10 39 15 X Z 25 R5 R7 0,0 G00 X49.0 Z-20.0 G72 W3.0 R0.5 G72 P10 Q20 U1.0 W0.5 F0.2 N10 G00 X49.0 Z-20.0 G01 X39.0 Z-17.0 G02 X25.0 Z-10.0 R7.0 G03 X15.0 Z-5.0 R5.0 N20 G01 Z4.0 G00 X49.0 Raw material 45 2
  • 19. Canned cycles – Multiple cut – Pattern repeat 1/9/18 15MT322 Computer Integrated Manufacturing 19 U(i)/2 Part Contour Cut 1 Cut 2 U(u)/2 W(k) W(w) B A Feed traverse Rapid traverse G73 U(i)_ W(k)_ R_ G73 Ps_ Qe_ U(u)_ W(w)_ F_ Ns_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Ne_ _ _ _ _ U(i) = Relief in the X axes direction W(k) = Relief in the Z axis direction R = Number of cuts P = Number of first block of the shape Q = Number of the last block of the shape U(u) = Finishing allowance in X W(w) = Finishing allowance in Z F = Feed rate
  • 20. Canned cycles – Multiple cut – Pattern repeat 1/9/18 15MT322 Computer Integrated Manufacturing 20 13 10 39 15 X Z 25 R5 R7 0,0 45 3 Uniform Raw material G00 X60.0 Z10.0 G73 U5.0 W5.0 R3 G73 P10 Q20 U0.5 W0.5 F0.2 N10 G00 X15.0 Z4.0 G01 Z-5.0 G02 X25.0 Z-10.0 R5.0 G03 X39.0 Z-17.0 R7.0 G01 Z-20.0 N20 G00 X49.0 G00 Z5.0
  • 21. 1/9/18 15MT322 Computer Integrated Manufacturing 21 Canned cycles – Drilling Q R Z Feed traverse Rapid traverse 1 2 3 4 G74 R_ G74 Z_ Q_ F_ R = Retract amount at each peck Z = Z coordinate of hole bottom Q = Peck depth, in microns F = Feed rate 30 G00 X0 Z2.0 G74 R0.5 G74 Z-30.0 Q6000 F0.15 G00 X50.0
  • 22. Canned cycles – Grooving 1/9/18 15MT322 Computer Integrated Manufacturing 22 G75 R_ G75 X_ P_ F_ R = Retract amount after each peck, radial distance X = X coordinate of groove bottom P = Peck depth, radial distance in microns F = Feed rate Feed traverse Rapid traverse P R X 50 10 20 G00 X54.0 Z-20.0 G75 R0.5 G75 X30.0 P3000 F0.1 G00 X100.0 Z50.0
  • 23. Canned cycles Multiple cut – Threading 1/9/18 15MT322 Computer Integrated Manufacturing 23 X Z P(k) r i G76 P(m)(r)(a) Q(d min)_ R(d)_ G76X_ Z_ R(i)_ P(k)_ Q(d)_ F_ m = No.of idle passes after the last cut. E.g., 02 would mean 2 idle passes r = Chamfer distance at end of thread, fraction of the lead multiplied by 10. E.g., 12 would mean a chamfer distance 1.2 times the lead. a = Angle of tool tip. E.g., 60 would mean a thread angle of 60 degrees. Q(d min) = Minimum depth of cut, in microns. E.g., 0.1 mm. is written as 100. R(d) = Finishing Allowance, radial value, in microns. E.g., 0.15 mm. is written as 150.
  • 24. Canned cycles Multiple cut – Threading 1/9/18 15MT322 Computer Integrated Manufacturing 24 X,Z = coordinates of end point of thread. R(i) = Taper value. Positive for external threads, negative for internal threads, 0 for straight threads. P(k) = Thread depth, radial value, in microns. E.g., 1.2 mm. is written as 1200. Q(d) = Depth of first cut, radial value, in microns. E.g., 0.4 mm. is written as 400. F = Lead of thread G00 X34.0 Z2.0 G76 P020060 Q100 R0 G76 X30.0 Z-39.0 R0 P1200 Q500 F2.0 G00 X100.0 Z50.0 60 45 40 15 2 30 M30x2 thread
  • 25. Program structure 1/9/18 15MT322 Computer Integrated Manufacturing 25 Start The first line is the % character. The second line is the program number, written as Onnnn. E.g., O2345 means program number 2345. End The last but one line is the program end command (M02 or M30). The last line is the % character. Block numbers Block numbers add clarity to the program. They are written as N_ E.g., N0123 G00 G90 X100.0 Y150.0 Block numbers are optional. They can be omitted from all blocks or included in some blocks only. Quite often block numbers are used only in tool change blocks. The leading zero is optional. E.g., N0005 and N5 mean the same.
  • 26. Program structure 1/9/18 15MT322 Computer Integrated Manufacturing 26 Comments Comments can be inserted to add clarity to the program. They can be operation names, tool names, instructions to the operator, etc. G00 X200.0 Z150.0 M05 (RAPID TO TOOL CHANGE POSITION) T0202 (GROOVING TOOL) Modal commands A Modal command is a command that remains active till it is canceled or changed by another command of the same family. E.g., G01 X50.0 F0.2 G01 Z-5.0 F0.2 G01 X50.0 F0.2 Z-5.0 F0.2
  • 27. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 27 1x450 chamfer M30x2 thread 2x2 groove R5 70 60 60 40 30 15 Tool1 Tool2 Tool3 Tool4 Raw material : 80 dia. Bar, 2 mm. extra material for facing. % O1234 T0000 G0 X150.0 Z200.0 N1 T0101 (PCLNL 2525M12 R0.8) G50 S3000 G96 S247 M03 (ROUGH FACE) G0 X90. Z4. M07 X84. G72 W3. R0.5 G72 P25 Q40 U0. W0.2 F0.3 N25 G0 Z0. N30 G01 X80. Z0. N35 X0. N40 Z2. G0 X90.
  • 28. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 28 1x450 chamfer M30x2 thread 2x2 groove R5 70 60 60 40 30 15 (ROUGH TURN) Z2.2 X84. G71 U3. R0.5 G71 P45 Q95 U0.4 W0.2 F0.3 N45 G00 X26. N50 G01 X26. Z0.2 N55 Z0. N60 X30. Z-2. N65 Z-38. N70 Z-40. N75 X60. Z-55. N80 G03 X70. Z-60. I0. K-5. N85 G01 Z-115. N90 X80. N95 X84. Z-115. G0 X90. M09 M05 T0000
  • 29. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 29 1x450 chamfer M30x2 thread 2x2 groove R5 70 60 60 40 30 15 G0 X150.0 Z200.0 N2 T0202 (PCLNL 2525M16 R0.4) G50 S3000 G96 S296 M03 (FINISH FACE) G0 X90. Z0. M07 X30.566 G01 G41 X26.566 F0.24 X0. Z2.2 G0 G40 X90.
  • 30. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 30 1x450 chamfer M30x2 thread 2x2 groove R5 70 60 60 40 30 15 (FINISH TURN) Z1.883 X25.766 G42 Z2. G01 X26. F0.24 Z0. X30. Z-2. Z-40. X60. Z-55. G03 X70. Z-60. I0. K-5. G01 Z-115. X74.4 G0 G40 X90. M09 M05 T0000
  • 31. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 31 1x450 chamfer M30x2 thread 2x2 groove R5 70 60 60 40 30 15 G0 X150.0 Z200.0 N3 T0303 (25X25, 2.00W, 0.20R, 08DEPTH, LH) G50 S3000 G96 S258 M03 (GROOVE) G0 X34. Z-40. M07 G01 X26. F0.2 G04 X0.046 G0 X34. M09 M05 T0000
  • 32. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 32 1x450 chamfer M30x2 thread 2x2 groove R5 70 60 60 40 30 15 G0 X150.0 Z200.0 N4 T0404 (THREAD 16 X 16, 60 DEG., DEPTH 3.0, LH) G97 S1645 M04 (THREADING) X90. Z-1. M08 X34. G76 P020060 Q0 R0 G76 X27.44 Z-39. R0. P1280 Q404 F2. X90. M09 M05 T0000 G0 X150.0 Z200.0 M30 %
  • 33. MILLING 1/9/18 15MT322 Computer Integrated Manufacturing 33
  • 34. Milling machine axes 1/9/18 15MT322 Computer Integrated Manufacturing 34 X Y Z - + + - - + Vertical Machining Center Spindle Spindle Z + - X + - Y Horizontal Machining Center B + -
  • 35. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 35 G00 Rapid Traverse: Format: G00 X_ Y_ Z_ Example: G00 X120.0 Y50.0 G01 Rapid Traverse: Format: G01 X_ Y_ Z_ F_ Example: G01 X-145.5 Y-50.0 F250.0 120 0,0 50 Tool 50 0,0 145.5 P2 P1
  • 36. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 36 Start Point End Point Center Radius Y X Y X End Point Start Point Center -I -K G02/03 Circular interpolation: Format: G02/03 X_ Y_ R_ F_ G02/03 X_ Y_ I_ J_F_ R35 10 140 50 P2 60 0,0 P1 R30 G02 X-120.0 Y60.0 R35.0 F300.0 G03 X-50.0 R35.0
  • 37. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 37 G41 G41 G42 G42 Cutter Radius Compensation: G00 / G01 G41 Dnn X_ Y_ : Left G00 / G01 G42 Dnn X_ Y_ : Right G00 / G01 G40 X_ Y_ : Cancel P1 8 10 20 R15 120 Dia 16 end mill 0,0 70 Z0 G01 G42 D23 X0 Y0 F380.0 X0 Y0 X120.0 Y55.0 G03 X105.0 Y70.0 R15.0 G01 X 15.0 G03 X0 Y55.0 R15.0 G01 Y-10.0 G40 X-50.0 Y-15.0
  • 38. Basics of MPP 1/9/18 15MT322 Computer Integrated Manufacturing 38 200 T4 T3 T2 T1 80 160 100 Z0 G00 / G01 G43 Hnn G43 is the length compensation activation command. H is the tool offset number, under which the tool's length is stored in the memory. G43 is initiated or cancelled with a G00 or G01 motion.
  • 39. Peck drilling cycle 1/9/18 15MT322 Computer Integrated Manufacturing 39 Feed traverse Rapid traverse 5 1 2 3 4 G73 X_ Y_ Z_ R_ Q_ F_ X, Y = Hole position Z = Hole depth R = Initial safe position Q = Depth of each peck F = Feed rate 25 0,0 35 20 55 42 Z0 G73 X20.0 Y25.0 Z-42.0 R2.0 Q10.0 F250.0 X75.0 Y60.0 X20.0 G80
  • 40. Similar cycles 1/9/18 15MT322 Computer Integrated Manufacturing 40 Counter boring Cycle: G82 X_ Y_ Z_ R_ P_ F_ X, Y = Hole position Z = Hole depth R = Initial safe position P = Dwell time at the bottom of hole F = Feed rate Feed traverse Rapid traverse 1 2 4 Tapping Cycle: G84/74 X_ Y_ Z_ R_ P_ F_ X, Y = Hole position Z = Hole depth R = Initial safe position P = Dwell time at the bottom of hole F = Feed rate Feed traverse Rapid traverse 7 1 3
  • 41. Similar cycles 1/9/18 15MT322 Computer Integrated Manufacturing 41 Feed traverse Rapid traverse 1 2 3 Reaming Cycle: G85 X_ Y_ Z_ R_ _ F_ X, Y = Hole position Z = Hole depth R = Initial safe position P = Dwell time at the bottom of hole F = Feed rate
  • 42. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 42 T1 T2 T3 T4 14 25 35 25 20 55 20 0,0 % O1234 G21 G94 N1 G0 G90 G53 G49 Z0 H0 T1 M6 (50.00 MM. DIA. ROUND INSERT - FACE MILL) (FACE MILLING) S803 M3 G90 G00 G54 X-30. Y22. G43 H1 Z100. M08 Z8. G01 Z5. F315 M98 P0020055 G90 G00 Z8. M5 Z100. M09
  • 43. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 43 N2 G0 G90 G53 G49 Z0 H0 T2 M6 (10.00 MM. DIA. SPOT DRILL) (CENTER DRILLING) G54 X20. Y25. S891 M3 G43 H2 Z100. M08. G99 G81 Z-2.5 R3. F89 M98 P0056 M5 Z100. M09 T1 T2 T3 T4 14 25 35 25 20 55 20 0,0
  • 44. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 44 T1 T2 T3 T4 14 25 35 25 20 55 20 0,0 N3 G0 G90 G53 G49 Z0 H0 T3 M6 (6.70 MM. DIA. TWIST DRILL) (DRILL HOLE FOR TAP) G54 X20. Y25. S1330 M3 G43 H3 Z100. M08 G99 G81 Z-18.013 R3. F172 M98 P0056 M5 Z100. M09
  • 45. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 45 T1 T2 T3 T4 14 25 35 25 20 55 20 0,0 N4 G0 G90 G53 G49 Z0 H0 T4 M6 (M8.00 X 1.25 TAP) (TAPPING) G54 X20. Y25. S596 M3 G43 H4 Z100. M08 G99 G84 Z-14. R3. F745. M98 P0056 M5 Z100. M09 X100. Y100. M30
  • 46. Complete sample program 1/9/18 15MT322 Computer Integrated Manufacturing 46 T1 T2 T3 T4 14 25 35 25 20 55 20 0,0 O55 (SUB PROGRAM – FACE MILLING) G01 G91 Z-2.5 F360.0 G90 X125. Y63. X-30. Y22. M99 O56 (SUB PROGRAM - HOLES) X75. Y60. X20. G80 M99 %
  • 47. 1/9/18 15MT322 Computer Integrated Manufacturing 47 END