beautypg.com

Rules for formulas, 8 ent er ing f o rm ulas dir e ctly – HEIDENHAIN iTNC 530 (340 49x-02) ISO programming User Manual

Page 501

background image

HEIDENHAIN iTNC 530

501

1

1

.8 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

1. Calculation step 5 * 3 = 15

2. Calculation step 2 * 10 = 20

3. Calculation step 15 + 20 = 35

or

1. Calculation step 102 = 100

2. Calculation step 33 = 27

3. Calculation 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 *