Вы находитесь на странице: 1из 8

11-04-2011

CNC programming (Manual part programming) Preparatory Functions


CNC programming format
G00 Rapid Transverse
• Sequence number function. This is the first word of a block G01 Linear Interpolation
that is represented by letter N followed by three digits. The RS274-D is a word address format G02 Circular Interpolation, CW
G03 Circular Interpolation, CCW
• Preparatory functions. The word addresses or G codes relate G17 XY Plane,G18 XZ Plane,G19 YZ Plane
the various capabilities or functions of particular NC machine Each line of program == 1 block G20/G70 Inch units
G21/G71 Metric Units
tools. These are used as prefixes in developing the NC words G40 Cutter compensation cancel
Each block is composed of several instructions, or (words)
used in the programs to command specific machine functions. G41 Cutter compensation left
G42 Cutter compensation right
• Dimensional data function. This is represented by a symbol G43 Tool length compensation (plus)
Sequence and format of words:
followed by five to eight digits G44 Tool length compensation (minus)
N3 G2 X+1.4 Y+1.4 Z+1.4 I1.4 J1.4 K1.4 F3.2 S4 T4 M2 G49 Tool length compensation cancel
• Feed rate function. This is expressed by the letter F plus three G53 Cancel previous work zero
digits. The digits may represent the feed rate in millimeters G57 To set working zero save
destination coordinates dist to center of circle tool G80 Cancel canned cycles
per minute, millimeters per revolution sequence no
G81 Drilling cycle
• Tool selection. Information regarding the tool is given by a feed rate G82 Counter boring cycle
preparatory function G83 Deep hole drilling cycle canned cycle
word prefixed by the letter T followed by a numerical code for G84 Turning canned cycle
spindle speed miscellaneous function
the tool in use. G90 Absolute positioning
G91 Incremental positioning

Plane identifiers Manual Part Programming Example

5”
2.5”
p4
p2 p3 p5

1”

Tool size = 0.25 inch,


5” Feed rate = 6 inch per minute,
Cutting speed = 300 rpm,
Tool start position: 2.0, 2.0
Programming in inches
45°

(4, 4)
p1
Motion of tool:
p0  p1  p2  p3  p4  p5  p1  p0
p0 (2, 2)

1
11-04-2011

1. Set up the programming parameters 2. Set up the machining conditions 3. Move tool from p0 to p1 in straight line

5” 5” 5”
2.5” 2.5” 2.5”
p4 p4 p4
p2 p3 p5 p2 p3 p5 p2 p3 p5

Linear interpolation
1” 1” 1”
Machine moves in XY-plane target coordinates
Programming in inches Use full-circle interpolation
5” 5” 5” N030 G01 X3.875 Y3.698
Use absolute coordinates Feed rate

Feed in ipm Spindle speed


45° 45° 45°
N010 G70 G90 G94 G97 M04 N020 G17 G75 F6.0 S300 T1001 M08
(4, 4) (4, 4) (4, 4)
p1 p1 p1
Spindle speed in rpm Tool no.
p0 (2, 2) p0 (2, 2) p0 (2, 2)
Spindle CCW Flood coolant ON

4. Cut profile from p1 to p2 5. Cut profile from p2 to p3 6. Cut along circle from p3 to p4

5” 5” 5”
2.5” 2.5” 2.5”
p2 p3
p4
p5 p2 p3
p4
p5 Linear interpolation p2 p3
p4
p5

target coordinates
1” 1” 1”

N050 G01 X5.634 Y9.125 circular interpolation, CCW motion


Linear interpolation

5” target coordinates 5” 5”
target coordinates
y = 9 + 0.125 = 9.125
N040 G01 X3.875 Y9.125 (6.5 - x)2 + 0.1252 = (1 - 0.125)2
x = 5.634
45° 45° p3 45° N060 G03 X7.366 Y9.125 I6.5 J9.0
or (x, y)
(4, 4) (4, 4) (4, 4) coordinates of center of circle
p1 N040 G01 Y9.125 p1 (6.5, 9) p1
.125

p0 (2, 2) p0 (2, 2) p0 (2, 2)

X-coordinate does not change  no need to program it 1”

7. Cut from p4 to p5 8. Cut from p5 to p1 9. Return to home position, stop program

