STATISTICS_REAL (FB)ΒΆ
FUNCTION_BLOCK STATISTICS_REAL
Calculates minimum, maximum, and average of an input value
The calculation is done over time and can be reset in order to begin a fresh caluclation/statistic.
- InOut:
- Scope - Name - Type - Initial - Comment - Input - IN- REAL- Input value - RESET- BOOL- TRUE:- AVGset to 0,- MNand- MXto minimum and maximum possible real values- Output - MN- REAL- 3.402823466E+38 - Minimum value - MX- REAL- -3.402823466E+38 - Maximum value - AVG- REAL- Average value