beautypg.com

Programming trigonometric functions, 4 t rig onometr ic functions – HEIDENHAIN iTNC 530 (60642x-04) User Manual

Page 326

background image

326

Programming: Q Parameters

9.4 T

rig

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

FN 6

: SINE

Example: FN 6: Q20 = SIN-Q5

Calculate the sine of an angle in degrees (°) and

assign it to a parameter.

FN 7

: COSINE

Example: FN 7: Q21 = COS-Q5

Calculate the cosine of an angle in degrees (°) and

assign it to a parameter.

FN 8

: ROOT SUM OF SQUARES

Example: FN 8: Q10 = +5 LEN +4

Calculates and assigns length from two values.

FN 13

: ANGLE

Example: FN 13: Q20 = +25 ANG-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.