HEIDENHAIN NC 124 User Manual
Page 90

7
Drilling, Milling Cycles and Hole Patterns in Programs
90
TNC 124
Hole Patterns in Programs
Program blocks
0
BEGIN PGM 50 MM
Start of program, program number, unit of measurement
1
F 9999
High feed rate for pre-positioning
2
Z+600
Tool-change position
3
TOOL CALL 5 Z
Call the tool for pecking, such as tool 5, tool axis Z
4
S 1000
Spindle speed
5
M 3
Spindle ON, clockwise
6
CYCL 1.0 PECKING
Cycle data for Cycle 1.0 PECKING follow
7
CYCL 1.1 HEIGHT
+50
Clearance height
8
CYCL 1.2 DIST
2
Setup clearance above the workpiece surface
9
CYCL 1.3 SURF
+ 0
Absolute coordinate of the workpiece surface
10
CYCL 1.4 DEPTH
–15
Hole depth
11
CYCL 1.5 PECKG
5
Depth per infeed
12
CYCL 1.6 DWELL
0.5
Dwell time at bottom of hole
13
CYCL 1.7 F
80
Machining feed rate
14
CYCL 7.0 LINEAR HOLE PATTN
Cycle data for Cycle 7.0 LINEAR HOLE PATTN follow
15
CYCL 7.1 POSX
+20
X coordinate of first hole
1
16
CYCL 7.2 POSY
+15
Y coordinate of first hole
1
17
CYCL 7.3 NO.HL
4
Number of holes per row
18
CYCL 7.4 HLSPC
+10
Distance between holes on the row
19
CYCL 7.5 ANGLE
+18
Angle between the rows and the X axis
20
CYCL 7.6 NO.RW
3
Number of rows
21
CYCL 7.7 RWSPC
+12
Spacing between rows
22
CYCL 7.8 TYPE
1:PECK
Pecking
23
M 2
Stop program run, spindle STOP, coolant OFF
24
END PGM 50 MM
End of program, program number, unit of measurement
The hole pattern is then executed in the operating mode
PROGRAM RUN
(see Chapter 10).