<< Click to Display Table of Contents >> Navigation: »No topics above this level« Configuring MpEnergyRegEnergy |
mapp Services V5.16
Using input "MpLink", we establish a connection to the configuration we created earlier named "gEnergyCore".
|
|
The function block is enabled using input "Enable".
|
|
The name of the module that provides the energy data is defined using input "ModuleName". "MyModule" is specified.
|
|
"Mode" defines how the registered data is to be used. Mode mpENERGY_REG_MODE_COLLECT is used. For more information about modes, see here. "Units" determines the unit used to specify the energy data. Unit mpENERGY_ENERGY_UNIT_KWH is used. This means that the energy data is specified in kWh.
|
|
Finally, variables "ForwardActiveEnergy" and "ReverseActiveEnergy" are created, via which the absorbed and emitted active energy is specified to MpEnergyRegEnergy.
|
|
|
|
|
|
This means that the energy data coming from the specified module are specified to MpEnergyRegEnergy.
|
|
MpEnergyCore collects the provided data of all registered modules and calculates the energy consumption.
|
|