4 angle functions, Definitions, Programming trigonometric functions – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual

Page 297: Angle functions, Angle functions 9.4

Advertising
background image

Angle functions

9.4

9

TNC 620 | User's ManualDIN/ISO Programming | 2/2015

297

9.4

Angle functions

Definitions

Sine:

sin

α = a / c

Cosine:

cos

α = b / c

Tangent:

tan

α = a / b = sin α / cos α

where

c is the side opposite the right angle
a is the side opposite the angle

α

b is the third side.

The TNC can find the angle from the tangent:
α = arctan (a / b) = arctan (sin α / cos α)

Example:

a = 25 mm
b = 50 mm
α = arctan (a / b) = arctan 0.5 = 26.57°
Furthermore:
a² + b² = c² (where a² = a x a)
c =

√ (a

2

+ b

2

)

Programming trigonometric functions

Press the soft key to call the trigonometric functions. The TNC

then displays the soft keys that are listed in the table below.

Soft key

Function

D06: SINUS
e. g.

D06 Q20 P01 -Q5 *

Define and assign the sinus of an angle in

degrees (°)
D07: COSINUS
e. g.

D07 Q21 P01 -Q5 *

Define and assign the cosine of an angle in

degrees (°)
D08: ROOT SUM OF SQUARES
e. g.

D08 Q10 P01 +5 P02 +4 *

Form and assign length from two values
D13: ANGLE
e. g.

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

Advertising