HEIDENHAIN TNC 426 B User Manual page 182

Table of Contents

Advertisement

Example: Drilling cycles
Program sequence
Program the drilling cycle in the main program
Program the machining operation in a subprogram
(see section 9 "Programming: Subprograms and
Program Section Repeats")
0
BEGIN PGM
18 MM
1
BLK FORM 0.1 Z X+0 Y+0 Z-20
2
BLK FORM 0.2 X+100 Y+100 Z+0
3
TOOL DEF 1 L+0 R+6
4
TOOL
ALL 1 Z S100
5
L Z+250 R0 F MAX
6
Y L DEF 18.0 THREAD
7
Y L DEF 18.1 DEPTH +30
8
Y L DEF 18.2 PIT H -1.75
9
L X+20 Y+20 R0 F MAX
10
ALL LBL 1
11
L X+70 Y+70 R0 F MAX
12
ALL LBL 1
13
L Z+250 R0 F MAX M2
14
LBL 1
15
Y L DEF 13.0 ORIENTATION
16
Y L DEF 13.1 ANGLE 0
17
L IX-2 R0 F1000
18
L Z+5 R0 F MAX
19
L Z-30 R0 F1000
20
L IX+2
21
Y L
ALL
22
L Z+5 R0 F MAX
23
LBL 0
24
END PGM
18 MM
HEIDENHAIN TNC 426 B, TNC 430
www.EngineeringBooksPdf.com
Define the workpiece blank
Define the tool
Call the tool
Retract the tool
UTTING
Define THREAD CUTTING cycle
Approach hole 1
Call subprogram 1
Approach hole 2
Call subprogram 1
Retract tool, end of main program
Subprogram 1: Thread cutting
Orient spindle (makes it possible to cut repeatedly)
Tool offset to prevent collision during tool infeed (dependent on
core diameter and tool)
Pre-position in rapid traverse
Move to starting depth
Reset the tool to hole center
Call Cycle 18
Retract tool
End of subprogram 1
Y
100
70
20
20
70
X
100
167

Advertisement

Table of Contents
loading

Table of Contents