<< Click to Display Table of Contents >> Navigation: »No topics above this level« Description |
mapp Services V5.16
The same MpLink used by MpEnergyCore is used for this component as well.
This function block registers the energy data from a selected module. Any module containing energy data can be used. An energy metering module can be used, for example (explained here). The energy data must be specified on "ForwardActiveEnergy" and "ReverseActiveEnergy".
The name of the module is specified on input "ModuleName". This consists of the module position on the target system.
Example:
If energy data from X20AP module X20AP3121 should be collected, "IF6.ST1" is used as the module name.
How to collect the energy data of an X20AP module is explained in use case "Collecting energy data from an energy metering module". |
The data is collected and evaluated by MpEnergyCore. Input "Unit" defines the unit specified for the module's energy data. For additional information about the collected energy data, see the function block's info structure.
The "Mode" defines whether the energy data from this module should be included in the calculation by MpEnergyCore or only recorded to be analyzed in detail later. When using mpENERGY_REG_MODE_COLLECT mode, the data from this module is immediately included in the calculation of the energy data.
The second mode mpENERGY_REG_MODE_MONITOR_ONLY makes it possible to record the energy data from a module but not included it in the calculation of energy consumption. This mode is useful in situations where the registered energy data from this module is already being recorded "somewhere else" and therefore no longer needs to be included in the calculation. It should still be possible to precisely analyze the energy consumed by this component, however.
The following example contains three modules whose energy data should be recorded.
Two module are included in the calculation using a shared function block that measures energy. Nevertheless, the data is recorded individually so that a precise analysis of each individual module is possible. The third module that measures power is included directly in the calculations of the energy consumption. Various energy sources are registered in the example above (3x energy, 1x power); 3x MpEnergyRegEnergy and 1x MpEnergyRegPower are used for this.