5 Programming Tool Movements
L
5.4
Path Contours - Cartesian Coordinates
Example for exercise: Chamfering a corner
Coordinates of the
corner point 0: X = 95 mm
Y = 5 mm
Chamfer length:
CHF = 10 mm
Milling depth: Z = -15 mm
Tool radius:
R = +I0 mm
Part program
0 BEGIN PGM 360513 MM ...................................
Begin
program
1
BLK FORM 0.1
Z X+0 Y+O Z-20 ........................ Workpiece blank MIN point
2 BLK FORM X+1 00 Y+lOO Z+O
........................... Workpiece blank MAX point
3
TOOL DEF 5 L+5 R+lO ......................................
Tool definition
4 TOOL CALL 5 Z S500
......................................... Tool call
5 L Z+lOO RO FMAX M6 .......................................
Retract spindle and insert tool
6 L X-l 0 Y-5 FMAX.. .............................................
Pre-position in X, Y
7 L Z-l 5 FMAX M3 ...............................................
Pre-position to the working depth
8 L X+0 Y+5 RR F200.. .......................................... Move with radius compensation (RR) and reduced feed (F200)
to the first contour point
9
L X+95 Y+5
........................................................
Program the first straight line for corner @
10 L IO.. ................................................................... Chamfer block: inserts a chamfer with L = 10 mm
1 1 L X+95 Y+lOO ....................................................
Program the second straight line for corner @
12 L X+1 10 Y+l 10 RO FMAX
.................................. Retract the tool in X, Y (12) and Z (13); return to block 1 (13)
and end program
13
L Z+lOO FMAX M2
14 END PGM 360513 MM
\
TNC 370
5-13
L