Programming Qparameters | Entering formulas directly
9
Example: Calculate power before addition/subtraction
13 Q2 = SQ 10 - 3^3
= 73
1st calculation : 10 squared = 100
2nd calculation : 3 to the power of 3 = 27
3rd calculation: 100 – 27 = 73
Example: Calculate function before power
14 Q4 = SIN 30 ^ 2
= 0.25
1st calculation: Calculate sine of 30 = 0.5
2nd calculation: 0.5 squared = 0.25
Example: Evaluate expression in parentheses before function
15 Q5 = SIN ( 50 - 20 )
= 0.5
1st calculation: Resolve parentheses: 50 - 20 = 30
2nd calculation: Calculate sine of 30 = 0.5
284
HEIDENHAIN | TNC620 | Klartext Programming User's Manual | 01/2022