9 entering formulas directly, Entering formulas – HEIDENHAIN iTNC 530 (340 49x-05) User Manual

Page 308

Advertising
background image

308

Programming: Q Parameters

9.9 Ent

er

ing F

o

rm

ulas Dir

e

ctly

9.9

Entering Formulas Directly

Entering formulas

You can enter mathematical formulas that include several operations
directly into the part program by soft key.

Press the FORMULA soft key to call the mathematical functions. The
TNC displays the following soft keys in several soft-key rows:

Mathematical function

Soft key

Addition
Example: Q10 = Q1 + Q5

Subtraction
Example: Q25 = Q7 – Q108

Multiplication
Example: Q12 = 5 * Q5

Division
Example: Q25 = Q1 / Q2

Opening parenthesis
Example: Q12 = Q1 * (Q2 + Q3)

Closing parenthesis
Example: Q12 = Q1 * (Q2 + Q3)

Square of a value
Example: Q15 = SQ 5

Square root
Example: Q22 = SQRT 25

Sine of an angle
Example: Q44 = SIN 45

Cosine of an angle
Example: Q45 = COS 45

Tangent of an angle
Example: Q46 = TAN 45

Arc sine
Inverse of the sine. Determines the angle from the
ratio of the side opposite the hypotenuse.
Example: Q10 = ASIN 0.75

Arc cosine
Inverse of the cosine. Determines the angle from the
ratio of the side adjacent to the hypotenuse.
Example: Q11 = ACOS Q40

Advertising