HEIDENHAIN TNC 122 User Manual User Manual
Page 42

5
Programming
42
TNC 122
Linear hole patterns
Program blocks
0
BEGIN PGM 50
Start of program, program number
1
F 9999
High feed rate for pre-positioning
2
Z+20.000
Clearance height
3
M 3
Spindle ON, clockwise
4
CYCL LINEAR PATT
The data for the LINEAR PATTERN cycle follow this block
5
H.1 X= 20.000
X coordinate of first hole
6
H.1 Y= 15.000
Y coordinate of first hole
7
NO.HL= 4
Number of holes per row
8
HL.SPC= 10.000
Distance between holes on the row
9
ANGLE= 18.000
Angle between the rows and the X axis
10
DEPTH= –8.000
Depth of the holes
11
NO.RW= 3
Number of rows
12
RW.SPC= 12.000
Spacing between rows
13
M 2
Stop program run, spindle STOP, coolant OFF
14
END PGM 50
End of program, program number
The hole pattern is then executed in the PROGRAM RUN mode of opera-
tion (see Chapter 7).
1
2
ENT
N O . R W =
R W . S P C =
3
ENT
Enter the spacing between rows ( RW.SPC = 12 mm ).
Confirm your entry.
Enter the number of rows (NO.RW = 3 ).
Confirm your entry.
8
ENT
D E P T H =
Enter the DEPTH of the holes ( – 8 mm ).
Confirm your entry.