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

Table of Contents

Advertisement

Example: Groups of holes

Example: Groups of holes
Program sequence
Approach the groups of holes in the main
program
Call the group of holes (subprogram 1)
Program the group of holes only once in
subprogram 1
BEGIN PGM UP1 MM
1
BLK FORM
.1 Z X+
Y+
2
BLK FORM
.2 X+1
Y+1
3
TOOL DEF 1 L+
R+2.5
4
TOOL CALL 1 Z S5
5
L Z+25
R
F MAX
6
CYCL DEF 2
DRILLING
Q2
=2
;SET-UP CLEARANCE
Q2 1=-1
;DEPTH
Q2 6=25
;FEED RATE FOR PLNGNG
Q2 2=5
;PLUNGING DEPTH
Q21 =
;DWELL TIME AT TOP
Q2 3=+
;SURFACE COORDINATE
Q2 4=1
;2ND SET-UP CLEARANCE
7
L X+15 Y+1
R
F MAX M3
8
CALL LBL 1
9
L X+45 Y+6
R
F MAX
1
CALL LBL 1
11 L X+75 Y+1
R
F MAX
12 CALL LBL 1
13 L Z+25
R
F MAX M2
HEIDENHAIN TNC 426 B, TNC 430
www.EngineeringBooksPdf.com
Z-2
Z+
Define the tool
Call the tool
Retract the tool
Cycle definition: drilling
Move to starting point for group 1
Call the subprogram for the group
Move to starting point for group 2
Call the subprogram for the group
Move to starting point for group 3
Call the subprogram for the group
End of main program
Y
100
60
20
10
15
45
5
X
75
100
247

Advertisement

Table of Contents
loading

Table of Contents