Input values are accumulated over time, and when pulsed (or every second, depending on user configuration), the module calculates the average value of the inputs and provides those values to the corresponding output registers.
These values are averaged by the module. They must be a numeric or bounded numeric register from any other module’s outputs. You must link at least one of these inputs.
When this register is not linked, the module averages the input values every second. When this register is linked, the module will only average the input values when the Operate Now input is pulsed.
When this register is pulsed, the module output values will be reset to 'Not Available' and internals cleared. Linking this input is mandatory; the module will not go online if left unlinked.
This register enables the module. When set to No, the outputs will be set to 'Not Available'. Default is Yes.
This register specifies which type of averaging the module performs. Average Mode is simple averaging, while RMS Mode uses sum of squares (RMS). The default is Average Mode.
This register defines how the module performs calculations when one or more of the Inputs registers are NOT AVAILABLE. The options are RESET CALCULATION WHEN SOURCE N/A and IGNORE N/A IN CALCULATION.
These registers hold the averaged values of the inputs, after they have been calculated.
Module events are recorded in the Event register. Possible events and their associated priority numbers are:
|Event priority group||Priority||Description|
|Reset||5||A module reset has occurred.|
|Setup Change||10||Input links or labels have changed.|
Responses to special conditions
The following table summarizes how the Averaging module behaves under different conditions.
|Condition||Response of output registers|
|An input goes N/A||The corresponding output is N/A and internal value is reset unless N/A behavior is set to IGNORE N/A IN CALCULATION.|
Detailed module operation
The Averaging module can be used in frameworks.
The Modbus Master Device module provides imported kW values from a Modbus slave device (Submeter1). The Averaging module calculates the average of all stored kW values only when the Successful Read register pulses the Operate Now register. This ensures the data is not stale. The resulting output value is linked to the Data Recorder, which records the value every 15 minutes (as triggered by the Periodic Timer module). Every time a record is written, the Record Complete register pulses and, via a Feedback module, triggers the Averaging module’s Reset register. All previous values for kW are erased and the process begins again.