Echelon i.LON 100 e2 Internet Server User Manual

Page 144

Advertising
background image

i.

LON 100 Internet Server Programmer’s Reference

9-7

Property Description

<UCPTcompFunction>

This property defines the comparison function the Analog Function Block

will use to compare the values of the compare data point and the input

data points. This function will only be used if the <UCPToutputFunction>
selected is FN_COMPARE, FN_OR or FN_AND, and if the

<UCPTtrueThreshold> property is not defined. These properties are

described later in the table.

When this function is used, the output data point will be updated to a True

or False value depending on the results of the comparisons made with this
function. If more than one input data point is defined for the Analog

Function Block, you can specify a percentage with the

<UCPTmajorityValue> property. If that percentage of the input data
points return True, the output data point will be updated to True.

Otherwise, it will be updated to False. The <UCPTmajorityValue>

property is described in more detail later in this table.

For descriptions of the comparison functions you can use with your Analog

Function Block, see Comparison Functions on page 9-10.

<UCPTmajorityValue>

The percentage of input data points whose comparison result with the

compare data point (or with the value of the <UCPTtrueThreshold>
property, if it is defined) must be True in order for the output data point is

set to True. The comparison to be performed between the input and

compare data point values is determined by the <UCPTcompFunction>
selected.
For example, if this field is set to 30.0, 30% of the input data points must

return True in order for the output data point to be set to True. This field
has a range of 0.0 to 100.0.

<UCPTtrueThreshold>

This property specifies the compare value to be used with the input data
point when the comparison function selected for the Analog Function Block

is FN_OR, FN_AND or FN_COMPARE. This property will only be used if

the input data point(s) uses a scalar or enumeration value. This property
can not be used if any of the input data point use the format type

SNVT_switch.

If this property is not defined, all the comparisons will made with the value

of the compare data point. You can select a compare data point by filling in

the <CompareDataPoint> element, which is described later in the table.

Scenarios that may assist you in understanding how to use this property

follow the Comparison Functions section on page 9-10.

<UCPToutputFunction>

The output function for the Analog Function Block. This determines the

operation the Analog Function Block will perform each time its data points

are updated, and how the value of the Analog Function Block’s output data
point will be determined.
For descriptions of the output functions you can use with your Analog
Function Block, see Output Functions on page 9-10.

<SCPTminRnge>

The minimum value that the output data point can be assigned. This value
is initially taken from the SCPT resource files.

<SCPTmaxRnge>

The maximum value that the output data point can be assigned. This value
is initially taken from the SCPT resource files.

Advertising