10 entering formulas directly, Entering formulas – HEIDENHAIN TNC 320 (340 55x-03) User Manual

Page 422

Advertising
background image

422

10 Programming: Q-Parameters

1

0

.1

0 Ent

er

ing F

o

rm

ulas Dir

e

ctly

10.10 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 formula 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