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

5–61
TNC 425/TNC 415 B/TNC 407
Contours – FK Free Contour Programming
5
Programming Tool Movements
Example 3 for exercise in FK free contour programming
Part program
0
BEGIN PGM FKEXAMP3 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+2
4
TOOL CALL 1 Z S100
5
L Z+100 R0 F MAX M6
6
APPR LN X+0 Y+10 Z-10 LEN+20
RR F100 M3
7
FL X+90.65 PDX+75 PDY +7.5 D+2.5
8
FSELECT 1
9
FL IAN–135
10
FC DR+ R12.7 CCX+84.3 CCY+16.35
11
FLT PAR7
12
FSELECT 2
13
FCT DR –R10
14
FLT
15
FCT DR+ R7.94 CCX+76.2 ICCY+44.45
RCCY10
16
FLT PAR14
17
FCT DR+ R12.7 CCX+12.7 CCY+22.7
18
FLT X+0 Y+10
19
DEP LN LEN+15 F100
20
L Z+100 F MAX M2
21
END PGM FKEXAMP3 MM
Program block
Contour element
Known data
FK input
7
Straight line FL
• Cartesian X coordinate of the straight-line end point
X
• Auxiliary point outside of the straight line
PDX, PDY
• Distance between straight line and auxiliary point
D
9
Straight line FL
• Gradient angle relative to reference axis
IAN
10
Circular arc FC
• Direction of rotation
DR
• Radius
R
• Cartesian coordinates of circle center
CCX, CCY
11
Straight line FLT
• Parallel to element from block 7
PAR N
13
Circular arc FCT
• Direction of rotation
DR
• Radius
R
14
Straight line FLT
• None
15
Circular arc FCT
• Direction of rotation
DR
• Radius
R
• Cartesian coordinates of circle center
CCX, CCY
16
Straight line FLT
• Parallel to element from block 14
PAR N
17
Circular arc FCT
• Direction of rotation
DR
• Radius
R
• Cartesian coordinates of circle center
CCX, CCY
18
Straight line FLT
• Cartesian coordinates of a straight-line end point
X, Y
X
Y
12,7
R12,7
90,65
63,5
8,1
7
6,35
44,45
R12,7
135
°
R10
R7,94
15,88
18
17
16
15
14
11
13
10
9
12,7
10
75
7,5
Hilfspunkt
Auxiliary point