beautypg.com

Selecting and configuring a mathematical operation, Selecting and configuring a logical operation – Echelon SmartServer 2.2 User Manual

Page 453

background image

454

Using Analog Functional Blocks

Selecting and Configuring a Mathematical Operation

You can select a mathematical operation to determine the minimum, maximum, average, or sum of two
or more input points and then specify the minimum and maximum values that can be passed to the
output data point.

To select and configure a mathematical operation, follow these steps:

1. Click the middle icon, which is selected by default.

2. Select one of the following mathematical functions from the list to determine the value to be sent

to the output point:

Select Minimum to send the value of the input point with the lowest value.

Select Maximum to send the value of the input point with the highest value.

Select Average to send the average value of the input points (sum divided by number of input
points). If you select this option, you can set the Depth property to calculate a straight
average from the previous averages. For example, if you set the Depth property to 2, the
average equals the sum of the last two calculated averages divided by two. This means that if
the last calculated average was 20, and the previous calculated average was 30, the average
value sent to the output point is 25.

Select Sum to send the total sum of the input point values.

3. In the Max and Min boxes, specify the maximum and minimum values that can be sent to the

output point. If the calculated value exceeds the maximum or goes below the minimum, the
maximum or minimum value is sent to the output point instead of the calculated value.

4. Click Submit. After you select an output point, the Analog Functional Block will perform the

specified mathematical function each time any of the input points are updated and store the result
in the specified output data point.

Selecting and Configuring a Logical Operation

You can use select a logical operation to compare the value of one or more input points to that of a
compare point, which can be another data point or a constant value. The Analog Functional Block
evaluates whether one, all, or a percentage of the input points are equal, not equal, less than, less than
or equal, greater than, or greater than or equal to the compare point based on the logical and output
functions you select. The result of the logical operation, TRUE or FALSE, is sent to the specified
output point.

To select and configure a mathematical operation, follow these steps:

1. Click the bottom icon.