1 0 pr ogr amming examples – HEIDENHAIN TNC 426B (280 472) ISO programming User Manual
Page 288

HEIDENHAIN TNC 410, TNC 426, TNC 430
273
Example: Convex sphere machined with end mill
Example: Convex sphere machined with end mill
Center in X axis
Center in Y axis
Starting angle in space (Z/X plane)
End angle in space (Z/X plane)
Angle increment in space
Radius of the sphere
Starting angle of rotational position in the X/Y plane
End angle of rotational position in the X/Y plane
Angle increment in the X/Y plane for roughing
Allowance in sphere radius for roughing
Setup clearance for pre-positioning in the tool axis
Feed rate for milling
Define the workpiece blank
Define the tool
Call the tool
Retract the tool
Call machining operation
Reset allowance
Angle increment in the X/Y plane for finishing
Call machining operation
Retract in the tool axis, end program
%BALL G71 *
N10 D00 Q1 P01 +50 *
N20 D00 Q2 P01 +50 *
N30 D00 Q4 P01 +90 *
N40 D00 Q5 P01 +0 *
N50 D00 Q14 P01 +5 *
N60 D00 Q6 P01 +45 *
N70 D00 Q8 P01 +0 *
N80 D00 Q9 P01 +360 *
N90 D00 Q18 P01 +10 *
N100 D00 Q10 P01 +5 *
N110 D00 Q11 P01 +2 *
N120 D00 Q12 P01 +350 *
N130 G30 G17 X+0 Y+0 Z-50 *
N140 G31 G90 X+100 Y+100 Z+0 *
N150 G99 T1 L+0 R+7,5 *
N160 T1 G17 S4000 *
N170 G00 G40 G90 Z+250 *
N180 L10.0 *
N190 D00 Q10 P01 +0 *
N200 D00 Q18 P01 +5 *
N210 L10.0 *
N220 G00 G40 Z+250 M2 *
Program sequence
■
This program requires an end mill.
■
The contour of the sphere is approximated by
many short lines (in the Z/X plane, defined via
Q14). The smaller you define the angle increment,
the smoother the curve becomes.
■
You can determine the number of contour cuts
through the angle increment in the plane (defined
in Q18).
■
The tool moves upward in three-dimensional
cuts.
■
The tool radius is compensated automatically.
X
Y
50
100
100
Z
Y
-50
R45
50
R45
1
0.1
0 Pr
ogr
amming Examples
Mkap10.pm6
29.06.2006, 08:06
273