beautypg.com

1 output functions – Echelon i.LON 100 e2 Internet Server User Manual

Page 147

background image

Property Description

This element defines the output data point for this function block.
You must specify the assigned to the output data point

within this element. The value of this data point will be updated with the
result of each comparison or statistical operation that the Analog Function

Block performs.

9.2.1.2.1 Output Functions

Table 46 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 here determines the value that the Analog Function Block will assign
to the output data point.

Table 46 Output Function Identifiers

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 FN_COMPARE
Example
on page 9-12.

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 FN_AND Example on page 9-11.

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 the state and value fields are 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 the
analog function block are True. For an example of how you could use the

FN_OR function in this way, see FN_OR Example on page 9-12.

i.

LON 100 Internet Server Program

9-10

mer’s Reference