beautypg.com

Programming trigonometric functions, 4 t rig onometr ic f unctions – HEIDENHAIN TNC 320 (340 55x-05) ISO programming User Manual

Page 209

background image

HEIDENHAIN TNC 320

209

8.4 T

rig

onometr

ic F

unctions

Programming trigonometric functions

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

Programming: Compare “Example: Programming fundamental
operations.”

Function

Soft key

D06

: SINE

Example: D06 Q20 P01 -Q5 *
Calculates and assigns the sine of an angle in degrees
(°)

D07

: COSINE

Example: D07 Q21 P01 -Q5 *
Calculates and assigns the cosine of an angle in
degrees (°)

D08

: ROOT SUM OF SQUARES

Example: D08 Q10 P01 +5 P02 +4 *
Calculates and assigns length from two values

D13

: ANGLE

Example: D13 Q20 P01 +10 P02 -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