User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5 Programming Tool Movements<br />
5.5 Path Contours - Polar Coordinates<br />
<strong>TNC</strong> <strong>360</strong><br />
Example for exercise: Milling a hexagon<br />
Corner point coordinates:<br />
1 H = 180° R = 45 mm<br />
2 H = 120° R = 45 mm<br />
3 H = 60° R = 45 mm<br />
4 H = 0° R = 45 mm<br />
5 H = 300° R = 45 mm<br />
6 H = 240° R = 45 mm<br />
Milling depth: Z = –10 mm<br />
Tool radius: R = 5 mm<br />
Part program<br />
J = 50<br />
%S530I G71 * ............................................................ Begin program<br />
N10 G30 G17 X+0 Y+0 Z–20 * .................................. Define the workpiece blank<br />
N20 G31 G90 X+100 Y+100 Z+0 *<br />
N30 G99 T1 L+0 R+17 * ............................................ Define the tool<br />
N40 T1 G17 S3200 * .................................................. Call the tool<br />
N50 G00 G40 G90 Z+100 M06 * ............................... Retract the spindle and insert the tool<br />
N60 I+50 J+50 * ........................................................ Set the pole<br />
N70 G10 R+70 H–190 * ............................................. Pre-position in X, Y to polar coordinates<br />
N80 Z–10 M03 * ........................................................ Pre-position to working depth<br />
N90 G11 G41 R+45 H+180 F100 *............................ Move to contour point 1<br />
N100 H+120 * ........................................................... Move to contour point 2<br />
N110 H+60 * ............................................................. Move to contour point 3<br />
N120 G91 H–60 * ...................................................... Move to contour point 4, incremental value<br />
N130 G90 H–60 * ...................................................... Move to contour point 5, absolute value<br />
N140 H+240 * ........................................................... Move to contour point 6<br />
N150 H+180 * ........................................................... Move to contour point 1<br />
N160 G10 G40 R+70 H+170 *................................... Retract the tool in X, Y; cancel radius compensation<br />
N170 Z+100 M02 * .................................................... Retract the tool in Z<br />
N9999 %S530I G71 *<br />
Y<br />
100<br />
5<br />
–10<br />
Z<br />
2<br />
1<br />
R =45<br />
60°<br />
6<br />
5<br />
3<br />
5<br />
4<br />
I = 50<br />
100<br />
X<br />
5-29