beautypg.com

Rules for formulas, Entering formulas directly 9.10 – HEIDENHAIN TNC 320 (77185x-01) User Manual

Page 313

background image

Entering formulas directly 9.10

9

TNC 320 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

313

Rules for formulas

Mathematical formulas are programmed according to the following

rules:

Higher-level operations are performed first

12 Q1 = 5 * 3 + 2 * 10 = 35

1 Calculation 5 * 3 = 15
2 Calculation 2 * 10 = 20
3 Calculation 15 + 20 = 35

or

13 Q2 = SQ 10 - 3^3 = 73

1 Calculation step 10 squared = 100
2 Calculation step 3 to the third power = 27
3 Calculation 100 – 27 = 73

Distributive law

Law of distribution with parentheses calculation

a * (b + c) = a * b + a * c