Rules for formulas, 9 ent er ing f o rm ulas dir e ctly – HEIDENHAIN TNC 620 (73498x-01) ISO programming User Manual

Page 251

Advertising
background image

HEIDENHAIN TNC 620

251

8.9 Ent

er

ing f

o

rm

ulas dir

e

ctly

Rules for formulas

Mathematical formulas are programmed according to the following
rules:

Higher-level operations are performed first

1st calculation: 5 * 3 = 15

2ndcalculation: 2 * 10 = 20

3rdcalculation: 15 + 20 = 35

or

1st calculation: 10 squared = 100

2ndcalculation: 3 to the power of 3 = 27

3rdcalculation: 100 – 27 = 73

Distributive law

Law for calculating with parentheses

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

12

Q1 = 5 * 3 + 2 * 10 = 35

13

Q2 = SQ 10 - 3^3 = 73

Advertising