5” 5” 5”
2.5” 2.5” 2.5”
p4 p4 p4
p2 p3 p5 p2 p3 p5 p2 p3 p5

1” 1” 1”
Linear interpolation

5” 5” 5” target coordinates (see step 3)


Linear interpolation
Linear interpolation N090 G01 X2.0 Y2.0 M30
target coordinates (see step 3)
45° target coordinates (Y is unchanged) 45° 45°
end of data
N080 G01 X3.875 Y3.698
(4, 4) N070 G01 X9.302 (4, 4) (4, 4)
N100 M00
p1 p1 p1

p0 (2, 2) p0 (2, 2) p0 (2, 2) program stop

2
11-04-2011

Programming Example
Cylindrical Part Programming Example (Cylindrical Part)
Program Interpretation
O0013
O0013
N0005 G53
N0010 T0303 Program identification number
N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100

Φ 25
Raw Material N0040 G00 Z2.0
N0050 X50.0 Z50.0
N0060 T0404
70
N0070 G57 G00 X22.50 Z2.0 S500
N0080 G01 Z-30.0 F100
N0090 G00 X23.0 Z2.0 S500

Φ 22.5
N0100 G84 X17.5 Z-20.0 D0=200 D2=200 D3=650

Φ 17.5
Finished Part N0110 G00 Z2.0
N0120 X50.0 Z50.0
N0130 M30
20
30

APT Program Interpretation Program Interpretation Program Interpretation


O0013
O0013
O0013 N0005 G53
N0005 G53 N0010 T0404
N0005 G53
To cancel any previous working zero point N0010 T0303
N0020 G57 G00 X26.0 Z0.0 S500 M04
G57 To set the working zero point as saved
N0010 Sequence number G00 Rapid movement (no cutting)
T0303 Select tool number 303 X26.0 X location (as a diameter; 13 form zero)
Z0.0 Z location
S500 Spindle speed is 500 rpm
M04 Rotate spindle counterclockwise
x
+ve

(0,0) +ve z

Program Interpretation Program Interpretation Program Interpretation


O0013 O0013
O0013 N0005 G53
N0005 G53
N0005 G53 N0010 T0404
N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04
N0010 T0404 N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100
N0020 G57 G00 X26.00 Z0.0 S500 M04 N0030 G01 X-0.20 F100
N0040 G00 Z2.0
N0030 G01 X-0.20 F100 N0040 G00 Z2.0
G00 Move rapidly away from work piece (no cutting) N0050 X50.0 Z50.0
G01 Linear interpolation (cutting)
X-0.20 Move only in x direction until you pass Z2.0 the movement is 2 mm away from the face. Go to a safe location away from the
the center by 0.1 mm (facing) workpiece [x = 50 (25 from zero), z = 50] to
F100 Set feed rate to 100 mm/min. change the tool.

3
11-04-2011

Program Interpretation Program Interpretation


Program Interpretation
O0013
O0013 O0013
N0005 G53
N0005 G53 N0005 G53
N0010 T0404
N0010 T0404 N0020 G57 G00 X26.00 Z0.0 S500 M04 N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04 N0030 G01 X-0.20 F100 N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100 N0040 G00 Z2.0 N0030 G01 X-0.20 F100
N0040 G00 Z2.0 N0050 X50.0 Z50.0 N0040 G00 Z2.0
N0050 X50.0 Z50.0 N0060 T0404 N0050 X50.0 Z50.0
N0060 T0404 N0070 G57 G00 X22.50 Z2.0 S500 N0060 T0404
N0070 G57 G00 X25.00 Z2.0 S500 M04
T0404 Select tool number 404 G57 PS0
N0080 G01 Z-30.0 F100
G00 Rapid movement (no cutting)
X22.50 X location (as a diameter; 11.25 form zero) G01 Linear interpolation (cutting)
Z2.0 Z location Z-30 Move only in z direction (external turning)
S500 Spindle speed is 500 rpm F100 Set feed rate to 100 mm/min.

Program Interpretation O0013


