Example: Groups Of Holes With Several Tools - HEIDENHAIN TNC 426 B User Manual

Table of Contents

Advertisement

14
LBL 1
15
CYCL CALL
16
L IX+2
R
F MAX M99
17
L IY+2
R
F MAX M99
18
L IX-2
R
F MAX M99
19
LBL
2
END PGM UP1 MM

Example: Groups of holes with several tools

Program sequence
Program the fixed cycles in the main program
Call the entire hole pattern (subprogram 1)
Approach the group of holes in subprogram 1,
call group of holes (subprogram 2)
Program the group of holes only once in
subprogram 2
BEGIN PGM UP2 MM
1
BLK FORM
.1 Z X+
Y+
2
BLK FORM
.2 X+1
Y+1
3
TOOL DEF 1 L+
R+4
4
TOOL DEF 2 L+
R+3
5
TOOL DEF 3 L+
R+3.5
6
TOOL CALL 1 Z S5
7
L Z+25
R
F MAX
248
www.EngineeringBooksPdf.com
Beginning of subprogram 1: Group of holes
1st hole
Move to 2nd hole, call cycle
Move to 3rd hole, call cycle
Move to 4th hole, call cycle
End of subprogram 1
100
60
10
Z-2
Z+
Define tool: center drill
Tool definition: drill
Define tool: reamer
Call tool: center drill
Retract the tool
Y
5
20
15
45
75
9 Programming: Subprograms and Program Section Repeats
Y
X
Z
100
-15
-20

Advertisement

Table of Contents
loading

Table of Contents