beautypg.com

1 output functions – Echelon i.LON SmartServer 2.0 User Manual

Page 126

background image

i.LON SmartServer 2.0 Programmer’s Reference

8-8

Property Description

The value the output data point will be assigned when it is
overridden, and the property is set to
OV_SPECIFIED.

The delay, in seconds, the Analog Function Block wait after
a reset before polling the values of the input data points.
When this value is 0, the Analog Function Block will
resume polling the input data points at the rate specified by
the property after a reset.

This field has a range of 0.0-6553.0.

8.3.2.1 Output Functions

The following table lists and describes the output functions you can use to fill in the
property. You must reference each function by the identifier listed in the
table. The function selected determines the value that the Analog Function Block will assign to the
output data point.

Identifier

Value Assigned To The Output Data Point

FN_MAX

Maximum value of all input data points.

FN_MIN

Minimum value of all input data points.

FN_SUM

The sum of the values of all input data points.

FN_AVERAGE

The average of the values of the input data points.

FN_COMPARE

The result of the last comparison between the input data point(s) and the
compare data point (or the value assigned to the
property, if it is defined). If this is selected, you must also select a comparison
function by filling in the property. For an example of
how you could use this function, see the FN_COMPARE Example section.

FN_AND

This function reports True when all the input data points are True. The
definition of a True input depends on the data point type. If the input type is
SNVT_switch, the input is True if the value and state fields are non-zero. If
the input type is a structure other than SNVT_switch, the Boolean threshold is
undefined, and FN_AND should not be used.

If the input data point(s) type is a scalar or enumeration value, the function
reports True if all the comparisons made by the comparison function for the
analog function block are True. For an example of how you could use the
FN_AND output function in this way, see the FN_AND Example section.

FN_OR

This function reports True when any of the input data points are True. The
definition of a True input depends on the data point type. If the input type is
SNVT_switch, the input is True if either state or value field is non-zero. If the
input type is a structure other than SNVT_switch, the Boolean threshold is
undefined, and FN_OR should not be used.

If the input data point(s) type is a scalar or enumeration value, the function
reports True if any of the comparisons made by the comparison function for