beautypg.com

Yx z cc – HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 123

background image

TNC 425/TNC 415 B/TNC 407

5-24

5

Programming Tool Movements

5.4

Path Contours - Cartesian Coordinates

Example for exercise: Milling a full circle in one block

Circle center CC:

X

= 50 mm

Y

= 50 mm

Beginning and end
of the circular arc C:

X

= 50 mm

Y

=

0 mm

Milling depth:

Z

= –5 mm

Tool radius:

R

= 15 mm

Part program

0

BEGIN CIRCLE MM .............................................. Begin program

1

BLK FORM 0.1 Z X+0 Y+0 Z-20 ............................ Define workpiece blank

2

BLK FORM 0.2 X+100 Y+100 Z+0

3

TOOL DEF 6 L+0 R+15 ........................................ Define tool

4

TOOL CALL 6 Z S500 ........................................... Call tool

5

CC X+50 Y+50 ...................................................... Coordinates of the circle center CC

6

L Z+100 R0 FMAX M6 .......................................... Change tool

7

APPR CT X+50 Y+0 Z–5 CCA90 R+20 RR F100 M3 .... Approach contour on a tangential arc

8

C X+50 Y+0 DR+ .................................................. Mill circular arc C around circle center CC; End point coor-

dinates X=+50 mm and Y=0; positive direction of rotation

9

DEP CT CCA180 R+30 F100 ................................. Depart contour on a tangential arc

10 L Z +100 F MAX M2 ............................................. Retract tool and end program
11 END PGM CIRCLE MM ........................................ End of program

–5

50

50

Y

X

Z

CC