![HEIDENHAIN TNC 407 User Manual Download Page 160](http://html1.mh-extra.com/html/heidenhain/tnc-407/tnc-407_user-manual_2118718160.webp)
5 - 2 7
TNC 426/TNC 425/TNC 415 B/TNC 407
5
Programming Tool Movements
Path Contours – Cartesian Coordinates
Example for exercise: Rounding a corner
Coordinates of
the corner point:
X
= 95 mm
Y
=
5 mm
Rounding radius:
R
= 20 mm
Milling depth:
Z
= –15 mm
Tool radius:
R
= 10 mm
100
5
–15
100
95
R = 20
Y
X
Z
Part program
%S527I G71 * ............................................................ Begin the program
N10 G30 G17 X+0 Y+0 Z–20 * .................................. Define the workpiece blank
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T7 L+0 R+10 * ............................................ Define the tool
N40 T7 G17 S1500 * .................................................. Call the tool
N50 G00 G40 G90 Z+100 M06 * ............................... Retract and insert tool
N60 X–10 Y–5 * ......................................................... Pre-position in the working plane
N70 Z–15 M03 * ......................................................... Move the tool to working depth
N80 G01 G42 X+0 Y+5 F100 * .................................. Approach the contour with radius compensation at
machining feed rate
N90 X+95 * ................................................................. First straight line for the corner
N100 G25 R20 * ......................................................... Insert a tangential arc with radius R = 20 mm between
the contour elements
N110 Y+100 * ............................................................. Second straight line for the corner
N120 G00 G40 X+120 Y+120 * ................................. Depart the contour, cancel radius compensation
N130 Z+100 M02 * ..................................................... Retract in the infeed axis
N99999 %S527I G71 *