Beruflich Dokumente
Kultur Dokumente
4000 B.C. Stone, clay Bending, forging Riveting Stone, emery, Earthenware Wood, natural
molds (Au, Ag, Cu) corundum, fiber
garnet, flint
2500 BC Lost wax Shearing, sheet Soldering, Drilling, sawing Glass beads,
(bronze) forming brazing potter's wheel
1000 BC Hot forging Forge welding, Iron saws Glass pressing,
(iron), wire- gluing glazing
drawing (?)
0. A.D. Coining (brass), Turning (wood), Glass blowing
forging (steel) filing
5
Numerical Control (NC)
• Numerical control (NC) is a form of flexible
(programmable) automation in which the
process is controlled by numbers, letters, and
symbols.
• The electronic industries association (EIA)
defined NC as
– “A system in which actions are controlled by the
direct insertion of numerical data at some point.
The system must automatically interpret at least
some portion of this data.”
7
Basic Components
• An NC system consists of the machine tools, the part-
program, and the machine control unit (MCU).
8
Machine Tools
9
• The drive units are either powered by stepping
motors (for open-loop control), servomotors
(for close-loop control), pneumatic drives, or
hydraulic drives.
10
The Part-program
11
The Machine Control Unit
• The machine control unit consists of the data processing
unit (DPU) and the control loop unit (CLU).
– The DPU decodes the information contained in the part-
program, process it, and provides instructions to the CLU.
– The CLU operates the drives attached to the machine
leadscrews and feedback signals on the actual position and
velocity of each one of the axes. The drive units are
actuated by voltage pulses.
12
The Machine Control Unit
• The number of pulses transmitted to each axis is equal to
the required incremental motion, and the frequency of these
pulses represent the axial velocity.
– Each incremental motion is called a basic length unit
(BLU).
– One pulse is equivalent to 1 BLU.
– The BLU represents the resolution of the NC machine tool.
13
Types of NC Systems
Point-to-point (PTP) NC
• The cutting tool is moved relative to the work piece (i.E.,
Either the cutting tool moves, or the work piece moves)
until the cutting tool is at a numerically defined position and
then the motion is paused.
• The cutting tool then performs an operation.
• When the operation is completed, the cutting tool moves
relative to the work piece until the next point is reached,
and the cycle is repeated.
• The simplest example of a PTP NC machine tool is the NC
drilling machine.
15
Straight-cut NC
17
Computer-assisted NC
Programming
1. The computer interprets the instructions in the program
into computer-usable form.
2. The computer performs the necessary geometry and
trigonometry calculations required to generate the part
surface.
3. The part-programmer specifies the part outline as the tool
path. Since the tool path is at the periphery of the cutter
that machining actually takes place, it must be offset by the
radius of the cutter.
19
4. The cutter offset computations in contour
part-programming are performed by the
computer.
5. Part-programming languages are general-
purpose languages. Since NC machine tool
systems have different features and
capabilities, the computer must take the
general instructions and make them specific
to a particular machine tool system. This
function is called post processing.
20
6. After converting all instructions into a
detailed set of machine tool motion
commands, the computer controls a tape
punch device to prepare the tape for the
specific NC machine.
7. Graphic proofing techniques provide a visual
representation of the cutting tool path.
21
8. This representation may be a simple two-
dimensional plot of the cutter path or a
dynamic display of tool motion using
computer generated animation.
9. If necessary, part-programs are also verified
on the NC station using substitute materials
such as light metals, plastics, foams, wood,
laminates, and other castable low cost
materials used for NC proofing.
22
Computer Numerical Control
(CNC)
• The EIA definition of computer numerical control (CNC).
– “A numerical control system wherein a dedicated, stored program
computer is used to perform some or all of the basic numerical
control functions in accordance with control programs stored in the
read-write memory of the computer.”
The CNC uses a
dedicated
microprocessor
to perform the
MCU functions.
24
• CNC supports programming features not available in
conventional NC systems:
– Subroutine macros which can be stored in memory and called by
the part-program to execute frequently-used cutting sequence.
– Inch-metric conversions, sophisticated interpolation functions (such
as cubic interpolation) can be easily accomplished in CNC.
– Absolute or incremental positioning (the coordinate systems used in
locating the tool relative to the work piece) as well as PTP or
contouring mode can be selected.
25
– The part-program can be edited (correction or optimization of tool
path, speeds, and feeds) at the machine site during tape tryout.
– Tool and fixture offsets can be computed and stored.
– Tool path can be verified using graphic display.
– Diagnostics are available to assist maintenance and repair.
26
Direct Numerical Control (DNC)
• The EIA definition of DNC.
– “A system connecting a set of numerically controlled machines to a common
memory for part program or machine program storage with provision for on-
demand distribution of data to machines.”
– In DNC, several NC machines are directly controlled by a computer,
eliminating substantial hardware from the individual controller of each
machine tool. The part-program is downloaded to the machines directly (thus
omitting the tape reader) from the computer memory.
28
Numerical Control (NC) refers to the method of
controlling the manufacturing operation by means of
directly inserted coded numerical instructions into the
machine tool.
It is important to realize that NC is not a machining
method, rather, it is a concept of machine control.
Machine controls are divided into three groups,
1. Œ traditional numerical control (NC);
2. • computer numerical control (CNC);
3. Ždistributed numerical control (DNC).
The major advantages of NC over conventional methods of
machine control are as follows:
1. Higher precision: very close tolerances as small as 0.005 mm.
6. Low operator qualification: Load - upload the work piece. In some cases, industrial
robots are employed for material handling, thus eliminating the human operator.
Basic CNC Principles
Basic CNC Principles
Coordinates System
Programming Systems
• Coordinate System
• Feed and Speed Codes: F and S- Specify feed and spindle speed
5”
2.5”
p4
p2 p3 p5
1”
(4, 4)
p1 Motion of tool:
p0 p1 p2 p3 p4 p5 p1 p0
p0 (2, 2)
1. Set up the programming parameters
5”
2.5”
p4
p2 p3 p5
1”
Programming in inches
5”
Use absolute coordinates
Feed in ipm
45°
N010 G70 G90 G94 G97 M04
(4, 4)
p1
Spindle speed in rpm
p0 (2, 2)
Spindle CCW
2. Set up the machining conditions
5”
2.5”
p4
p2 p3 p5
1”
5”
Use full-circle interpolation
Feed rate
Spindle speed
45°
5”
2.5”
p4
p2 p3 p5
Linear interpolation
1”
target coordinates
45°
(4, 4)
p1 y
p0 (2, 2)
X
4. Cut profile from p1 to p2
5”
2.5”
p4
p2 p3 p5
1”
Linear interpolation
5” target coordinates
p0 (2, 2)
5”
2.5”
p4 Linear interpolation
p2 p3 p5
target coordinates
1”
5”
y = 9 + 0.125 = 9.125
(6.5 - x)2 + 0.1252 = (1 - 0.125)2
x = 5.634
45° p3
(x, y)
(4, 4)
p1 (6.5, 9)
.125
p0 (2, 2)
1”
6. Cut along circle from p3 to p4
5”
2.5”
p4
p2 p3 p5
1”
5”
target coordinates
(4, 4)
coordinates of center of circle
p1
p0 (2, 2)
7. Cut from p4 to p5
5”
2.5”
p4
p2 p3 p5
1”
5”
Linear interpolation
(4, 4)
N070 G01 X9.302
p1
p0 (2, 2)
8. Cut from p5 to p1
5”
2.5”
p4
p2 p3 p5
1”
5”
Linear interpolation
p0 (2, 2)
9. Return to home position, stop program
5”
2.5”
p4
p2 p3 p5
1”
Linear interpolation
45°
end of data
(4, 4)
p1
N100 M00
Block Format
Sample Block
• Restrictions on CNC blocks
• Each may contain only one tool move
• Each may contain any number of non-tool move G-codes
• Each may contain only one feed rate
• Each may contain only one specified tool or spindle speed
• The block numbers should be sequential
• Both the program start flag and the program number must be
independent of all other commands (on separate lines)
• The data within a block should follow the sequence shown
in the above sample block
APT Programming Example
(Automatically Programmed Tool )
Cylindrical Part
F 25
Raw Material
70
F 22.5
F 17.5
Finished Part
20
30
APT Programming Example (Cylindrical Part)
O0013
N0005 G53
N0010 T0303
N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100
N0040 G00 Z2.0
N0050 X50.0 Z50.0
N0060 T0404
N0070 G57 G00 X22.50 Z2.0 S500
N0080 G01 Z-30.0 F100
N0090 G00 X23.0 Z2.0 S500
N0100 G84 X17.5 Z-20.0 D0=200 D2=200 D3=650
N0110 G00 Z2.0
N0120 X50.0 Z50.0
N0130 M30
APT Program Interpretation
O0013
Program identification number
APT Program Interpretation
O0013
N0005 G53
To cancel any previous working zero point
APT Program Interpretation
O0013
N0005 G53
N0010 T0303
O0013
N0005 G53
N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100
(-0.2,0)
G01 Linear interpolation (cutting)
X-0.20 Move only in x direction until you pass
the work piece (facing)
F100 Set feed rate to 100 mm/min.
APT Program Interpretation
O0013
N0005 G53
N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100
N0040 G00 Z2.0