5 Programming Tool Movements
L.
. --
.-
L
L
-
.-
5.6 Path Contours - FK Free Contour Programming
Example 2 for exercise in FK free contour programming
Part program
0 BEGIN PGM FKEXAMPZ MM
1 BLK FORM 0.1 Z X+0 Y+O Z-20
2
BLK FORM 0.2 X+100 Y+lOO Z+O
3 TOOL DEF 1 L+O R+5
4
TOOL CALL 1 Z SIOOO
5 L Z+lOO RO F MAX M6
6 L X+30 Y+30 RO F MAX
7
FPOL X+30 Y+30
8 L Z-IO F250 M3
9 L X+0 Y+30 RR FIOO
IO RND5
11 FC DR- R30 CCX+30 CCY+30
12 FL AN+60 PDX+30 PDY+30 D+lO
13 FSELECT 3
14 FC DR- R20 CCPR+55 CCPA+GO
15 FSELECT 2
16 FL AN-l 20 PDX+30 PDY+30 D+lO
17 FSELECT 3
18 FC X+0 Y+30 DR- CCX+30 CCY+30
19 FSELECT 2
20 RND 5
21 L X+30 Y+30 RO F MAX
22 L Z+lOO RO F MAX M2
23 END PGM FKEXAMP2 MM
IOO-
30-
Program block Contour element
7
FPOL
11
Circular arc FC
12 Straight line FL
14
Circular arc FC
16 Straight line FL
18 Circular arc FC
Known data
FK input
l
Cartesian coordinates
KY
l
Direction of rotation
DR
l
Radius R
l
Cartesian circle center coordinates CCX, CCY
l
Gradient angle AN
l
Auxiliary point outside of a PDX, PDY
straight line
l
Distance straight line - aux. point D
l
Direction of rotation DR
l
Radius R
l
Polar circle center coordinates CCPA, CCPR
l
Gradient angle AN
l
Auxiliary point outside of a
straight line PDX, PDY
l
Distance straight line - aux. point D
l
Cartesian coordinates of the
end point
x. y
l
Direction of rotation DR
l
Cartesian circle center coordinates CCX, CCY
L
TNC 370
5-49