beautypg.com

Xy z – HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 117

background image

TNC 425/TNC 415 B/TNC 407

5-18

5

Programming Tool Movements

5.4

Path Contours - Cartesian Coordinates

Example for exercise: Chamfering a corner

Coordinates of the

corner point:

E

X =

95 mm

Y =

5 mm

Length of chamfer:

CHF =

10 mm

Milling depth:

Z = – 15 mm

Tool radius:

R = +10 mm

Part program

0

BEGIN PGM CHAMFER MM ............................. Begin program

1

BLK FORM 0.1 Z X+0 Y+0 Z-20 ......................... Workpiece blank MIN point

2

BLK FORM X+100 Y+100 Z+0 ........................... Workpiece blank MAX point

3

TOOL DEF 5 L+5 R+10 ...................................... Define tool

4

TOOL CALL 5 Z S500 ......................................... Call tool

5

L Z+100 R0 FMAX M6 ....................................... Retract spindle and insert tool 5

6

APPR LN X+0 Y+5 Z–15 LEN+20 RR F100 M3 . Approach contour on a straight line that is perpendicular to the

first contour element

7

L X+95 ................................................................ Program the first side of corner

E

8

CHF 10 ................................................................ Insert a chamfer, side length = 10 mm

9

L Y+100 .............................................................. Program the second straight line for corner

E

10

DEP LN LEN+20 F100 ........................................ Depart the contour on a straight line that is perpendicular to

the last contour element.

11

L Z +100 F MAX M2

12

END PGM CHAMFER MM ................................. End of program

85

X

Y

Z

95

100

E

15

5

100

–15