beautypg.com

Programming trigonometric functions, 4 t rig onometr ic functions – HEIDENHAIN iTNC 530 (34049x-08) ISO programming User Manual

Page 282

background image

282

Programming: Q parameters

9.4 T

rig

onometr

ic functions

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