CNC
LECTURE-2
[email protected]
ABOUT THE TUTOR
•B.Sc in mechanical engineering, design and production engineering
department, faculty of engineering, Ain Shams University (year 2007).
•M.sc in the CAD/CAM/CNC field /design and production engineering
department, Faculty of Engineering, Ain Shams University (Oct2007-
Oct2010).
•PhD in the virtual simulation field/design and production
engineering department, Faculty of Engineering, Ain Shams University
(May2011-May2015).
•Course instructor for many courses at various course centers and
academic institutions.
•Currently, Assistant Professor in ASU.
•Email:
[email protected].
2 Dr.Amr Shaaban-Introductory session 9/27/2017
2 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
M/C FORMAT
N4 G2 X±3.3 Y±3.3 Z±3.3 I±3.3 J±3.3 K±3.3 S4 F4 T2 M2
Positioning
Circular
interpolation
Rotating
speed
Feed
T code
G code
N code M code
N0001 to N9999
3 Dr.Amr Shaaban-Introductory session 9/27/2017
3 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
PART PROGRAMMING
MOTION FUNCTIONS
G00 G01 G02 G03
G-code Linear motion Circular motion
Max Feed on Specified feed
Machine value C.W C.C.W
“Rapid motion” “cutting motion”
4 Dr.Amr Shaaban-Introductory session 9/27/2017
4 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
PART PROGRAMMING
G00 G01 G02 G03
Linear motion Circular motion
G00 X50 Y100 G03 X-100 Y-50 I-50 J-20 (I&J from m/c zero)
Z-199 G03 X-100 Y-50 I-20J-50 (I&J from start point)
G01 Z-210 G03 X-100 Y-50 R10 (by radius)
5 Dr.Amr Shaaban-Introductory session 9/27/2017
5 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
PART PROGRAMMING
6 Dr.Amr Shaaban-Introductory session 9/27/2017
6 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
OTHER G-Codes
Units identification Working Planes
G20 Inch system
G21 Metric system mm
G94 Feed rate mm/min
G95 Feed mm/rev
G96 Cutting velocity m/min
G97 Rotating speed rpm
Canned cycles
G81 Drilling-Counter boring
G74 Tapping cycle LH
G84 Tapping cycle RH
G83 Deep hole drilling
G82 Counter sinking
G80 End cycle
7 Dr.Amr Shaaban-Introductory session 9/27/2017
7 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
M/C FORMAT
Miscellaneous Functions [M-Code]
M-Code
M00 Program Stop
M01 Optional Program Stop
M02 Program End [old]
M03 Spindle On Clockwise
M04 Spindle On Counterclockwise
M05 Spindle Stop
M06 Tool Change
M07 Light Coolant On
M08 Heavy Coolant On
M09 Coolant Off
M21 M/c door closed for safety
M30 Program End
8 Dr.Amr Shaaban-Introductory session 9/27/2017
8 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
OPERATION SEQUENCE
9 Dr.Amr Shaaban-Introductory session 9/27/2017
9 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
OPERATION SEQUENCE
1 FACING
2 Turning from ϕ43 to ϕ 36
10 Dr.Amr Shaaban-Introductory session 9/27/2017
10 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
OPERATION SEQUENCE
3 Turning from ϕ36 to ϕ 17
4 Turning arc R3.5
11 Dr.Amr Shaaban-Introductory session 9/27/2017
11 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
OPERATION SEQUENCE
5 CHAMFERING
6 GROVING to ϕ10
7 PARTING OFF
12 Dr.Amr Shaaban-Introductory session 9/27/2017
12 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
WORKSHOP oriented
programming
OR
ONLINE programming
OR
SHOP FLOOR programming
CAD/CAM
OR
OFF LINE programming
ISO Format
CNC MACHINE (G-code) Postprocessing
13 Dr.Amr Shaaban-Introductory session 9/27/2017
13 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
CNC CONTROLLERS
Easy CNC
ISO SIEMENS
FORMAT Format
• CYCLE93 Recess
• CYCLE94 Undercut (form E and F according to DIN)
• CYCLE95 Stock removal with relief cuts
• CYCLE96 Thread undercut (forms A, B, C, and D according to DIN)
• CYCLE97 Thread cutting
• CYCLE98 Chaining of threads
14 Dr.Amr Shaaban-Introductory session 9/27/2017
14 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
CNC CONTROLLERS
15 Dr.Amr Shaaban-Introductory session 9/27/2017
15 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017
Design Online Academy
CNC-MDP471-Fall2017
Design Online Group
79TZ-7K53
[email protected]
16 Dr.Amr Shaaban-Numerical Control Machines 9/27/2017