HEIDENHAIN TNC 407 (280 580) User Manual User Manual
Page 139

TNC 425/TNC 415 B/TNC 407
5-40
5
Programming Tool Movements
Path Contours - Polar Coordinates
Calculating the input values
• Total height H:
H = P
.
n
P = 1.5 mm
n = n
R
+ n
S
+ n
E
= 9
H = 13.5 mm
• Incremental polar coordinate angle IPA:
IPA = n
.
360°
n = 9 (see total height H)
IPA = 360°
.
9 = 3240°
• Start angle A
S
with thread overrun n
S:
n
S
= 0.5
The starting angle of the helix is advanced by 180° (n=1 corresponds
to 360°). With positive rotation this means
A
S
with n
S
= A
S
– 180° = –180°
• Starting coordinate:
Z =
P
.
(n
R
+ n
S
)
= –1.5
.
8.5 mm
= –12.75 mm
The thread is being cut in an upward direction towards Z
E
= 0; there-
fore Z
S
is negative.
Part program
0
BEGIN PGM THREAD 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+5
4
TOOL CALL 1 Z S 1500
5
L Z+100 R0 F MAX M6
6
L X+50 Y+50 F MAX
7
CC
8
L Z-12.75 R0 F MAX M3
9
APPR PCT PR+32 PA–180 CCA180 R+20 RL F100
10
CP IPA +3240 IZ+13.5 DR+ F200
11
DEP CT CCA180 R+10
12
L Z+100 FMAX M2
13
END PGM THREAD MM
Part program for more than 15 revolutions (see also Chapter 6)
•
8
L Z-12.75 R0 F MAX M3
9
APPR PCT PR+32 PA–180 CCA180 R+20 RL F100
10
LBL 1 .................................................................. Label the starting block for a program section repetition
11
CP IPA +360 IZ+1.5 DR+ F200 .......................... Enter the pitch directly as an IZ value
12
CALL LBL 1 REP 24 ........................................... Program the number of revolutions
13
DEP CT CCA180 R+10
•
A =0
°
E
A =0
°
S
A = 0
°
DR+
A = –180
°
Example for exercise: Tapping
Given Data
Thread:
Right-hand internal thread M64 × 1.5
Pitch P:
1.5 mm
Start angle A
S
0°
End angle A
E
:
360° = 0° at Z
E
= 0
Thread revolutions n
R
:
8
Thread overrun:
• at start of thread n
S
:
0.5
• at end of thread n
E
:
0.5
Number of cuts:
1