beautypg.com

Example: fk programming 3 – HEIDENHAIN TNC 640 (34059x-02) User Manual

Page 240

background image

Programming: Programming contours

6.6

Path contours – FK free contour programming

6

240

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 5/2013

Example: FK programming 3

0 BEGIN PGM FK3 MM
1 BLK FORM 0.1 Z X-45 Y-45 Z-20

Definition of workpiece blank

2 BLK FORM 0.2 X+120 Y+70 Z+0
3 TOOL CALL 1 Z S4500

Tool call

4 L Z+250 R0 FMAX

Retract the tool

5 L X-70 Y+0 R0 FMAX

Pre-position the tool

6 L Z-5 R0 F1000 M3

Move to working depth

7 APPR CT X-40 Y+0 CCA90 R+5 RL F250

Approach the contour on a circular arc with tangential
connection

8 FC DR- R40 CCX+0 CCY+0

FK contour section:

9 FLT

Program all known data for each contour element

10 FCT DR- R10 CCX+0 CCY+50
11 FLT
12 FCT DR+ R6 CCX+0 CCY+0
13 FCT DR+ R24
14 FCT DR+ R6 CCX+12 CCY+0
15 FSELECT 2
16 FCT DR- R1.5
17 FCT DR- R36 CCX+44 CCY-10
18 FSELECT 2
19 FCT DR+ R5
20 FLT X+110 Y+15 AN+0
21 FL AN-90
22 FL X+65 AN+180 PAR21 DP30
23 RND R5
24 FL X+65 Y-25 AN-90
25 FC DR+ R50 CCX+65 CCY-75
26 FCT DR- R65
27 FSELECT 1
28 FCT Y+0 DR- R40 CCX+0 CCY+0
29 FSELECT 4
30 DEP CT CCA90 R+5 F1000

Depart the contour on a circular arc with tangential
connection

31 L X-70 R0 FMAX