beautypg.com

Programming trigonometric functions, 10 .4 t rig onometr ic f u nctions – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 320

background image

320

10 Programming: Q Parameters

1

0

.4 T

rig

onometr

ic F

u

nctions

Programming trigonometric functions

Press the ANGLE FUNCTION soft key to call the angle functions. The
TNC then displays the following soft keys:

Programming: Compare “Example: Programming fundamental
operations.”

Function

Soft key

FN6: SINE
Example: FN6: Q20 = SIN–Q5
Calculates the sine of an angle in degrees (°) and
assigns it to a parameter.

FN7: COSINE
Example: FN7: Q21 = COS–Q5
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.

FN8: ROOT SUM OF SQUARES
Example: FN8: Q10 = +5 LEN +4
Calculate and assign length from two values.

FN13: ANGLE
Example: FN13: Q20 = +25 ANG–Q1
Calculates the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assigns it to a parameter.