9 entering formulas directly, Entering formulas, Entering formulas directly – HEIDENHAIN TNC 640 (34059x-05) ISO programming User Manual
Page 324
Programming: Q Parameters
9.9
Entering formulas directly
9
324
TNC 640 | User's ManualDIN/ISO Programming | 1/2015
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:
Soft key
Linking function
Addition
e. g.
Q10 = Q1 + Q5
Subtraction
e. g.
Q25 = Q7 – Q108
Multiplication
e. g.
Q12 = 5 * Q5
Division
e. g.
Q25 = Q1 / Q2
Opening parenthesis
e. g.
Q12 = Q1 * (Q2 + Q3)
Closing parenthesis
e. g.
Q12 = Q1 * (Q2 + Q3)
Square
e. g.
Q15 = SQ 5
Square root
e. g.
Q22 = SQRT 25
Sine of an angle
e. g.
Q44 = SIN 45
Cosine of an angle
e. g.
Q45 = COS 45
Tangent of an angle
e. g.
Q46 = TAN 45
Arc sine
Inverse function of the sine; determine the
angle
from the ratio of the opposite side to the
hypotenuse
e.g.
Q10 = ASIN 0.75
Arc cosine
Inverse function of the cosine; determine the
angle
from the ratio of the adjacent side to the
hypotenuse
e. g.
Q11 = ACOS Q40