Programming: Q Parameters
9.4
Angle functions (trigonometry)
9
274
TNC 320 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014
9.4
Angle functions (trigonometry)
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 TNC 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 ANGLE FUNCTION soft key to call the trigonometric
functions. The TNC then displays the soft keys below.
Programming: Compare "Example: Programming fundamental
operations."
Function
Soft key
FN 6
: SINE
e.g.
FN 6: Q20 = SIN-Q5
Define and assign the sine of an angle in degrees
(°)
FN 7
: COSINE
e.g.
FN 7: Q21 = COS-Q5
Define and assign the cosine of an angle in
degrees (°)
FN 8
: SQUARE ROOT FROM SQUARE SUM
e.g.
FN 8: Q10 = +5 LEN +4
Form and assign length from two values
FN 13
: ANGLE
e.g.
FN 13: Q20 = +25 ANG-Q1
Form and assign an angle with arctan from two
sides or with sine and cosine of the angle (0 <
angle < 360°)
Содержание TNC 320
Страница 4: ...Controls of the TNC 4 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Страница 5: ...Fundamentals ...
Страница 16: ...Contents 16 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Страница 43: ...1 First Steps with the TNC 320 ...
Страница 63: ...2 Introduction ...
Страница 81: ...3 Programming Fundamentals file management ...
Страница 124: ......
Страница 125: ...4 Programming Programming aids ...
Страница 152: ......
Страница 153: ...5 Programming Tools ...
Страница 180: ......
Страница 181: ...6 Programming Programming contours ...
Страница 232: ......
Страница 233: ...7 Programming Data transfer from DXF files or plain language contours ...
Страница 251: ...8 Programming Subprograms and program section repeats ...
Страница 267: ...9 Programming Q Parameters ...
Страница 337: ...10 Programming Miscellaneous functions ...
Страница 357: ...11 Programming Special functions ...
Страница 379: ...12 Programming Multiple Axis Machining ...
Страница 406: ......
Страница 407: ...13 Manual operation and setup ...
Страница 462: ......
Страница 463: ...14 Positioning with Manual Data Input ...
Страница 468: ......
Страница 469: ...15 Test run and program run ...
Страница 497: ...16 MOD functions ...
Страница 525: ...17 Tables and overviews ...