VARIANCE (FB)

 

FUNCTION_BLOCK VARIANCE

Calculates the mathematical variance of a variable over time

In this case, over time means that the variance is extended for each call to the function block until a reset is done.

InOut:

Scope

Name

Type

Comment

Input

IN

REAL

Input value

RESET

BOOL

Reset

Output

OUT

REAL

Variance