Manufacturing Process: CNC Technology
Manufacturing Process: CNC Technology
CNC TECHNOLOGY
2
Jurusan Teknik Industri FTI - ITS
3
Jurusan Teknik Industri FTI - ITS
4
Jurusan Teknik Industri FTI - ITS
5
Jurusan Teknik Industri FTI - ITS
6
Jurusan Teknik Industri FTI - ITS
work holding
tool holding
relative motion between tool
and workpiece
primary motion
secondary motion
7
Jurusan Teknik Industri FTI - ITS
Primary motion
Relative motion
Secondary motion
between tool and
workpiece
m a c h i n e c o n t r o l u n i t
p o s i t i o n t r a n s d u c e r s
w o r k h o l d i n g d e v i c e
t o o l h o l d i n g d e v i c e
9
Jurusan Teknik Industri FTI - ITS
10
Jurusan Teknik Industri FTI - ITS
11
Jurusan Teknik Industri FTI - ITS
12
Jurusan Teknik Industri FTI - ITS
ISO MACHINE TOOL AXES DEFINITIONS
AXIS MACHINE TOOL WITH SPINDLE MACHINE TOOL WITH
NO SPINDLE
HORIZONT VERTICAL
AL AXIS AXIS
14
Jurusan Teknik Industri FTI - ITS
STANDARD LATHE
COORDINATE SYSTEM
15
Jurusan Teknik Industri FTI - ITS
16
Jurusan Teknik Industri FTI - ITS
18
Jurusan Teknik Industri FTI - ITS
INTRODUCTION TO CNC
19
Jurusan Teknik Industri FTI - ITS
HISTORY
US Air Force commissioned MIT to develop the
first "numerically controlled" machine in 1949. It
was demonstrated in 1952.
At 1970-1972 first Computer Numeric Control
machines were developed.
Today, computer numerical control (CNC)
machines are found almost everywhere, from
small job shops in rural communities to
companies in large urban areas.
20
Jurusan Teknik Industri FTI - ITS
DEFINITION
In CNC (Computer Numerical Control), the
instructions are stored as a program in a micro-
computer attached to the machine. The
computer will also handle much of the control
logic of the machine, making it more adaptable
than earlier hard-wired controllers.
21
Jurusan Teknik Industri FTI - ITS
CNC APPLICATIONS
Machining
2.5D / 3D
Turning ~ Lathes, Turning Centre
Milling ~ Machining Centres
Forming
2D
Plasma and Laser Cutting
Blanking, nibbling and punching
3D
Rapid Prototyping
22
Jurusan Teknik Industri FTI - ITS
SAMPLE
CNC MACHINES
23
CNC TURNING
24
CNC MILLING
25
Jurusan Teknik Industri FTI - ITS
26
Jurusan Teknik Industri FTI - ITS
27
Jurusan Teknik Industri FTI - ITS
CNC PRESS
28
Jurusan Teknik Industri FTI - ITS
29
Jurusan Teknik Industri FTI - ITS
30
Jurusan Teknik Industri FTI - ITS
SAMPLE PRODUCTS
OF
CNC MANUFACTURING
31
Jurusan Teknik Industri FTI - ITS
AUTOMOTIVE INDUSTRY
Engine Block
32
Jurusan Teknik Industri FTI - ITS
AUTOMOTIVE INDUSTRY(Cont’d)
Different Products
33
Jurusan Teknik Industri FTI - ITS
34
Jurusan Teknik Industri FTI - ITS
35
Jurusan Teknik Industri FTI - ITS
ELECTRONIC INDUSTRY
36
Jurusan Teknik Industri FTI - ITS
RAPID PROTOTYPING
PRODUCTS
37
Jurusan Teknik Industri FTI - ITS
ADVANTAGES of CNC
Productivity
Machine utilisation is increased because
more time is spent cutting and less time is
taken by positioning.
Reduced setup time increases utilisation
too.
38
Jurusan Teknik Industri FTI - ITS
ADVANTAGES of CNC
Quality
Parts are more accurate.
Parts are more repeatable.
Less waste due to scrap.
39
Jurusan Teknik Industri FTI - ITS
ADVANTAGES of CNC
Reduced inventory
Reduced setup time permits smaller
economic batch quantities.
Lower lead time allows lower stock levels.
Lower stock levels reduce interest charges
and working capital requirements.
40
Jurusan Teknik Industri FTI - ITS
ADVANTAGES of CNC
Machining Complex shapes
Slide movements under computer control.
Computer controller can calculate steps.
First NC machine built 1951 at MIT for
aircraft skin milling.
41
Jurusan Teknik Industri FTI - ITS
ADVANTAGES of CNC
Management Control
CNC leads to CAD
Process planning
Production planning
42
Jurusan Teknik Industri FTI - ITS
DRAWBACKS of CNC
High capital cost
Machine tools cost $30,000 - $1,500,000
Retraining and recruitment of staff
New support facilities
High maintenance requirements
Not cost-effective for low-level production on simple parts
As geometric complexity or volume increases CNC becomes
more economical
Maintenance personnel must have both mechanical and
electronics expertise
43
Jurusan Teknik Industri FTI - ITS
44
Jurusan Teknik Industri FTI - ITS
45
Jurusan Teknik Industri FTI - ITS
NC SYSTEM ELEMENTS
46
Jurusan Teknik Industri FTI - ITS
47
Jurusan Teknik Industri FTI - ITS
PART PROGRAM
A part program is a series of coded instructions required to
produce a part. It controls the movement of the machine
tool and the on/off control of auxiliary functions such as
spindle rotation and coolant. The coded instructions are
composed of letters, numbers and symbols and are
arranged in a format of functional blocks as in the following
example
N10 G01 X5.0 Y2.5 F15.0
| | | | |
| | | | Feed rate (15 in/min)
| | | Y-coordinate (2.5")
| | X-coordinate (5.0")
| Linear interpolation mode
Sequence number
48
Jurusan Teknik Industri FTI - ITS
49
Jurusan Teknik Industri FTI - ITS
50
Jurusan Teknik Industri FTI - ITS
Open-loop control
Closed-loop control
51
Jurusan Teknik Industri FTI - ITS
52
Jurusan Teknik Industri FTI - ITS
53
Jurusan Teknik Industri FTI - ITS
DRIVE SYSTEM
A drive system consists of amplifier circuits, stepping
motors or servomotors and ball lead-screws. The MCU
feeds control signals (position and speed) of each axis to
the amplifier circuits. The control signals are augmented to
actuate stepping motors which in turn rotate the ball lead-
screws to position the machine table.
54
Jurusan Teknik Industri FTI - ITS
STEPPING MOTORS
A stepping motor provides open-loop, digital control of the
position of a workpiece in a numerical control machine. The
drive unit receives a direction input (cw or ccw) and pulse
inputs. For each pulse it receives, the drive unit
manipulates the motor voltage and current, causing the
motor shaft to rotate bya fixed angle (one step). The lead
screw converts the rotary motion of the motor shaft into
linear motion of the workpiece .
55
Jurusan Teknik Industri FTI - ITS
STEPPING MOTORS
56
Jurusan Teknik Industri FTI - ITS
57
Jurusan Teknik Industri FTI - ITS
Accuracy of CNC
machines depends on
their rigid
construction, care in
manufacturing, and
the use of ball screws
to almost eliminate
slop in the screws
used to move portions
of the machine.
58
Jurusan Teknik Industri FTI - ITS
59
Jurusan Teknik Industri FTI - ITS
POSITIONING
The positioning resolution of a ball screw drive mechanism
is directly proportional to the smallest angle that the motor
can turn.
The smallest angle is controlled by the motor step size.
Microsteps can be used to decrease the motor step size.
CNC machines typically have resolutions of 0.0025 mm or
better.
60
Jurusan Teknik Industri FTI - ITS
MACHINE TOOL
CNC controls are used to control various types of machine
tools. Regardless of which type of machine tool is
controlled, it always has a slide table and a spindle to
control of position and speed. The machine table is
controlled in the X and Y axes, while the spindle runs along
the Z axis.
61
Jurusan Teknik Industri FTI - ITS
FEEDBACK SYSTEM
The feedback system is also referred to as the measuring
system. It uses position and speed transducers to
continuously monitor the position at which the cutting tool
is located at any particular time. The MCU uses the
difference between reference signals and feedback signals
to generate the control signals for correcting position and
speed errors.
62
Jurusan Teknik Industri FTI - ITS
63
Jurusan Teknik Industri FTI - ITS
POTENTIOMETERS
64
Jurusan Teknik Industri FTI - ITS
POTENTIOMETERS
65
Jurusan Teknik Industri FTI - ITS
ENCODERS
66
Jurusan Teknik Industri FTI - ITS
ENCODERS
67
Jurusan Teknik Industri FTI - ITS
INDUSTRIAL APPLICATIONS of
ENCODERS
68
Jurusan Teknik Industri FTI - ITS
RESOLVERS
A resolver is a rotary
transformer that
produces an output
signal that is a
function of the rotor
position.
69
Jurusan Teknik Industri FTI - ITS
70
Jurusan Teknik Industri FTI - ITS
VELOCITY FEEDBACK
Tachometers:
Electrical output is proportional to rate of angular
rotation.
Encoders, Resolvers, Potentiometers:
Number of pulses per time is proportional to rate
change of position.
71
Jurusan Teknik Industri FTI - ITS
CNC CUTTERS
72
Jurusan Teknik Industri FTI - ITS
73
Jurusan Teknik Industri FTI - ITS
74
Jurusan Teknik Industri FTI - ITS
TYPICAL TURNING,
THREADING and PARTING TOOLS
75
Jurusan Teknik Industri FTI - ITS
76
Jurusan Teknik Industri FTI - ITS
77
Jurusan Teknik Industri FTI - ITS
78
Jurusan Teknik Industri FTI - ITS
TOOL HOLDERS
All cutting tools must be held in a
holder that fits in the spindle. These
include end mill holders (shown),
collet holders, face mill adapters,
etc. Most machines in the USA use a
CAT taper which is a modified NST
30, 40, or 50 taper that uses a pull
stud and a groove in the flange. The
machine pulls on the pull stud to
hold the holder in the spindle, and
the groove in the flange gives the
automatic tool changer something to
hold onto. HSK tool holders were
designed a number of years ago as
an improvement to CAT tapers, but
they are gaining acceptance slowly.
80
Jurusan Teknik Industri FTI - ITS
CNC PROGRAMMING
81
Jurusan Teknik Industri FTI - ITS
CNC PROGRAMMING
Offline programming linked to CAD programs.
Conversational programming by the operator.
MDI ~ Manual Data Input.
Manual Control using jog buttons or `electronic
handwheel'.
Word-Address Coding using standard G-codes
and M-codes.
82
Jurusan Teknik Industri FTI - ITS
83
Jurusan Teknik Industri FTI - ITS
84
Jurusan Teknik Industri FTI - ITS
85
Jurusan Teknik Industri FTI - ITS
86
Jurusan Teknik Industri FTI - ITS
Block Format:
87
Jurusan Teknik Industri FTI - ITS
EXAMPLE:
Assume that a drilling operation is to be
programmed as:
88
Jurusan Teknik Industri FTI - ITS
89
Jurusan Teknik Industri FTI - ITS
90
Jurusan Teknik Industri FTI - ITS
CNC PROGRAMMING
91
Jurusan Teknik Industri FTI - ITS
92
Jurusan Teknik Industri FTI - ITS
BLOCK FORMAT
Sample Block
N135 G01 X1.0 Y1.0 Z0.125 F5
93
Jurusan Teknik Industri FTI - ITS
WORD-ADDRESS CODING
Example CNC Program
Each instruction to the machine
N5 G90 G20 consists of a letter followed by a
N10 M06 T3 number.
N15 M03 S1250
N20 G00 X1 Y1 Each letter is associated with a
N25 Z0.1 specific type of action or piece of
N30 G01 Z-0.125 F5 information needed by the
N35 X3 Y2 F10 machine.
N40 G00 Z1 Letters used in Codes
N45 X0 Y0
N50 M05 N,G,X,Y,Z,A,B,C,I,J,K,F,S,T,R,M
N55 M30
94
Jurusan Teknik Industri FTI - ITS
G & M Codes
Example CNC Program
N5 G90 G20
• G-codes: Preparatory Functions
N10 M06 T3
involve actual tool moves.
N15 M03 S1250
N20 G00 X1 Y1
• M-codes: Miscellaneous
N25 Z0.1
Functions – involve actions
N30 G01 Z-0.125 F5
necessary for machining (i.e.
N35 X3 Y2 F10
spindle on/off, coolant on/off).
N40 G00 Z1
N45 X0 Y0
N50 M05
N55 M30
95
Jurusan Teknik Industri FTI - ITS
G Codes
G00 Rapid traverse G40 Cutter compensation
G01 Linear interpolation – cancel
G02 Circular G41 Cutter compensation
interpolation, – left
CW
G42 Cutter
G03 Circular compensation- right
interpolation, CCW
G04 Dwell G70 Inch format
G08 Acceleration G71 Metric format
G09 Deceleration G74 Full-circle
G17 X-Y Plane programming off
G18 Z-X Plane G75 Full-circle
G19 Y-Z Plane programming on
G20 Inch Units (G70) G80 Fixed-cycle cancel
G21 Metric Units (G71) G81-G89 Fixed cycles
G90 Absolute dimensions
G91 Incremental
dimensions 96
Jurusan Teknik Industri FTI - ITS
Modal G-Codes
97
Jurusan Teknik Industri FTI - ITS
98
Jurusan Teknik Industri FTI - ITS
M Codes
M00 Program stop
M01 Optional program stop
M02 Program end
M03 Spindle on clockwise
M04 Spindle on counterclockwise
M05 Spindle stop
M06 Tool change
M08 Coolant on
M09 Coolant off
M10 Clamps on
M11 Clamps off
M30 Program stop, reset to start
99
Jurusan Teknik Industri FTI - ITS
N Codes
Gives an identifying number for each block of
information.
100
Jurusan Teknik Industri FTI - ITS
101
Jurusan Teknik Industri FTI - ITS
102
Jurusan Teknik Industri FTI - ITS
103
Jurusan Teknik Industri FTI - ITS
104
Jurusan Teknik Industri FTI - ITS
105
Jurusan Teknik Industri FTI - ITS
2 5
B C
2 0
1 5
1 0 P o s i t i o n i n g m o t i o n f r o m A t o C
N 1 0 G 0 0 X 3 0 0 0 0 Y 2 0 0 0 0 F 0
A
5
5 1 0 1 5 2 0 2 5 3 0
106
Jurusan Teknik Industri FTI - ITS
C
2 0
1 5
1 0
A
5
5 1 0 1 5 2 0 2 5 3 0
108
Jurusan Teknik Industri FTI - ITS
N10 G00 X1 Z1
Z N15 Z0.1
N20 G01 Z-0.125 F5
N25 X2 Z2 F10
109
Jurusan Teknik Industri FTI - ITS
N_ G02 X2 Y1 I0 J-1
F10
or
N_ G02 X2 Y1 R1
111
Jurusan Teknik Industri FTI - ITS
a b o u t a c i r c l e c e n t e r e d a t C
N 1 0 G 0 2 X 2 0 0 0 0 Y 1 0 0 0 0
2 5 I 5 0 0 0 J 1 5 0 0 0 F 2 5 0 0
I = 5 A C
2 0
1 5
J = 1 5
1 0 B
C
5
5 1 0 1 5 2 0 2 5 3 0
112
Jurusan Teknik Industri FTI - ITS
Canned Cycles
The sequence of some machining operations is may be
the same for any part and for any machine. For example,
drilling a hole involves the following steps:
Position the tool above the point where the hole will be
drilled
113
Jurusan Teknik Industri FTI - ITS
G81 ILLUSTRATION
115
Jurusan Teknik Industri FTI - ITS
116
Jurusan Teknik Industri FTI - ITS
117
Jurusan Teknik Industri FTI - ITS
118
Jurusan Teknik Industri FTI - ITS
119
Jurusan Teknik Industri FTI - ITS
G-CODE PROGRAM
%
:1002
N5 G90 G20
N10 M06 T1
N15 M03 S1200
N20 G00 X0.125 Y0.125
N30 Z0.125
N35 G01 Z-0.125 F5
N40 X3.875
N45 Y4.125
N50 X0.125
120
N55 Y0.125
Jurusan Teknik Industri FTI - ITS
N35 Z-0.250
N40 X3.875
N45 Y4.125
N50 X0.125
N55 Y0.125
N60 Z0.125
121
Jurusan Teknik Industri FTI - ITS
122
Jurusan Teknik Industri FTI - ITS
N100 Y2.125
N105 X2.625
N110 Z0.125
N115 G00 X-5 Y-5 Z5
N120 M05
N125 M30
123
Jurusan Teknik Industri FTI - ITS
Advanced features:
124
Jurusan Teknik Industri FTI - ITS
Program Loading:
Through keyboard
Through punched tape reader
Through diskette drive
Through RS 232 serial port
Through network interface card
125
Jurusan Teknik Industri FTI - ITS
126
Jurusan Teknik Industri FTI - ITS
127
Jurusan Teknik Industri FTI - ITS
128
Jurusan Teknik Industri FTI - ITS
129
Jurusan Teknik Industri FTI - ITS
130
Jurusan Teknik Industri FTI - ITS
131
Jurusan Teknik Industri FTI - ITS
132
Jurusan Teknik Industri FTI - ITS
133