Program Interpretation Program Interpretation
N0005 G53 O0013
O0013 N0010 T0404 N0005 G53
N0020 G57 G00 X26.00 Z0.0 S500 M04 N0010 T0404
N0005 G53 N0030 G01 X-0.20 F100 N0020 G57 G00 X26.00 Z0.0 S500 M04
N0010 T0404 N0040 G00 Z2.0 N0030 G01 X-0.20 F100
N0020 G57 G00 X26.00 Z0.0 S500 M04 N0050 X50.0 Z50.0 N0040 G00 Z2.0
N0030 G01 X-0.20 F100 N0060 T0404 N0050 X50.0 Z50.0
N0040 G00 Z2.0 N0070 G57 G00 X25.00 Z2.0 S500 M04 N0060 T0404
N0050 X50.0 Z50.0 N0080 G01 X22.5 Z-70.0 F100 N0070 G57 G00 X25.00 Z2.0 S500 M04
N0060 T0404 N0090 G00 X26.0 Z2.0 S500 N0080 G01 X22.5 Z-70.0 F100
N0070 G57 G00 X25.00 Z2.0 S500 M04 N0100 G84 X17.5 Z-20.0 D0=200 D2=200 D3=650 N0090 G00 X26.0 Z2.0 S500
N0080 G01 X22.5 Z-70.0 F100 G84 Turning cycle for machining the step N0100 G84 X17.5 Z-20.0 D0=200 D2=200 D3=650
N0090 G00 X23.0 Z2.0 S500 X17.5 final diameter N0110 G00 Z2.0
G00 Move rapidly away from work piece (no cutting) to Z-20 length of step is 20 mm
G00 Move rapidly away from workpiece (no cutting)
D0=200 Finish allowance in X direction (0.2 mm) D2=200 Finish
location x= 23.0 (11.50 from zero) and z = 2.0. allowance in Z direction (0.2 mm) Z2.0 the movement is 2 mm away from the face.
D3=650 Depth of cut in each pass (0.65 mm)

Program Interpretation Program Interpretation Programming Example


O0013 O0013

N0005 G53 N0005 G53 Raw Material Finished Part


N0010 T0404 N0010 T0404
N0020 G57 G00 X26.00 Z0.0 S500 M04 N0020 G57 G00 X26.00 Z0.0 S500 M04
N0030 G01 X-0.20 F100 N0030 G01 X-0.20 F100
N0040 G00 Z2.0 N0040 G00 Z2.0
N0050 X50.0 Z50.0 N0050 X50.0 Z50.0
N0060 T0404 N0060 T0404
N0070 G57 G00 X25.00 Z2.0 S500 M04 N0070 G57 G00 X25.00 Z2.0 S500 M04
N0080 G01 X22.5 Z-70.0 F100 N0080 G01 X22.5 Z-70.0 F100
N0090 G00 X26.0 Z2.0 S500 N0090 G00 X26.0 Z2.0 S500
N0100 G84 X17.5 Z-20.0 D0=200 D2=200 D3=650 N0100 G84 X17.5 Z-20.0 D0=200 D2=200 D3=650
N0110 G00 Z2.0 N0110 G00 Z2.0
N0120 X50.0 Z50.0 N0120 X50.0 Z50.0 T00
N0130 M30
X50.0 Z50.0 Move to the tool changing location
M30 Program End

4
11-04-2011

y y
Programming Example Programming Example Program Interpretation
G55 X200 Y80
G55 X200 Y80 Tool Change
Program 1 G55 X200 Y80 Setting the datum to the lower left corner of the work piece
N001 M06 T1 Program 2
N002 M03 rpm 400 N001 M06 T2
x x N002 M03 rpm 400
N003 G01 X-8 Y0 Z0 XYFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150
N004 G01 X-8 Y0 Z-0.5 ZFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N005 G01 X70 Y0 Z-0.5 XYFeed 75
N005 G01 X20 Y15 Z-10 ZFeed 75
N006 G01 X70 Y60 Z-0.5 XYFeed 75
N006 G01 X20 Y15 Z10 ZFeed 150
N007 G01 X30 Y60 Z-0.5 XYFeed 75
N007 G01 X50 Y15 Z10 ZFeed 150
N008 G01 X0 Y40 Z-0.5 XYFeed 75 N008 G01 X50 Y15 Z-10 ZFeed 75
N009 G01 X0 Y0 Z-0.5 XYFeed 75 N009 G01 X50 Y15 Z10 ZFeed 150
N010 G81 R3 E9 N7 Z-0.5 N010 G01 X50 Y45 Z10 ZFeed 150
N011 M05 N011 G01 X50 Y45 Z-10 ZFeed 75
N012 M02 N012 G01 X50 Y45 Z10 ZFeed 150
N013 M05
N014 M02

