Xl™ series – Xylem XL Series H-522 - Plus User Manual

Page 239

Advertising
background image

XL™ Series

Functions 22-5

Next Level Of Priority:

Powers:

x^y:

x raised to the power of y, 3^5 = 243

Next Level Of Priority:

Multiplication / Division:

x * y:

x multiplied by y, 20 * 30 = 600

x / y:

x divided by y, 20 / 30 = 0.666667

Next Level Of Priority:

Addition / Subtraction:

x + y:

x added to y, 20 + 30 = 50

x - y:

x subtract y, 20 - 30 = -10

Next Level Of Priority:

Low Level Logic:

x == y:

Is x equal to y? (Notice double equal signs) 1 if true 0 if false

x!=y:

x does not equal y?

1 if true 0 if false

x > y:

Is x greater than y?

1 if true 0 if
false

x >= y:

Is x greater than or equal to y?

1 if true 0 if false

x < y:

Is x less than y?

1 if true 0 if
false

x <= y:

Is x less than or equal to y?

1 if true 0 if false

x & y:

Logical AND operation, If x does not equal 0.0 AND y does not
equal 0.0 then return 1.0, else return 0.0. For example,
(ana1>2.5)&(ana2>3.5) returns 1.0 if analog channel 1 is greater
than 2.5 AND analog channel 2 is greater than 3.5, else it returns
0.0

x | y:

Logical OR operation, If x does not equal 0.0 OR if y does not
equal 0.0 return 1.0, else return 0.0. For example,

Advertising
This manual is related to the following products: