beautypg.com

Programming trigonometric functions, 4 t rig onometr ic f unctions – HEIDENHAIN iTNC 530 (340 49x-04) ISO programming User Manual

Page 534

background image

534

11 Programming: Q-Parameters

1

1

.4 T

rig

onometr

ic F

unctions

Programming trigonometric functions

Press the TRIGONOMETRY soft key to call the trigonometric
functions. The TNC then displays the soft keys that are listed in the
table below.

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.