Program Interpretation Program Interpretation Program Interpretation


G55 X200 Y80
G55 X200 Y80
Program 1
G55 X200 Y80 Program 1
Program 1 N001 M06 T1
Program Identification Number N002 M03 rpm 400
N001 M06 T1

N001 Sequence Number Start rotating the spindle clockwise with 400
M06 Tool Change (End Mill with rpm
Diameter=12mm
T1 Tool Number

Program Interpretation
Program Interpretation Program Interpretation
G55 X200 Y80
Program 1
G55 X200 Y80
G55 X200 Y80 Program 1 N001 M06 T1
Program 1 N001 M06 T1 N002 M03 rpm 400
N001 M06 T1 N002 M03 rpm 400 N003 G01 X-8 Y0 Z0 XYFeed 150
N002 M03 rpm 400 N003 G01 X-8 Y0 Z0 XYFeed 150 N004 G01 X-8 Y0 Z-0.5 ZFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150 N004 G01 X-8 Y0 Z-0.5 ZFeed 150 N005 G01 X70 Y0 Z-0.5 XYFeed 75

Go to Safe Position with feed 150mm/min Move from the lower left corner
Lower the end mill to determine the depth of
of the work piece to the right
cut
lower one cutting with
feed=75mm/min

5
11-04-2011

Program Interpretation Program Interpretation Program Interpretation


G55 X200 Y80
G55 X200 Y80
G55 X200 Y80 Program 1
Program 1
Program 1 N001 M06 T1
N001 M06 T1
N001 M06 T1 N002 M03 rpm 400
N002 M03 rpm 400
N002 M03 rpm 400 N003 G01 X-8 Y0 Z0 XYFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150 N004 G01 X-8 Y0 Z-0.5 ZFeed 150
N004 G01 X-8 Y0 Z-0.5 ZFeed 150
N004 G01 X-8 Y0 Z-0.5 ZFeed 150 N005 G01 X70 Y0 Z-0.5 XYFeed 75
N005 G01 X70 Y0 Z-0.5 XYFeed 75
N005 G01 X70 Y0 Z-0.5 XYFeed 75 N006 G01 X70 Y60 Z-0.5 XYFeed 75
N006 G01 X70 Y60 Z-0.5 XYFeed 75
N006 G01 X70 Y60 Z-0.5 XYFeed 75 N007 G01 X30 Y60 Z-0.5 XYFeed 75
N007 G01 X30 Y60 Z-0.5 XYFeed 75
N008 G01 X0 Y40 Z-0.5 XYFeed 75
Move from the lower left corner of the
Cutting the horizontally up to
work piece to the right lower one cutting Cutting to X=0 & Y=40
with feed=75mm/min X=30

Program Interpretation Program Interpretation Program Interpretation


G55 X200 Y80 G55 X200 Y80
Program 1 Program 1
G55 X200 Y80
N001 M06 T1 N001 M06 T1 Program 1
N002 M03 rpm 400 N002 M03 rpm 400 N001 M06 T1
N003 G01 X-8 Y0 Z0 XYFeed 150 N003 G01 X-8 Y0 Z0 XYFeed 150 N002 M03 rpm 400
N004 G01 X-8 Y0 Z-0.5 ZFeed 150 N004 G01 X-8 Y0 Z-0.5 ZFeed 150 N003 G01 X-8 Y0 Z0 XYFeed 150
N005 G01 X70 Y0 Z-0.5 XYFeed 75 N005 G01 X70 Y0 Z-0.5 XYFeed 75 N004 G01 X-8 Y0 Z-0.5 ZFeed 150
N006 G01 X70 Y60 Z-0.5 XYFeed 75 N006 G01 X70 Y60 Z-0.5 XYFeed 75 N005 G01 X70 Y0 Z-0.5 XYFeed 75
N007 G01 X30 Y60 Z-0.5 XYFeed 75 N007 G01 X30 Y60 Z-0.5 XYFeed 75 N006 G01 X70 Y60 Z-0.5 XYFeed 75
N008 G01 X0 Y40 Z-0.5 XYFeed 75 N008 G01 X0 Y40 Z-0.5 XYFeed 75 N007 G01 X30 Y60 Z-0.5 XYFeed 75
N009 G01 X0 Y0 Z-0.5 XYFeed 75 N009 G01 X0 Y0 Z-0.5 XYFeed 75
N008 G01 X0 Y40 Z-0.5 XYFeed 75
N010 G81 R3 E9 N7 Z-0.5 N009 G01 X0 Y0 Z-0.5 XYFeed 75
Complete the countering N010 G81 R3 E9 N7 Z-0.5
Repeat 7 times blocks from N003 to N009 N011 M05
with incremental offset of Z=-0.5
Spindle Off

Program Interpretation Program Interpretation Program Interpretation


Tool Change
G55 X200 Y80
G55 X200 Y80
Program 1 Tool Change
N001 M06 T1 Setting the datum to the lower left corner of the work piece
N002 M03 rpm 400 Changing the tool
N003 G01 X-8 Y0 Z0 XYFeed 150
N004 G01 X-8 Y0 Z-0.5 ZFeed 150
N005 G01 X70 Y0 Z-0.5 XYFeed 75
N006 G01 X70 Y60 Z-0.5 XYFeed 75
N007 G01 X30 Y60 Z-0.5 XYFeed 75
N008 G01 X0 Y40 Z-0.5 XYFeed 75
N009 G01 X0 Y0 Z-0.5 XYFeed 75
N010 G81 R3 E9 N7 Z-0.5
N011 M05
N012 M02

End Program

6
11-04-2011

Program Interpretation Program Interpretation Program Interpretation


Tool Change
G55 X200 Y80 Tool Change Tool Change
Program 2 G55 X200 Y80 G55 X200 Y80
Program 2 Program 2
Program Identification Number N001 M06 T2 N001 M06 T2
N002 M03 rpm 400
N001 Sequence Number
M06 Tool Change (Drill with Diameter=6mm Start rotating the spindle clockwise with 400
T2 Tool Number rpm

Program Interpretation Program Interpretation Program Interpretation

Tool Change Tool Change


Tool Change
G55 X200 Y80 G55 X200 Y80
G55 X200 Y80
Program 2 Program 2
Program 2
N001 M06 T2 N001 M06 T2
N001 M06 T2
N002 M03 rpm 400 N002 M03 rpm 400
N002 M03 rpm 400
N003 G01 X-8 Y0 Z0 XYFeed 150 N003 G01 X-8 Y0 Z0 XYFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150 N004 G01 X20 Y15 Z10 XYFeed 150
ZFeed 150
Go to Safe Position with feed 150mm/min N005 G01 X20 Y15 Z-10 ZFeed 75
Stop above the center of the first hole
Start Drill the first hole

Program Interpretation Program Interpretation Program Interpretation


Tool Change
Tool Change G55 X200 Y80
Tool Change
G55 X200 Y80 Program 2
G55 X200 Y80
Program 2 N001 M06 T2
Program 2
N001 M06 T2 N002 M03 rpm 400
N001 M06 T2
N002 M03 rpm 400 N003 G01 X-8 Y0 Z0 XYFeed 150
N002 M03 rpm 400
N003 G01 X-8 Y0 Z0 XYFeed 150 N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150 N005 G01 X20 Y15 Z-10 ZFeed 75
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N005 G01 X20 Y15 Z-10 ZFeed 75 N006 G01 X20 Y15 Z10 ZFeed 150
N005 G01 X20 Y15 Z-10 ZFeed 75
N006 G01 X20 Y15 Z10 ZFeed 150 N007 G01 X50 Y15 Z10 ZFeed 150
N006 G01 X20 Y15 Z10 ZFeed 150
N007 G01 X50 Y15 Z10 ZFeed 150 N008 G01 X50 Y15 Z-10 ZFeed 75
Retract to a position above the hole
Stop above the center of the second hole Drill the second hole

7
11-04-2011

Program Interpretation Program Interpretation


Program Interpretation
Tool Change Tool Change
G55 X200 Y80 Tool Change G55 X200 Y80
Program 2 G55 X200 Y80 Program 2
N001 M06 T2 Program 2 N001 M06 T2
N002 M03 rpm 400 N001 M06 T2 N002 M03 rpm 400
N003 G01 X-8 Y0 Z0 XYFeed 150 N002 M03 rpm 400 N003 G01 X-8 Y0 Z0 XYFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150 N003 G01 X-8 Y0 Z0 XYFeed 150 N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N005 G01 X20 Y15 Z-10 ZFeed 75 N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150 N005 G01 X20 Y15 Z-10 ZFeed 75
N006 G01 X20 Y15 Z10 ZFeed 150 N005 G01 X20 Y15 Z-10 ZFeed 75 N006 G01 X20 Y15 Z10 ZFeed 150
N007 G01 X50 Y15 Z10 ZFeed 150 N006 G01 X20 Y15 Z10 ZFeed 150 N007 G01 X50 Y15 Z10 ZFeed 150
N008 G01 X50 Y15 Z-10 ZFeed 75 N007 G01 X50 Y15 Z10 ZFeed 150 N008 G01 X50 Y15 Z-10 ZFeed 75
N009 G01 X50 Y15 Z10 ZFeed 150 N008 G01 X50 Y15 Z-10 ZFeed 75 N009 G01 X50 Y15 Z10 ZFeed 150
N009 G01 X50 Y15 Z10 ZFeed 150 N010 G01 X50 Y45 Z10 ZFeed 150
Retract to a position above the second hole N010 G01 X50 Y45 Z10 ZFeed 150 N011 G01 X50 Y45 Z-10 ZFeed 75

Stop above the center of the third hole Drill the third hole

Program Interpretation Program Interpretation Program Interpretation


Tool Change Tool Change
Tool Change G55 X200 Y80
G55 X200 Y80
G55 X200 Y80 Program 2
Program 2
Program 2 N001 M06 T2
N001 M06 T2
N001 M06 T2 N002 M03 rpm 400
N002 M03 rpm 400
N002 M03 rpm 400 N003 G01 X-8 Y0 Z0 XYFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150
N003 G01 X-8 Y0 Z0 XYFeed 150 N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150 N005 G01 X20 Y15 Z-10 ZFeed 75
N005 G01 X20 Y15 Z-10 ZFeed 75
N005 G01 X20 Y15 Z-10 ZFeed 75 N006 G01 X20 Y15 Z10 ZFeed 150
N006 G01 X20 Y15 Z10 ZFeed 150
N006 G01 X20 Y15 Z10 ZFeed 150 N007 G01 X50 Y15 Z10 ZFeed 150
N007 G01 X50 Y15 Z10 ZFeed 150
N007 G01 X50 Y15 Z10 ZFeed 150 N008 G01 X50 Y15 Z-10 ZFeed 75
N008 G01 X50 Y15 Z-10 ZFeed 75
N008 G01 X50 Y15 Z-10 ZFeed 75 N009 G01 X50 Y15 Z10 ZFeed 150
N009 G01 X50 Y15 Z10 ZFeed 150
N009 G01 X50 Y15 Z10 ZFeed 150 N010 G01 X50 Y45 Z10 ZFeed 150
N010 G01 X50 Y45 Z10 ZFeed 150
N010 G01 X50 Y45 Z10 ZFeed 150 N011 G01 X50 Y45 Z-10 ZFeed 75
N011 G01 X50 Y45 Z-10 ZFeed 75
N011 G01 X50 Y45 Z-10 ZFeed 75 N012 G01 X50 Y45 Z10 ZFeed 150
N012 G01 X50 Y45 Z10 ZFeed 150
N012 G01 X50 Y45 Z10 ZFeed 150 N013 M05
N013 M05
Spindle off N014 M02
Retract to a position above the third hole End Program

Program Interpretation
Tool Change
G55 X200 Y80
Program 2
N001 M06 T2
N002 M03 rpm 400
N003 G01 X-8 Y0 Z0 XYFeed 150
N004 G01 X20 Y15 Z10 XYFeed 150 ZFeed 150
N005 G01 X20 Y15 Z-10 ZFeed 75
N006 G01 X20 Y15 Z10 ZFeed 150
N007 G01 X50 Y15 Z10 ZFeed 150
N008 G01 X50 Y15 Z-10 ZFeed 75
N009 G01 X50 Y15 Z10 ZFeed 150
N010 G01 X50 Y45 Z10 ZFeed 150
N011 G01 X50 Y45 Z-10 ZFeed 75
N012 G01 X50 Y45 Z10 ZFeed 150
N013 M05
N014 M02
End Program

Вам также может понравиться