beautypg.com

Rules for formulas, Entering formulas directly 8.10 – HEIDENHAIN TNC 620 (34056x-04) User Manual

Page 285

background image

Entering formulas directly

8.10

8

TNC 620 | User's Manual
HEIDENHAIN Conversational Programming | 5/2013

285

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