Xylem System 5000 User Manual User Manual
Page 61

Outputs
59
Function
A function can be used to calculate a finer value for transmission. Available functions are the
same as those available to Log Files:
avg
Returns an averaged value of all values in the given range.
delta
Returns the difference between two values: the current Task value and the previous n
measurement, 1 being the previous measurement, 2 being two measurements previous,
and so on. For example, to record the change between the current scan value (x) and the
previous scan value (y), setting the Prev. n Measurements to 1 would yield the result of x - y.
max
Returns the maximum value of all values in the given range.
min
Returns the minimum value of all values in the given range.
sum
Returns the summation of all values in the given range.
timeofmin
Returns the date and timestamp of the minimum value of all values in the given range (e.g.
MM/DD/YYYY HH:MM:SS).
timeofmax
Returns the date and timestamp of the maximum value of all values in the given range (e.g.
MM/DD/YYYY HH:MM:SS).
intervalmin
Only available for the Canada layout. Follows the Canada formatting by printing a colon,
SHEF Header, the number of minutes since the minimum value, the output rate in minutes,
followed by the minimum value itself. Proper use of this function requires the Output rate to
be much larger than the Input rate. For example, the Input Scan Rate could be set to every five
minutes (00:05:00) and the Output Timed Rate is set to every hour (01:00:00), or whatever the
Transmit Rate may be.
intervalmax
Only available for the Canada layout. Follows the Canada formatting by printing a colon,
SHEF Header, the number of minutes since the maximum value, the output rate in minutes,
followed by the maximum value itself. Identical to intervalmin, rather returning the maximum
value. Please refer to the example given in the above intervalmin function description.