XL™ Series
Functions 22-3
Math Evaluator Operations:
Before discussing the user interface for entering and testing functions any further at this point,
lets look at the operations available, their priority and how the math section is tied to the
hardware. The following lists include all the functions, operators, variables, and constants used
by the math evaluator. Notice that all the functions and variables are in lower case. They may be
entered in either upper or lower case but the system will convert them to lower case before
storing them in memory, and will display them afterwards in lower case.
Highest Level Of Priority:
Trigonometry 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
Logarithmic Functions:
log(x)
Log base 10 of x, LOG(1000) = 3.0
ln(x)
Natural log of x, LN(1000) = 6.90775
exp(x)
Natural log base of 2.718282 raised to the power of x, EXP(3) =
20.08554
Basic Math Functions:
abs(x)
Absolute value of x, ABS(-55.67) = 55.67
sqrt(x)
Square root of x, SQRT(100) = 10.0
Logical functions:
if(x,y,z)
If
condition x is true
then
return y
else
return z
IF
(ana1
>
2.5,10,-10) = 10.0
if
analog 1 is greater than 2.5
= -10.0
if
analog 1 is less than 2.5
Summary of Contents for H-350XL
Page 1: ...XL Series Models H 350XL H 500XL H 510XL H 522 H 522 Plus Owner s Manual ...
Page 30: ...2 16 Hardware Options and Installation XL Series ...
Page 42: ...3 12 Using The Built In Keypad Display XL Series ...
Page 46: ...4 4 PC Menu Interface Operation XL Series ...
Page 58: ...5 12 Miscellaneous System Setup XL Series ...
Page 66: ...6 8 Serial Port Options XL Series ...
Page 74: ...7 8 System Configuration Files XL Series ...
Page 84: ...8 10 System Status Menus Options XL Series ...
Page 88: ...9 4 Scanning Options XL Series ...
Page 156: ...15 12 Logging Options XL Series ...
Page 198: ...16 42 Operation with the GOES Radio XL Series ...
Page 216: ...19 6 Alarm Call Out XL Series ...
Page 234: ...21 8 Operation with the H 355 Smart Gas System XL Series ...
Page 246: ...22 12 Functions XL Series ...