
Programming Q Parameters | Angle functions
10
384
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017
10.4
Angle functions
Definitions
Sine:
sin
α
= a / c
Cosine:
cos
α
= b / c
Tangent:
tan
α
= a / b = sin
α
/ cos
α
where
c is the side opposite the right angle
a is the side opposite the angle
α
b is the third side.
The control can find the angle from the tangent:
α
= arctan (a / b) = arctan (sin
α
/ cos
α
)
Example:
a = 25 mm
b = 50 mm
α
= arctan (a / b) = arctan 0.5 = 26.57°
Furthermore:
a² + b² = c² (where a² = a x a)
c =
√
(a
2
+ b
2
)
Programming trigonometric functions
Press the
TRIGONOMETRY
soft key to call the trigonometric
functions. The control then displays the soft keys listed in the table
below:
Soft key
Function
FN 6
: SINUS
e. g.,
FN 6: Q20 = SIN-Q5
Calculate and assign the sine of an angle in
degrees (°)
FN 7
: COSINE
e. g.,
FN 7: Q21 = COS-Q5
Calculate and assign the cosine of an angle in
degrees (°)
FN 8
: ROOT SUM OF SQUARES
e. g.,
FN 8: Q10 = +5 LEN +4
Calculate and assign lengths from two values
FN 13
: ANGLE
e. g.,
FN 13: Q20 = +25 ANG-Q1
Calculate and assign an angle with the arc
tangent from the opposite and adjacent sides or
with the sine and cosine of the angle (0 < angle
< 360°)
Summary of Contents for TNC 640
Page 4: ......
Page 5: ...Fundamentals ...
Page 36: ...Contents 36 HEIDENHAIN TNC 640 Conversational Programming User s Manual 10 2017 ...
Page 67: ...1 First Steps with the TNC 640 ...
Page 90: ......
Page 91: ...2 Introduction ...
Page 130: ......
Page 131: ...3 Operating the Touchscreen ...
Page 144: ......
Page 145: ...4 Fundamentals File Management ...
Page 206: ......
Page 207: ...5 Programming Aids ...
Page 236: ......
Page 237: ...6 Tools ...
Page 281: ...7 Programming Contours ...
Page 333: ...8 Data Transfer from CAD Files ...
Page 355: ...9 Subprograms and Program Section Repeats ...
Page 374: ......
Page 375: ...10 Programming Q Parameters ...
Page 478: ......
Page 479: ...11 Miscellaneous Functions ...
Page 501: ...12 Special Functions ...
Page 584: ......
Page 585: ...13 Multiple Axis Machining ...
Page 650: ......
Page 651: ...14 Pallet Management ...
Page 664: ......
Page 665: ...15 Batch Process Manager ...
Page 673: ...16 Turning ...
Page 713: ...17 Manual Operation and Setup ...
Page 797: ...18 Positioning with Manual Data Input ...
Page 803: ...19 Test Run and Program Run ...
Page 843: ...20 MOD Functions ...
Page 881: ...21 Tables and Overviews ...