CNC Programming and Operation
CNC Programming and Operation
Mr..K.Dhanashekar
B.Sc.,DME,PGDPM,
CAD/CAM/CNC (DTI
Denmark.)
Position:
Training Officer
GTTC, Mysore
Introduction to CNC Programming Phase I
Turning
•Ways of turning
•Parts of CNC Machine and Working Method of of CNC
•Co Ordinate System and CNC Co Ordinate System
•Dimensioning System ,Datum Points and Reference Point
•Machine Instruction and Tool Instruction
•Datum point Shift.
CNC Definition
•What is CNC ?
•History
•Present
C : Computer
C : Computer CNC
N: Numerical NC
N: Numerical (Alfa Numerical)
C: Conventional
10,10,10 X10 Y10 Z10
C: Control
A-Angle
F- Feed
B-CHAMFER/RADIUS
G- Preparatory Fun
C-Rotary Table
D- Tool CompensationH- Polar Angle
E-? L- Subroutine
Alphabetical Explanation
M-Machine Function
N- Block Number T-Tool Number
O-Prog.header
P-Parameter (Start)
Q-Parameter (End)
R-Radius
S-Spindle Speed
Axis of the CNC Machine
X Y Z Basic Axis
I J K I Incremental of X
J Incremental of Y
U V W K Incremental of Z
U Incremental of X
V Incremental of Y
W Incremental of Z
CNC Lathe Machine
CNC Lathe Machine
Basic Axis In Turning Machine
+/- 0.000000001
CNC Programming Software
Fanuc Control
Sample Programme Turning M/C
Sample Programme Turning M/C
Sample Programming
Fanuc Control
[BILLET X40 Z100 Raw Material
G21 G40 G98
G28 U0 W0 Ref.Position
M06 T0101 S1600 ATC Rough tool
G00 X42 Z4 M08 Safety Approach
G01 Z2 F100 M03
G71 U1 R1 Stock Removal
G71 P1 Q2 U.4 W.1
STEP TURNING EX-1
Sample Programming
Fanuc Control
PART PROGRAM Finish Tool
N1 G01 X20 F200 G28 U0 W0
Z0 M06 T0202 S1600
Z-20 G00 X45 Z2 M13
X40
G70 P1 Q2 Finishing Cycle
Z-100
N2 G00 X45 G28 U0 W0
M30
Drilling Operation Turning
Facing Operation Turning
Grooving Operation Turning
Rough Operation Turning
Internal Operation Turning
Internal Operation Turning
Part Programming
Outside Turning
Threading Operation Turning
General Turning Operations
Turning Tools
Turning Inserts
CNC MILLING
CNC MILLING
General Milling M/c Have
Basically 3-axis.
X-Axis X Direction
3D
Y-Axis Y Direction
Prog
Z- Axis Z Direction
C- 4th Axis Rotary Table
A- 5th Axis Angular Bed
CNC MILLING - ISO FORMAT
PROGRAMMING
ISO Codes
CNC MILLING - ISO FORMAT
PROGRAMMING
Standard Milling Cycle
CNC MILL Programming
Software
Machine Bed Blank Form
Z
Y-Axis
CNC Editor
Programming
X-Axis
Instructions are entered
T-Slots
in this editor
CNC MILL: Sample
Programming
P01 - Set up
clearance -ve
P02 - Depth -ve
P03 - Pecking -ve
P04 - Dwell Time
P05 - Cutting Feed
rate
G75 P01 -2 P02 -10 P03 -2 P04 25 P05 X20 P06 Y20 P07 500
G79 (Cycle Call)
Circular Pocketing G77/G78
• Programming Instruction :
• Main programming
• Part programming
Main Programming
[BILLET X25 Z45 Raw mt size, X , Z .
G21 G40 G98 Metric, tool compensation off, f/min
G28 U0 W0 Home position or m/c reference
M06 T0101 Turret change, Tool no.
S1200 M08 Spindle speed, coolant on.
G00 X27 Z2 M03 Safety Approach
G71 U1 R1 Multiple turning , depth , retract.
G71 P1 Q2 U0.3 W0.1 F100 Finishing Allowance
Part Programming
N1 G01 X10
Z-15 Part program
X25
Z-30
N2 G00 X27 Safety Approach
G28 U0 W0 Home Position
M06 T0202 Turret change, Tool no
S1600 M08 Spindle change, Coolant on
G00 X27 Z0 M03 Safety Approach
G70 P1 Q2 Finishing cycle
G28 U0 W0 Home position
M30 End program
Prepared By:
K.Dhanashekar
No 47 Shalivahana Road,
Nazarbad, Mysore-570010
Ph: 0821-2449223
Cell: 94490 59223
Position:
Training Officer
GTTC, Mysore