Programming Q Parameters | Entering formulas directly
10
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
439
10.10 Entering formulas directly
Entering formulas
Using soft keys, you can enter mathematical formulas containing
multiple calculation operations directly into the NC program.
Select Q-parameter functions
Press the FORMULA soft key
Select Q, QL, or QR
The control 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 the value
e.g., Q15 = SQ 5
Calculate 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