CNC
CNC
CNC
History of CNC
1949 US Air Force asks MIT to develop a "numerically controlled" machine. 1952 Prototype NC machine demonstrated (punched tape input)
To manufacture complex curved geometries in 2D or 3D was extremely expensive by mechanical means (which usually would require complex jigs to control the cutter motions)
Advantages of CNC
- Easier to program; - Easy storage of existing programs; - Easy to change a program - Avoids human errors - NC machines are safer to operate
NC machines
Motion control is done by: servo-controlled motors
CNC terminology
Controller: (Machine Control Unit, MCU) Electronic and computerized interface between operator and m/c Controller components: 1. Data Processing Unit (DPU) 2. Control-Loops Unit (CLU)
Controller components
Data Processing Unit: Input device [RS-232 port/ Tape Reader/ Punched Tape Reader] Data Reading Circuits and Parity Checking Circuits
Control Loops Unit: Interpolator to supply machine-motion commands between data points
or
Continuous path
feedback
Encoder outputs: electrical pulses (e.g. 500 pulses per revolution) Rotation of the motor linear motion of the table: by the leadscrew The pitch of the leadscrew: horizontal distance between successive threads One thread in a screw single start screw: Dist moved in 1 rev = pitch Two threads in screw double start screw: Dist moved in 1 rev = 2* pitch
Example 1
A Stepping motor of 20 steps per revolution moves a machine table through a leadscrew of 0.2 mm pitch.
(b) If the motor receives 2000 pulses per minute, what is the linear velocity in inch/min ?
Example 2
A DC servo-motor is coupled to a leadscrew (pitch 5mm) of a machine table. A digital encoder, which emits 500 pulses per revolution, is mounted on the leadscrew. If the motor rotates at 600 rpm, find (a) The linear velocity of the table
Manual NC programming
Part program: A computer program to specify
- Which tool should be loaded on the machine spindle; - What are the cutting conditions (speed, feed, coolant ON/OFF etc) - The start point and end point of a motion segment - how to move the tool with respect to the machine.
History of CNC
The RS274-D is a word address format
Each block is composed of several instructions, or (words) Sequence and format of words:
N3
sequence no
preparatory function
feed rate
miscellaneous function
45 (4, 4) p1 p0 (2, 2)
Tool size = 0.25 inch, Feed rate = 6 inch per minute, Cutting speed = 300 rpm, Tool start position: 2.0, 2.0 Programming in inches
Motion of tool: p0 p1 p2 p3 p4 p5 p1 p0
Programming in inches
5
45 (4, 4) p1 p0 (2, 2)
Linear interpolation
5
target coordinates
or
(4, 4) p1 p0 (2, 2)
45 (4, 4) p1 p0 (2, 2)
1
(6.5, 9) .125
target coordinates
45 (4, 4) p1 p0 (2, 2)
7. Cut from p4 to p5
5 2.5 p2 1 p3 p4 p5
Linear interpolation
45 (4, 4) p1 p0 (2, 2)
8. Cut from p5 to p1
5 2.5 p2 1 p3 p4 p5
Linear interpolation
5
end of data
N100 M00
program stop
Define Tool
CNC data