CNC TRG
CNC TRG
CNC TRG
to
CNC Training Program
27.05.2016
By:- Chetan Nagora
Evolution of Lathe
Conventional Machine
Tools
Information
Man
Part
Machine
Introduction to CNC
NC Numerical Controls
NC Numerical Controls
1. Tape operated
2. Changing of speed,feed,&job is not easy
3. Job is to be set in every tape
CNC Machine
Why CNC ?
Only 15-20% is Mass Production.
Remaining 80% is either batch production or job
production.
Requirement for variety of production according to
the customer demand.
Frequent setting changes and enormous amount of
time in setting.
Difficulty in producing the complex components by
conventional machines.
Requirement for Highly skilled and trained man
power for conventional machines.
Poor consistency in quality at different times.
Need for low cost of production.
HISTORY
CNC CONCEPT
-MR.JOHN PARSONS
(FATHER OF CNC) 1947
FIRST PRODUCTION
M/C-1952
CINCINNATI
CONTROLLER -GE
CNC MACHINE
MANUFACTURERS
CINCINNATI
SCHUBLER
HARDINGE
HAAS
MAZAK
MOREI SEIKI
TOYODA
MAKINO
TRAUB
BOHERINGER
HWACHEON
DAEWOO
FEMCO
LEAD WELL
MILLTRONICS
BRIDGE PORT
DECKEL MAHO
HART FORD
FANUC
FORTUNE
BROTHER
DALLY
HYUNDAI
MITSUBISHI etc.
ACE DESIGNERS
BFW
PSG
LMW
GE DEE WEILER
HMT
ASKAR MICRONS
TATA
LOKESH MACHINES
HARRIS CNC
JYOTHI MACHINES
GRE MACH CNC
KIRLOSKAR
ELECTRONICA
SANDS CNC
PMT etc.
MACHINE
CONTROL
UNIT
DRIVE
MOTOR
INPUT
SIGNAL
SLIDE
MACHINE
CONTROL
UNIT
COMPARATOR WITH
TACHO GENERATOR
DRIVE
MOTOR
INPUT
SIGNAL
ACTUAL
VALUE
VELOCITY
ENCODER
SLIDE
COMPARATOR WITH
TACHO GENERATOR
DRIVE
MOTOR
VELOCITY
ENCODER
SLIDE
TRANSVERSE
MEASUREMENT
ENCODER
INPUT
SIGNAL
ACTUAL
VALUE
Modes
1. Jog
2. Edit
3. MDI
4. Auto
5. Reference
6. Hand Wheel
Part program
Simulation
SERVO MOTOR
What is Servo
Axis Movement
LEAD SCREW
Axis Movement
LEAD SCREW
LM GUIDE WAYS
Sliding friction guide ways can be single or the combination of guide way
elements that are either in flat, vee, dovetail or cylindrical shape.
Due to Sliding Friction, high wear of guide ways that leads to in consistency
of size & finish of the component produced.
ENCODERS
ENCODER
1.It is a Feed back Device.
2.Used to control the mechanical position in a servo system.
SPEED
SPEED = REV/MIN (Ex :1000
RPM)
FEED
FEED= MM/REV or MM/MIN
Ex 0.2MM/REV or 200MM/MIN
CUTTING SPEED
CUTTING SPEED=
35mm
DN
1000
M/MIN
= 110 M/MIN
110 M/MIN
70mm
= 220 M/MIN
220 M/MIN
To need same cutting speed(220 m/min) at dia 35mm
N = C.Sx1000
XD
220 X 1000X7 = N
22 x35
N =2000 RPM
Limitations
High cost of machine.
High cost of Training.
High maintenance cost.
Co-ordinate system
B
30
+Y
A
20
10
-X
0,0
40
30
20
10
10
10
20
20
30
-Y
30
+X
40
-Z
+Z
(0,0)
-X
40
P4
20
P3
P2
P1
20
25
P4
P3
P2
P3
P2
20
P1
20
ABSOLUTE(G90)
20
INCREMENTAL(G91)
X
P1
10
-20
P2
-20
40
-20
P3
10
40
-45
P4
-25
P1
20
P2
20
P3
P4
10
10
25
45
P1
40
P4
METHOD OF DIMENSIONING
ABSOLUTE ( G90 )
P4
P3
P2
ABSOLUTE CO-ORDINATES
P1
70
50
15
25
20
P1
50
P2
50
-20
P3
70
-45
P4
70
-60
METHOD OF DIMENSIONING
INCREMENTAL ( G91 )
P4
P3
P2
INCREMENTAL CO-ORDINATES
P1
70
50
15
25
20
P1
25
P2
-20
P3
10
-25
P4
-15
Program stop
Optional stop
Program End
Spindle start CW rotation
Spindle start CCW rotation
Spindle stop
Coolant ON (Low pressure)
Coolant ON (High pressure)
Coolant OFF
Programme end & Rewind
P5
P4
40
30
20
P0
20
P3
-Z
+X
10
10
P2
P1
10
20
30
-X
+Z
10
20
30
40
Sl No
Code
X Axis
Z Axis
Feed
40
+Z
-Z
20
-X
Sl No
Code
X Axis
Z Axis
Feed
+X
Tool Zero
Z Ref. Point
Spindle
Zero offset
L1
L2
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Spindle
Machine Zero
Tool Zero
Tail Stock
Spindle
Machine Zero
Tail Stock
Spindle
Machine Zero
Tail Stock
Spindle
Machine Zero
Tail Stock
Spindle
Machine Zero
Tail Stock
Spindle
Machine Zero
Tail Stock
Spindle
Machine Zero
Tail Stock
+X
Tool Zero
Spindle
+Z
-Z
-X
Machine Zero
Tail Stock
+X
Tool Zero
Spindle
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Tool Zero
Spindle
Zero offset
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Tool Zero
Spindle
Zero offset
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Tool Zero
Spindle
Zero offset
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
+X
Tool Zero
Spindle
Zero offset
L1
L2
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
+X
Spindle
Zero offset
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
REFERENCE POINT
+X
Tool Zero
Spindle
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display value
ACTUAL POSITION X-000.000
Z-000.000
REFERENCE POINT
+X
Spindle
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
X- Axis not referred
REFERENCE POINT
+X
Spindle
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
X- Axis not referred
REFERENCE POINT
+X
Spindle
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
X- Axis not referred
REFERENCE POINT
+X
Spindle
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
X- Axis not referred
REFERENCE POINT
+X
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
Reference Point Reached in X-Axis
X 300.000
REFERENCE POINT
+X
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
Z- Axis Not Referred
REFERENCE POINT
+X
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
Z- Axis Not Referred
REFERENCE POINT
+X
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
Z- Axis Not Referred
REFERENCE POINT
+X
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
Z- Axis Not Referred
REFERENCE POINT
+X
Z Ref. Point
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
Reference Point Reached in Z- Axis
Z 450.000
REFERENCE POINT
+X
Z Ref. Point
Spindle
X Ref. Point
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
Computer display
ACTUAL POSITION X 300.000
Z 450.000
Spindle
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
Computer Display
X = 45.050
Z = 130.056
+Z
-Z
-X
Machine Zero
Work Zero
Tail Stock
2.
(G55)
3.
(G56)
4.
(G57)
0.000
130.056
(G54)
+X
Spindle
X = 45.050
Z = 150.056
Zero offset
Computer Display
L2
+Z
-Z
Work Zero
-X
Tail Stock
Machine Zero
Tool offset in Z Axis (L2) = Computer display value Zero offset
=150.056 130.056 =20mm
Tool Number
Type
L1 Geometry
L2 Geometry
Diameter/Radius
L1 Wear
L2 Wear
Diameter/Radius
L1 Base
L2 Base
01
03
00.000
20.000
0.8
+X
Computer Display
X = 84.086
Z = 138.056
Spindle
L1
Dia = 50mm
-Z
+Z
Work Zero
-X
Tail Stock
Machine Zero
Tool offset in X Axis (L1) = (Display value Diameter of job)/2
=(84.086 50)/2 =17.043mm
Tool Number
Type
L1 Geometry
L2 Geometry
Diameter/Radius
L1 Wear
L2 Wear
Diameter/Radius
L1 Base
L2 Base
01
03
17.043
20.000
0.8
Zero offset
X = 45.050
Z = 175.254
L2
+Z
-Z
Work Zero
-X
Machine Zero
Tail Stock
L2(Known) =20mm
0.000
130.056
(G54)
2.
0.000
155.254
(G55)
3.
(G56)
4.
(G57)
N10
N15
N20
N25
N30
N35
N40
N45
N50
N55
N10
N15
N20
N25
N30
N35
N40
N45
N50
N55
z
Imaginary point
Responding to
program path
Shortage of Cut
G75 R___
G75 X___ Z___ P___Q ___ F ___
G75 G Code for Grooving cycle
R Retraction Amount in mm
X X axis End Point
Z Z axis End Point
P Peck Increment in each cut in x
axis (microns)
Q Axis Stepping Distance in Z axis
(microns)
O1234
N 1 G21 G98 ; ( Input in mm, Feed mm/ min )
N 2 G28 U0 W0 ; ( Return to reference point )
N 3 M03 S400 ; ( Spindle on clockwise, 400rpm )
N 4 M06 T0202 ; ( Tool change,Tool No 2 )
N 5 G00 X 34 Z-17 M07 ; ( Rapid positioning )
N 6 G75 R1 ;
N 7 G75 X 28 Z -20 P 200 Q 1000 ;
N 8 G28 U0 W0 ; ( Return to reference point )
N 9 M09;
N10 M05;
N11 M30;
30
G76 P _ _
__
__ Q__ R__
x
x
03 15
G 76 P ___
___ ___
60 Q 500
___ R ___
0.2
1262 Q _____
1000 F ___
3
17.475 Z ___
-30 P ______
G 76 X ______
50
G74 R ___
G74 X ___ Z ___ P ___ Q ___F ___
1
G74 R__
0 Z__
10000 F ___
-50 Q ______
50
G74 X__
10
20
10
6
2
46
R8
30
R8
M10 x1
5
3
40
50
40
30
M20 x2
2 x2
R6
Horizontal
+Z
+X
+Y
+X
HMC
Computer
Computer Display
Display
X
X ==
Y
Y ==
Z
Z ==
TOOL ZERO
95.050
95.050
25.000
25.000
33.000
93.000
TOOL ZERO
+Z
TO
TABLE
DP
+X
MACHINE ZERO
TOOL LENGTH OFFSET (TO) = DISPLAY VALUE (D P)
= 33.000 mm
TOOL LENGTH OFFSET = 33 mm
ZO
DP
Computer Display
X = 30.050
Y = 50.365
Z = 5.056
CR
+Y
TABLE
WORK
+X
MACHINE ZERO
WORK ZERO
TOOL ZERO
Computer Display
X = 95.050
Y = 25.000
Z = 5.056
+Y
TABLE
WORK
CR
DP
ZO
+X
MACHINE ZERO
WORK ZERO
TOOL ZERO
Computer Display
X = 95.050
Y = 25.000
Z = 45.000
TOOL ZERO
+Z
TO
DP
WORK ZERO
WORK
TABLE
ZO
+X
MACHINE ZERO
METHOD OF DIMENSIONING
ABSOLUTE
INCREMENTAL
(G90)
P3
P2
P1
P4
P3
P5
P2
(G91)
P4
P5
P1
3
5
40
3
0
METHOD OF DIMENSIONING
ABSOLUTE
(G90)
INCREMENTAL
3
5
40
3
0
(G91)
METHOD OF DIMENSIONING
ABSOLUTE ( G90 )
ABSOLUTE CO-ORDINATES
Y
P3
P1
P4
P2
P5
3
5
40
X
P1
P2
P3
25
P4
35
25
P5
35
P2
P1
METHOD OF DIMENSIONING
Y
INCREMENTAL
P3
(G91)
P1
P2
P3
20
P4
30
P5
-20
P2
-30
P1
-5
-5
P4
P2
P5
P1
5
INCREMENTAL COORDINATES
30
10
40
G00
G00
G00
X0
X10
Z5
G01
Z-5
G01
Y40
G01
X50
G01
Y10
10
G01
X10
30
G00
Z5
G00
X0
10
10
Y0
Y10
Y0
Z100
CNC MILLING
PROGRAM
10
50
10
10
40
10
CNC MILLING
PROGRAM
10
50
10
10
40
10
X0
X10
Y0
Y10
CNC MILLING
PROGRAM
10
50
10
10
40
10
G00
X0
Y0
G00
X10
Y10
G00
Z5
G01
G01
Z-5
Y50
F0.05
CNC MILLING
PROGRAM
10
50
10
10
40
10
G00
X0
Y0
G00
X10
Y10
G00
Z5
G01
Z-5
G01
Y50
G01
X60
CNC MILLING
PROGRAM
10
50
10
10
40
10
G00
X0
Y0
G00
X10
Y10
G00
Z5
G01
G01
Z-5
Y50
G01
X60
G01
Y10
CNC MILLING
PROGRAM
10
50
10
10
40
10
G00
G00
X0
X10
G00
Z5
G01
Z-5
G01
G01
Y50
X60
G01
Y10
G01
X10
Y0
Y10
CNC MILLING
PROGRAM
10
50
G00
G00
X0
X10
G00
Z5
G01
Z-5
G01
Y50
40 G01
X60
G01
Y10
G01
G00
G00
X10
Z5
X0
10
10
10
Y0
Y10
Y0
Z100
CNC MILLING
PROGRAM
10
50
10
10
G00
X0
Y0
G00
X10
Y10
G00
G01
G01
Z5
Z-5
Y50
G01
40
G01
G01
10 G00
G00
M30
X60
Y10
X10
Z5
X0 Y0
Z100
CNC MILLING
PROGRAM
10
40
10
10
30
10
CNC MILLING
PROGRAM
10
40
G00
X0
Y0
G00
G00
G01
X10
Z5
Z-5
Y10
30 G01
G01
G01
10 G01
Y40
X50
Y10
X10
Z5
X0
10
10
G00
G00
M30
Y0
Z100
CNC MILLING
PROGRAM
10
40
10
10
30
10
CNC MILLING
PROGRAM
10
40
G00
G00
10
10
30
10
X0
G41
Y0
X10
Y10
CNC MILLING
PROGRAM
10
40
10
10
30
10
G00
G01
X0
G41
G00
Z5
G01
Z-5
G01
Y40
Y0
X10
Y10
CNC MILLING
PROGRAM
10
40
G00
G01
X0
G41
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
10
10
10
Y0
X10
Y10
CNC MILLING
PROGRAM
10
40
G00
G01
X0
G41
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
10
10
10
Y0
X10
Y10
CNC MILLING
PROGRAM
10
40
G00
G01
X0
G41
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
G01
X10
10
10
10
Y0
X10
Y10
CNC MILLING
PROGRAM
10
40
G00
G01
X0
G41
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
10
10
10
Y0
X10
G01
X10
G00
Z5
G00 G40 X0 Y0
Z100
Y10
CNC MILLING
PROGRAM
10
40
G00
G01
X0
G41
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
10
10
10
Y0
X10
G01
X10
G00
Z5
G00 G40 X0 Y0
M30
Y10
Z100
CNC MILLING
PROGRAM
10
40
10
10
30
10
CNC MILLING
PROGRAM
10
40
10
10
30
10
CNC MILLING
PROGRAM
10
40
10
10
30
10
G00
Z5
G01
Z-5
G01
Y40
Y10
CNC MILLING
PROGRAM
10
40
10
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
10
10
Y10
CNC MILLING
PROGRAM
10
40
10
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
10
10
Y10
CNC MILLING
PROGRAM
10
40
10
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
G01
X10
10
10
Y10
CNC MILLING
PROGRAM
10
40
10
G00
Z5
G01
Z-5
G01
Y40
30 G01
X50
G01
Y10
10
10
G01
X10
G00
Z5
G00 G40 X0
Z100
Y0
Y10
CNC MILLING
PROGRAM
10
40
G00
X0
G01
G00
G01
G42
Z5
Z-5
G01
Y40
30 G01
X50
G01
Y10
G01
X10
G00
Z5
10
10
10
G00 G40
M30
Y0
X0
X10
Y0
Y10
Z100
CNC MILLING
PROGRAM
10 10
20
10 10
10
10
10
10
10
11
CNC MILLING
G00
X0
G00
X10 Y10
G00
Z5
G01
Z-5
G01
Y30
10
G02
X20
10
G01
X40
G03
X50
G01
Y20
G01
X40
G01
X10
G00
Z5
G00
X0
PROGRAM
10 10
20
10 10
10
10
10
M30
Y0
Y40
B10
Y30
B10
Y10
Y0
Z100
10
40
10
N
C
10
D
30
R
I
L
10
L
I
N
10
CNC-DRILLING
10
40
PART PROGRAM
10
10
30
10
10
N5
G90
G71
N10
N15
N20
N25
N30
N35
N40
N45
N50
N55
N60
N65
N70
N75
N80
N85
T0505
M03 S600
G00 X10 Y10 Z5
G01 Z-15 F0.03
G00 Z5
G00 Y40
G01 Z-15
G00 Z5
G00 X50
G01 Z-15
G00 Z5
G00 Y10
G01 Z-15
G00 Z5
G00 X0 Y0 Z100
M30
75
48
G171
G170
R = Z Position of tool to start cycle ( Surface of the job )
P = When P is Zero ( 0 ) the cycle is roughing cycle
Q = Peck Increment ( In above program 2 pecks of
each 3 mm )
X = Pocket center in X- Axis ( 0 )
Y = Pocket center in Y Axis ( 0 )
Z = Pocket base from job surface ( -6mm )
I = Side finish allowance ( 0 -as this is a roughing cycle.)
J = Base finish allowance
K = Radius of the Pocket ( -24 ) ( Negative value indicates
cut in CCW direction )
25 % Overlap of cutter
Hence P=75
60
80
100
80
TYPES OF GRINDING
1. Cylindrical Grinding ( External grinding )
2. Bore Grinding ( Internal grinding )
3. Center less Grinding
4. Surface Grinding
5. Gear Grinding
Surface Grinding
Process of grinding flat surface of an object
Gear Grinding
Process of grinding Gear teeth
:0301(JOB F.FACE.T.V.PRG )
M79A3X0T0106
M79A2Z0T0106
G28W0.0
M30
= Parameter Input
= Raw Dia Size (mm.)
= Bore length Size (mm.)
= Front face Dia Size (mm.)
= Back face Dia Size (mm.)
= Wheel dia after clean dressing (mm.) stored in p code variable 510
= Wheel Length (mm.)
= Wheel worn-out dia( Quill size+0.5mm. or Counterbore dia+2.0 mm.)
= Programme No.
= Spindle max RPM stored in pcode variable #509
= 1 For FIG 150, FIGE 2X2
= 0 For FIGE 150
V7
= Counter bore depth-SCREW THICKNESS (mm.)
Y12
= Counter bore depth (mm.) of wheel 2 or Spindle 2
(Applicable only if there is counter bore at wheel face of wheel2)
10T
O
X
I
F
M
X00.0000
Z00.0000
POWER
ON
OFF
N
Y
J
D
S]
V
PAGE
G
Z
K
H
T
P
Q
R
L
EOB)
A
B
C
#
/
8 9
5 6
2 3
0
=
7
4
1
+
Sp
RESET
START
CALC
CAN
INPUT
CURSOR
NC/PC
SHIFT
AUX
CYCLE
START
FEED
HOLD
MDI
JOG
AUTO
ON
HANDLE
OFF
DRY
RUN
ZERO
EDIT
MODE RETURN
100%
OFF
0%
X-
EMERGENCY
STOP
ON
OFF
SPINDLE
X1
Z
X10
X100
9 10 11
12
5
4
3
SLOW
FAST
TURRET INDEX
100%
100%
0%
RAPID
OVERRIDE
BLOCK
DELETE
ORIGIN
ON
MEMORY
PROTECT
200%
FEEDRATE
OVERRIDE
JOYSTICK
OPTIONAL
STOP
100%
10%
Z+
Z-
MACHINE
LOCK
50%
25%
X+
SINGLE
BLOCK
130%
0%
130%
OD
ID
AXIS LOAD
SPINDLE LOAD
CLAMP
DIRECTION
TAILSTOCK