beautypg.com

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

Page 240

background image

22-6 Functions

XL™ Series

(ana1>2.5)|(ana2>3.5) returns 1.0 if analog channel 1 is greater
than 2.5 OR if analog channel 2 is greater than 3.5, else it returns
0.0

Lowest Level Of Priority:

Assignments:

Fnt01 = 12.34

Assign the value of 12.34 to function 01

System Variables:
All system source variables can be used with the math functions. For example an analog input
channel can be used in a function such as Fnt01=10*ana1+32. The following is a complete list of
all the system source variables.

date

This is the current date in a YYMMDD format

time

This is the current time in a HHMMSS format

seconds

This is the current seconds, 0 to 59

minutes

This is the current minutes, 0 to 59

hours

This is the current hours, 0 to 23

day

This is the current day, 1 to 31

month

This is the current month, 1 to 12

year

This is the current year, 00 to 99, 2000 to 2099

stage

This is the last measured stage value and is adjusted using
the slope and offset. Using this variable in a function will
not cause a new measurement.

psi

This is the last measured psi value. Using this variable in a
function will not cause a new measurement.

pttemp

This is the last measured temperature value of the internal
temperature sensor in degrees C or F as configured by the user.
Using this variable in a function will not cause a new
measurement.

batt

This will cause the system to take a new battery measurement,
convert it to volts, and return the results.

This manual is related to the following products: