Programming trigonometric functions, 4 tr ig onometr ic functions – HEIDENHAIN iTNC 530 (60642x-04) ISO programming User Manual
Page 292

292
Programming: Q Parameters
9.4
Tr
ig
onometr
ic
functions
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 *
Calculate the sine of an angle in degrees (°) and
assign it to a parameter.
D07
: COSINE
Example: D07 Q21 P01 -Q5 *
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.
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 *
Calculate the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assign it to a parameter.