Statistics
Statistics stores the last X input values and uses them to calculate sum, average, maximum and minimum values.
The number of memory cells can be adjusted and is limited to 31.
Content
Inputs and Outputs
Inputs
GATE (see Logic Elements | Datapoint-Gate)
IN (input)
Input for the statistics function. It must be possible to convert values to floating decimal values (Float). Otherwise, the input value will be ignored completely.RST (Reset)
Reset statistics. The logic element is reset completely.
Outputs
END
This data point is used to send a 1.0 value when the last index is reached and statistics was run through once. For the next input value, index 1 would be written to again.SUM
The sum of all values currently set in statistics.AVG
The average of all values currently set in statistics.MAX
The maximum value currently set in statistics.MIN
The minimum value currently set in statistics.1 - n
The individual memory cells of statistics
Configuration
Along with the number of memory cells, they can also indicate whether all memory cells are to be emptied when starting new statistics or whether the values are to be left until they are overwritten.
///