beautypg.com

Entering formulas directly -20, Overview of functions -20, Enter formula directly from keyboard – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual

Page 209: 7 entering formulas directly

background image

TNC 426/TNC 425/TNC 415 B/TNC 407

7 - 2 0

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 from the ASCII keyboard. We recommend
entering the operations by soft key, since this eliminates the possibility of
syntax errors.

Overview of functions

Mathematical function

Soft key

Addition
Example: Q10 = Q1 + Q5

Subtraction
Example: Q25 = Q7 – Q108

Multiplication
Example: Q12 = 5

Q5

Division
Example: Q25 = Q1 / Q2

Open parentheses
Example: Q12 = Q1

(Q2 + Q3)

Close parentheses
Example: Q12 = Q1

(Q2 + Q3)

Square
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