395
1
0
.1
1 Pr
ogr
amming Examples
Example: Convex sphere machined with end mill
Program sequence
n
This program requires an end mill.
n
The contour of the sphere is approximated by
many short lines (in the Z/X plane, defined in
Q14). The smaller you define the angle
increment, the smoother the curve becomes.
n
You can determine the number of contour cuts
through the angle increment in the plane
(defined in Q18).
n
The tool moves upward in three-dimensional
cuts.
n
The tool radius is compensated automatically.
0 BEGIN PGM BALL MM
1 FN 0: Q1 = +50
Center in X axis
2 FN 0: Q2 = +50
Center in Y axis
3 FN 0: Q4 = +90
Starting angle in space (Z/X plane)
4 FN 0: Q5 = +0
End angle in space (Z/X plane)
5 FN 0: Q14 = +5
Angle increment in space
6 FN 0: Q6 = +45
Radius of the sphere
7 FN 0: Q8 = +0
Starting angle of rotational position in the X/Y plane
8 FN 0: Q9 = +360
End angle of rotational position in the X/Y plane
9 FN 0: Q18 = +10
Angle increment in the X/Y plane for roughing
10 FN 0: Q10 = +5
Allowance in sphere radius for roughing
11 FN 0: Q11 = +2
Setup clearance for pre-positioning in the tool axis
12 FN 0: Q12 = +350
Feed rate for milling
13 BLK FORM 0.1 Z X+0 Y+0 Z-50
Define the workpiece blank
14 BLK FORM 0.2 X+100 Y+100 Z+0
15 TOOL DEF 1 L+0 R+7.5
Define the tool
16 TOOL CALL 1 Z S4000
Tool call
17 L Z+250 R0 F MAX
Retract the tool
X
Y
50
100
100
Z
Y
-50
R45
50
R45
Содержание TNC 426
Страница 3: ......
Страница 4: ......
Страница 8: ...IV...
Страница 10: ...VI...
Страница 26: ......
Страница 27: ...1 Introduction...
Страница 41: ...2 Manual Operation and Setup...
Страница 54: ......
Страница 55: ...3 Positioning with Manual Data Input MDI...
Страница 59: ...4 Programming Fundamentals of NC File Management Programming Aids Pallet Management...
Страница 122: ......
Страница 123: ...5 Programming Tools...
Страница 153: ...6 Programming Programming Contours...
Страница 201: ...7 Programming Miscellaneous functions...
Страница 226: ......
Страница 227: ...8 Programming Cycles...
Страница 366: ......
Страница 367: ...9 Programming Subprograms and Program Section Repeats...
Страница 381: ...10 Programming Q Parameters...
Страница 424: ......
Страница 425: ...11 Test run and Program Run...
Страница 443: ...12 MOD Functions...
Страница 472: ......
Страница 473: ...13 Tables and Overviews...
Страница 496: ......