beautypg.com

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

Page 241

background image

XL™ Series

Functions 22-7

counts

This will cause the system to read the latest summation count value
and return the results. The results are adjusted for the count slope
coefficient.

totcnt

This will cause the system to read the last total count value
and return the results. The results are adjusted for the count
slope coefficient.

digioX

This will cause the system to read the digital I/O X and return a 1.0
if it is high and a 0.0 if it is low. X is a 1 or a 2 representing digital
I/O 1 or 2.

anaX

This will cause the system to read analog channel X, apply
the slope and offset for analog channel X, and return the
results. X is from 1 to 4.

freq

The system will read the frequency input, apply the slope and
offset for the frequency input, and return the results.

encodr

The unit can use the two digital inputs to read the older style
quadrature shaft encoders. If the system is configured for this type
of encoder, this would cause the encoder to be read and the results
to be returned.

tscans

This is the total number of scans since logging started. This
can be used as a counter or to initialize some variables at
the start of scanning.

sdiAP

This will cause the system to scan the sensor at SDI-12
address A and return parameter P as the result. The address
is in the range of 0 to 9 and the parameter is in the range of
1 to 9.

fntXX

Functions may be called from other functions or used as
variables for other functions. The value of the referenced
function is returned but the referenced function is not
reevaluated. See the section on advanced operations for
details. The value of XX is 01 to 40 for fnt01 to fnt40.

System Constants:
There are a few constants the system recognizes so the user does not have to type them in
directly. They are all implemented to the highest precision possible.

pi

The value for pi is 3.14159265359.

This manual is related to the following products: