5 setup program – West Control Solutions DataVU 5 User Manual

Page 108

Advertising
background image

5 Setup program

108

Operator
overview

Operator
priorities

Math calculation signs and functions

Logic operators

Operator

Explanation

Example

+

addition

AE1 + AE2

-

subtraction

AE1 - AE2

*

multiplication

AE1 * AE2

/

division

AE1 / AE2

(

opening bracket

(

)

closing bracket

)

SQRT()

root

SQRT (AE1)

MIN()

minimum value

MIN (AE1, AE2)

MAX()

maximum value

MAX (AE1, AE2, AE3)

SIN()

sine

SIN (AE1)

COS()

cosine

COS (AE1)

TAN()

tangent

TAN (AE1)

**

x to the power y

AE1 ** AE2

EXP()

exponential function

EXP (AE1)

ABS()

absolute value

ABS (AE1)

INT()

integer portion

INT (AE1)

FRC()

decimal portion

FRC (AE1)

LOG()

logarithm

LOG (AE1)

LN()

natural logarithm

LN (AE1)

Priority

Math sign / function

Comment

high

( )

brackets

SQRT, MIN, MAX, LOG, LN, SIN,
COS, TAN, ABS, EXP, INT, FRC

functions

**

exponent (x

y

)

+, -

sign

*, /

multiplication, division

low

+, -

addition, subtraction

Priority

Operator

Comment

high

( )

brackets

NOT, !

negation

AND, &

AND linkage

XOR,

^

exclusive OR linkage

low

OR, ¦

OR linkage

Advertising