Low level logic, Functions, Priority ordered – Xylem System 5000 User Manual User Manual
Page 27: Trigonometric functions

sin(x)
Sine of x based on
degrees, SIN(30) = 0.5
cos(x)
Cosine x based on
degrees, COS(30) =
0.866025
tan(x)
Tangent x based on
degrees, TAN(30) = 0.57735
asin(x) Arc sine x based on degrees, ASIN(0.5) = 30.0
acos(x) Arc cosine x based on degrees, ACOS(0.5) = 60.0
atan(x)
Arc tangent x based on degrees, ATAN(0.5) = 26.565051
sinr(x)
Sine of x based on radians, SINR(1) = 0.841471
cosr(x) Cosine x based on radians, COSR(1) = 0.540302
tanr(x) Tangent x based on radians, TANR(1) = 1.557408
asinr(x)
Arc sine x based on radians, ASINR(0.5) = 0.523599
acosr(x)
Arc cosine x based on radians, ACOSR(0.5) = 1.047198
atanr(x)
Arc tangent x based on radians, ATANR(0.5) = 0.46348
Managing Tasks
25
x + y:
x added to y, 20 + 30 = 50
x - y:
x subtract y, 20 - 30 = -10
x == y:
Is x equal to y (Notice double equal signs) 1 if true 0 if false
x!=y:
Is x 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, (A1>2.5)&(A2>3.5) returns 1.0 if Task A1 is
greater than 2.5 AND Task A2 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 then return 1.0,
else return 0.0. For example, (A1>2.5)|(A2>3.5) returns 1.0 if Task A1 is greater than 2.5
OR if Task A2 is greater than 3.5, else it returns 0.0
Low Level Logic
Built-in functions provide easy access to
advanced trigonometric, logarithmic, and
mathematical equations.
Functions
Built-in functions provide easy access to
advanced trigonometric, logarithmic, and
mathematical equations.
Priority Ordered
(Highest to Lowest)
Trigonometric Functions