MpEnergyRegEnergy

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MpEnergyRegEnergy

mapp Services V5.16

This function block registers energy data.

Function block

Optional parameters

mpenergyregenergy

mpenergyregenergy_opt

Interface

I/O

Parameter

Data type

Description

IN

MpLink

Pointer to MpComIdentType

Connection to mapp configuration (MpLink of an MpEnergyCore configuration)

IN

Enable

BOOL

The function block is active as long as this input is set.

IN

ErrorReset

BOOL

Resets function block errors.

IN

ModuleName

Pointer to STRING[100]

Name of the module providing energy data.

IN

Mode

MpEnergyRegModeEnum

Mode used when calculating the energy data of this module.

IN

Units

MpEnergyRegEnergyUnitsEnum

Unit specified for the energy data.

IN

ForwardActiveEnergy

LREAL

Recorded active energy [user-defined unit via "Units"].

IN

ForwardReactiveEnergy

LREAL

Recorded reactive energy [user-defined unit via "Units"].

IN

ReverseActiveEnergy

LREAL

Specified active energy [user-defined unit via "Units"].

IN

ReverseReactiveEnergy

LREAL

Specified reactive energy [user-defined unit via "Units"].

OUT

Active

BOOL

Function block active.

OUT

Error

BOOL

Error occurred during execution.

OUT

StatusID

DINT

Status information.

OUT

Info

MpEnergyRegPowerInfoType

Additional function block information.

mapp concept

Section mapp components explains how mapp components are structured. In addition, it provides important notes for correctly using mapp components (e.g. for downloads).

Topics in this section:

Description