beautypg.com

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

Page 135

background image

TNC 425/TNC 415 B/TNC 407

5-36

5

Programming Tool Movements

5.5

Path Contours - Polar Coordinates

Example exercise: Milling a full circle

Circle center
coordinates:

X

= 50 mm

Y

= 50 mm

Radius:

R

= 50 mm

Milling depth:

Z

= –5 mm

Tool radius:

R

= 15 mm

Part program

0

BEGIN PGM POLCIRC 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+15

4

TOOL CALL 1 Z S1000

5

CC X+50 Y+50

6

L Z+100 R0 F MAX M6

7

APPR LN X+50 Y+0 Z-5 LEN+20 RL F100 M3

8

CP PA+270 DR– ........................................................... Circle to end point PA = 270°, negative direction of

rotation

9

DEP CT CCA180 R+20 F100

10 L Z+100 F MAX M2
11 END PGM POLCIRC MM

–5

100

100

50

50

Y

X

Z

CC

General data and first contour point

Retract tool and end program