Entering formulas directly 9.9 – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual

Page 323

Advertising
background image

Entering formulas directly

9.9

9

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

323

Soft key

Linking function

Arc tangent

Inverse function of the tangent; determine the

angle

from the ratio of the opposite side to the

adjacent side
e.g.

Q12 = ATAN Q50

Powers of values

e g

Q15 = 3^3

Constant Pl (3.4159)

e.g.

Q15 = PI

Natural logarithm (LN) of a number

Base 2.7183
e. g.

Q15 = LN Q11

Logarithm of a number, Base 10

e. g.

Q33 = LOG Q22

Exponential function, 2.7183 to the power
of n

e. g.

Q1 = EXP Q12

Negate (multiplication by -1)

e.g.

Q2 = NEG Q1

Truncate digits after the decimal point

Form an integer
e.g.

Q3 = INT Q42

Absolute value of a number

e. g.

Q4 = ABS Q22

Truncate digits before the decimal point

Form a fraction
e.g.

Q5 = FRAC Q23

Check algebraic sign of a number

e g

Q12 = SGN Q50

When return value Q12 = 1, then Q50 >= 0

When return value Q12 = -1, then Q50 < 0

Calculate modulo value (division remainder)

e. g.

Q12 = 400 % 360 Result: Q12 = 40

Advertising