beautypg.com

Enter formula via ascii keyboard, 7 entering formulas directly – HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 199

background image

TNC 425/TNC 415 B/TNC 407

7-14

7

Programming with Q Parameters

7.7 Entering Formulas Directly

You can enter mathematical formulas that include several operations
either by soft key or directly through the ASCII keyboard. We recommend
entering the operations by soft key, since this excludes the possibility of
syntax errors.

Overview of functions

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/Close parentheses
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