CNC Machines
CNC Machines
Motivation
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)
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.
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
N010 G70 G90 G94 G97 M04 N020 G17 G75 F6.0 S300 T1001 M08 N030 G01 X3.875 Y3.698 N040 G01 X3.875 Y9.125 N050 G01 X5.634 Y9.125 N060 G03 X7.366 Y9.125 I0.866 J-0.125 N070 G01 X9.302 N080 G01 X3.875 Y3.698 N090 G01 X2.0 Y2.0 M30
Define Tool
CNC data
Summary