beautypg.com

Rules for formulas, 10 .8 e n te ri ng f o rm u las d ir e ctly – HEIDENHAIN TNC 410 ISO Programming User Manual

Page 375

background image

HEIDENHAIN TNC 410, TNC 426, TNC 430

349

1

0

.8 E

n

te

ri

ng

F

o

rm

u

las D

ir

e

ctly

Rules for formulas

Mathematical formulas are programmed according to the following
rules:

Higher-level operations are performed first (multiplication and
division before addition and subtraction)

1st step 5 * 3 = 15

2nd step 2 * 10 = 20

3rd step 15 +20 = 35

or

1st step 10 squared = 100

2nd step 3 to the power of 3 = 27

3rd step 100 – 27 = 73

Distributive law

for calculating with parentheses

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

N112

Q1 = 5 * 3 + 2 * 10 = 35

N113

Q2 = SQ 10 - 3^3 = 73