Brackets, Quote marks – HEIDENHAIN IK 5293 User Manual

Page 286

Advertising
background image

272

Chapter 6

Templates

The same equation without the parantheses is as follows:

6*4+2 = 26

Here 6 is multiplied by 4 then added to 2.

Work from the innermost set of parantheses to the outermost set in equations
using multiple sets of parantheses.

For example,

((4+2)*(4+2)+1) = 37

Here the addition in the innermost parantheses is performed first,then the two
sums are multiplied and added to 1.

NOTE

NOTE

NOTE

NOTE

NOTE

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,
division, addition, subtraction.

division, addition, subtraction.

division, addition, subtraction.

division, addition, subtraction.

division, addition, subtraction.

Parantheses can also be used to call functions such a squares, square root, max,
min, etc. For example,

sqrt(100) = 10

the function (square root) is performed on the number in the parantheses
(100).

Brackets [ ]

Use brackets to recall previously measured features for a formula. For example,

[Circle 1]x

recalls the 'x' value of Circle 1.

A more complex equation might be

sqr([Circle 1]radius)*PI

Here the radius of Circle 1 is squared and multiplied by pi which produces the
area of Circle 1.

Quote marks ""

Use quote marks to indicate an output in a formula. For example,

If([Circle 1]radius<=2.0,"Small")

prints the word "Small" in the column if the radius of Circle 1 is less than or
equal to 2.0.

A more complex equation might be

If([Circle 1]radius<=2.0,"Small","Big")

Advertising