
Programming Q Parameters | Programming examples
10
474
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017
Example: Concave cylinder machined with spherical
cutter
Program run
This program functions only with a spherical cutter.
The tool length refers to the sphere center.
The contour of the cylinder is approximated by many
short line segments (defined in Q13). The more
line segments you define, the smoother the curve
becomes.
The cylinder is milled in longitudinal cuts (here:
parallel to the Y axis).
The milling direction is determined with the starting
angle and end angle in space:
Machining direction clockwise:
Starting angle > end angle
Machining direction counterclockwise:
Starting angle < end angle
The tool radius is compensated automatically
0 BEGIN PGM CYLIN MM
1 FN 0: Q1 = +50
Center in X axis
2 FN 0: Q2 = +0
Center in Y axis
3 FN 0: Q3 = +0
Center in Z axis
4 FN 0: Q4 = +90
Starting angle in space (Z/X plane)
5 FN 0: Q5 = +270
End angle in space (Z/X plane)
6 FN 0: Q6 = +40
Cylinder radius
7 FN 0: Q7 = +100
Length of the cylinder
8 FN 0: Q8 = +0
Rotational position in the X/Y plane
9 FN 0: Q10 = +5
Allowance for cylinder radius
10 FN 0: Q11 = +250
Feed rate for plunging
11 FN 0: Q12 = +400
Feed rate for milling
12 FN 0: Q13 = +90
Number of cuts
13 BLK FORM 0.1 Z X+0 Y+0 Z-50
Definition of workpiece blank
14 BLK FORM 0.2 X+100 Y+100 Z+0
15 TOOL CALL 1 Z S4000
Tool call
16 L Z+250 R0 FMAX
Retract the tool
17 CALL LBL 10
Call machining operation
18 FN 0: Q10 = +0
Reset allowance
19 CALL LBL 10
Call machining operation
20 L Z+100 R0 FMAX M2
Retract the tool, end program
Содержание TNC 640
Страница 4: ......
Страница 5: ...Fundamentals ...
Страница 36: ...Contents 36 HEIDENHAIN TNC 640 Conversational Programming User s Manual 10 2017 ...
Страница 67: ...1 First Steps with the TNC 640 ...
Страница 90: ......
Страница 91: ...2 Introduction ...
Страница 130: ......
Страница 131: ...3 Operating the Touchscreen ...
Страница 144: ......
Страница 145: ...4 Fundamentals File Management ...
Страница 206: ......
Страница 207: ...5 Programming Aids ...
Страница 236: ......
Страница 237: ...6 Tools ...
Страница 281: ...7 Programming Contours ...
Страница 333: ...8 Data Transfer from CAD Files ...
Страница 355: ...9 Subprograms and Program Section Repeats ...
Страница 374: ......
Страница 375: ...10 Programming Q Parameters ...
Страница 478: ......
Страница 479: ...11 Miscellaneous Functions ...
Страница 501: ...12 Special Functions ...
Страница 584: ......
Страница 585: ...13 Multiple Axis Machining ...
Страница 650: ......
Страница 651: ...14 Pallet Management ...
Страница 664: ......
Страница 665: ...15 Batch Process Manager ...
Страница 673: ...16 Turning ...
Страница 713: ...17 Manual Operation and Setup ...
Страница 797: ...18 Positioning with Manual Data Input ...
Страница 803: ...19 Test Run and Program Run ...
Страница 843: ...20 MOD Functions ...
Страница 881: ...21 Tables and Overviews ...