Chapter 7
133
UM10372_PCNC440_Manual_0221A
PROgRAMMiNg
Step # Description
1 G00 moon parallel to the XY-plane to (9,12,4.8)
2 G01 moon parallel to the Z-axis to (9,12, 4.2)
3 G00 moon parallel to the Z-axis to (9,12,4.8)
The third repeat consists of three moves. The X posion is reset to 13 (=9+4) and the Y posion to
17 (=12+5).
Step # Description
1 G00 moon parallel to the XY-plane to (13,17,4.8)
2 G01 moon parallel to the Z-axis to (13,17, 4.2)
3 G00 moon parallel to the Z-axis to (13,17,4.8)
Example Code using G81 Cycle:
(Sample Program G81EX18:)
(Workpiece Size: X4, Y3, Z1)
(Tool: Tool #6, 3/4” HSS DRILL)
(Tool Start Position: X0, Y0, Z1)
N2 G90 G80 G40 G54 G20 G17 G94 G64 (Safety Block)
N5 G90 G80 G20
N10 M06 T6 G43 H6
N15 M03 S1300
N20 G00 X1 Y1
N25 Z0.5
N30 G81 Z-0.25 R0.125 F5 (Drill Cycle Invoked)
N35 X2
N40 X3
N45 Y2
N50 X2
N55 X1
N60 G80 G00 Z1 (Cancel Canned Cycles)
N65 X0 Y0
N70 M05
N75 M30