User's Manual TNC 360 (from 259 900-11) - heidenhain
User's Manual TNC 360 (from 259 900-11) - heidenhain
User's Manual TNC 360 (from 259 900-11) - heidenhain
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
7 Programming with Q Parameters<br />
7.8 Example for exercise<br />
<strong>TNC</strong> <strong>360</strong><br />
Three-dimensional machining (machining a hemisphere with an end mill)<br />
Notes on the program:<br />
• The tool moves upwards in the ZX plane.<br />
• You can enter an oversize in block 12 (Q12)<br />
if you want to machine the contour in<br />
several steps.<br />
• The tool radius is automatically compensated<br />
with parameter Q108.<br />
The program works with the following values:<br />
• Solid angle: Start angle Q1<br />
End angle Q2<br />
Increment Q3<br />
• Sphere radius Q4<br />
• Setup clearance Q5<br />
• Plane angle: Start angle Q6<br />
End angle Q7<br />
Increment Q8<br />
• Center of sphere: X coordinate Q9<br />
Y coordinate Q10<br />
• Milling feed rate Q<strong>11</strong><br />
• Oversize Q12<br />
The parameters additionally defined in the<br />
program have the following meanings:<br />
• Q15: Setup clearance above the sphere<br />
• Q21: Solid angle during machining<br />
• Q24: Distance <strong>from</strong> center of sphere<br />
to center of tool<br />
• Q26: Plane angle during machining<br />
• Q108: <strong>TNC</strong> parameter with tool radius<br />
Part program<br />
0 BEGIN PGM <strong>360</strong>712 MM<br />
1 FN 0: Q1 = + 90<br />
2 FN 0: Q2 = + 0<br />
3 FN 0: Q3 = + 5<br />
4 FN 0: Q4 = + 45<br />
5 FN 0: Q5 = + 2<br />
6 FN 0: Q6 = + 0<br />
Assign the sphere data to the parameters<br />
7 FN 0: Q7 = + <strong>360</strong><br />
8 FN 0: Q8 = + 5<br />
9 FN 0: Q9 = + 50<br />
10 FN 0: Q10 = + 50<br />
<strong>11</strong> FN 0: Q<strong>11</strong> = + 500<br />
12 FN 0: Q12 = + 0<br />
13 BLK FORM 0.1 Z X+0 Y+0 Z–50<br />
14<br />
15<br />
BLK FORM 0.2 X+100 Y+100 Z+0<br />
TOOL DEF 1 L+0 R+5<br />
Workpiece blank; define and insert tool<br />
16 TOOL CALL 1 Z S1000<br />
17 L Z+100 R0 FMAX M6<br />
18 CALL LBL 10 ...................................................... Subprogram call<br />
19 L Z+100 R0 FMAX M2 ....................................... Retract tool; jump to beginning of program<br />
Continued...<br />
7-19