beautypg.com

HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 159

background image

TNC 425/TNC 415 B/TNC 407

5–60

5

Programming Tool Movements

5.6

Contours – FK Free Contour Programming

Example 2 for exercise in FK free contour programming

Part program

0

BEGIN PGM FKEXAMP2 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 S1000

5

L Z+100 R0 F MAX M6

6

APPR CT X+0 Y+30 Z–10
CCA90 R+20 RR F100 M3

7

FPOL X+30 Y+30

8

FC DR– R30 CCX+30 CCY+30

9

FL AN+60 PDX+30 PDY+30 D+10

10

FSELECT 3

11

FC DR– R20 CCPR+55 CCPA+60

12

FSELECT 2

13

FL AN–120 PDX+30 PDY+30 D+10

14

FSELECT 3

15

FC X+0 Y+30 DR– CCX+30 CCY+30

16

FSELECT 2

17

DEP CT CCA180 R+10 F100

18

L Z+100 R0 F MAX M2

19

END PGM FKEXAMP2 MM

Program block

Contour element

Known data

FK input

7

FPOL

• Cartesian coordinates

X,Y

8

Circular arc FC

• Direction of rotation

DR

• Radius

R

• Cartesian circle center coordinates CCX, CCY

9

Straight line FL

• Gradient angle

AN

• Auxiliary point outside of a

PDX, PDY

straight line

• Distance straight line - aux. point

D

11

Circular arc FC

• Direction of rotation

DR

• Radius

R

• Polar circle center coordinates

CCPA, CCPR

13

Straight line FL

• Gradient angle

AN

• Auxiliary point outside of a

straight line

PDX, PDY

• Distance straight line - aux. point

D

15

Circular arc FC

• Cartesian coordinates of the

end point

X, Y

• Direction of rotation

DR

• Cartesian circle center coordinates CCX, CCY

X

Y

60

°

55

6

15

9

11

8

13

100

30

100

30

20

R20