Hemisphere machined with end mill -31 – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual
Page 220
7-31
TNC 426/TNC 425/TNC 415 B/TNC 407
7
Programming with Q Parameters
Hemisphere machined with end mill
Notes on the program:
• The tool moves upward in the Z/X plane.
• You can enter an oversize in block 12 (Q12)
if you want to machine the contour in
several steps.
• The tool radius is automatically
compensated with parameter Q108.
The program works with the following
quantities:
• Solid angle:
Starting angle
Q1
End angle
Q2
Increment
Q3
• Sphere radius
Q4
• Setup clearance
Q5
• Plane angle:
Starting angle
Q6
End angle
Q7
Increment
Q8
• Center of sphere:
X coordinate
Q9
Y coordinate
Q10
• Milling feed rate
Q11
• Oversize
Q12
The parameters additionally defined in the
program have the following meanings:
• Q15:
Setup clearance above the sphere
• Q21:
Solid angle during machining
• Q24:
Distance from center of sphere to
tool center
• Q26:
Plane angle during machining
• Q108: TNC parameter with tool radius
Part program
%S712I G71 * ............................................................. Start of program
N10 D00 Q1 P01 +90 *
N20 D00 Q2 P01 +0 *
N30 D00 Q3 P01 +5 *
N40 D00 Q4 P01 +45 *
N50 D00 Q5 P01 +2 *
N60 D00 Q6 P01 +0 *
N70 D00 Q7 P01 +360 *
N80 D00 Q8 P01 +5 *
N90 D00 Q9 P01 +50 *
N100 D00 Q10 P01 +50 *
N110 D00 Q11 P01 +500 *
N120 D00 Q12 P01 +0 * ............................................. Assign the sphere data to the parameters
N130 G30 G17 X+0 Y+0 Z–50 * ................................. Define workpiece blank
N140 G31 G90 X+100 Y+100 Z+0 *
N150 G99 T1 L+0 R+5 * ............................................. Define tool
N160 T1 G17 S2500 * ................................................ Call tool
N170 G00 G40 G90 Z+100 M06 * .............................. Retract and insert tool
N180 L10,0 * ............................................................... Call subprogram
N190 Z+100 M02 * ..................................................... Retract in the infeed axis; return to beginning of program
Continued on next page...