10 entering formulas directly, Entering formulas, Entering formulas directly – HEIDENHAIN TNC 128 (77184x-02) User Manual

Page 232

Advertising
background image

Programming: Q Parameters

8.10

Entering formulas directly

8

232

TNC 128 | User's Manual HEIDENHAIN Conversational Programming | 5/2014

8.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 mathematical functions.

The TNC displays the following soft keys in several soft-key rows:

Mathematical function

Soft key

Addition

e.g.

Q10 = Q1 + Q5

Subtraction

e.g.

Q25 = Q7 – Q108

Multiplication

e.g.

Q12 = 5 * Q5

Division

e.g.

Q25 = Q1 / Q2

Open parentheses

e.g.

Q12 = Q1 * (Q2 + Q3)

Close parentheses

e.g.

Q12 = Q1 * (Q2 + Q3)

Square value

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

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

Advertising