Execution speeds – Rockwell Automation T7833 ICS Regent+Plus Math Package for Winternet User Manual

Page 24

Advertising
background image

Math Package for W

INTERPRET

(T7833)


2 4

Industrial Control Services

Local and Floating point

1.0

Constant

1.2

Shared register

1.5

Analog

1.8

Bit-type

2.5

The maximum and minimum code sizes for each operation
listed in Table 10 are approximate and will vary according to
use in an equation. Code sizes are shown in bytes. These
numbers should be used only to estimate the size of a function
block. The actual size of the function block can always be
checked by compiling the function block and observing the
actual size reported by the compile operation.

Table 10. Floating Point Operation Sizes.

Operation

Format

Code

Min.

Code

Max.

Add

+

8

26

Subtract

-

12

30

Multiply

*

8

26

Divide

/

8

26

Logarithm

LOG(x)

4

4

Natural Log

LN(x)

4

4

Square root

SQRT(x)

4

4

Exponentiation

X^Y

10

18

e raised to the X

EXP(x)

4

4

Equality

=

44

82

WHILE statement

98

see note, below

IF statement

94

see note, below

WHILE and IF statement sizes will vary with the number
and type of equations they contain, use of compare

statements, and use of AND and OR.

Execution Speeds

The execution speeds of each operation listed below were
derived using floating point variables in a floating point math

Note

Advertising