12.2.1.2 Functionality
n The energy measuring module is used to measure the energy of a 3-phase connec-
tion. In addition to voltage, current and phase, the module determines many other
measurands.
n Limit values can be parametrized for some measurands. When exceeding or falling
below corresponding interrupt status bits are set. The module supports several com-
mands (CMD). For example, interrupt status bits can be reset hereby.
n With the function block FB 325 and the associated data structure of type UDT 325,
you can read energy measured values and interrupt status bits of the energy meas-
urement module and commands can be executed on the module. In this case, the
FB 325 communicates via the cyclic I/O data (16 bytes each) of the module, which
must be specified accordingly when FB 325 is called.
n The real request interface is realized via the data structure of the type UDT 325. This
makes simple control and evaluation possible, for example via a touch panel.
n During the configuration, make sure that the parameters CHANNEL_IN and
CHANNEL_OUT of the FB 325 are correctly interconnected. Otherwise, you will
receive a timeout error message.
– CHANNEL_IN is to be interconnected to the 16byte input data of the energy
measurement module.
– CHANNEL_OUT is to be interconnected to the 16byte output data of the energy
measurement module.
n By performing a manual reset after PowerON, you can avoid temporary error mes-
sages. To do this, you have to set bit 7 of the variable Header.Control_Global in the
data structure MEAS_DATA of FB 325.
n With the basic settings of the UDT 325, all measured values of the energy measuring
module are read with a period of 1s and stored in the data structure MEAS_DATA.
You can adjust the period via the variableHeader.Polltime in the data structure
MEAS_DATA of the FB 325.
To validate the relevancy of your measured values, you can check the
DS-ID parameter for the time of its last change. As soon as a new meas-
ured value is available, the DS-ID is incremented by 1 within the values
1 ... 15. The time of the last change is at the same time the age of the last
measured values.
For the manual measured value acquisition you have to set bit 1 of the variable
Header.Control_Global in the data structure MEAS_DATA of the FB 325. If the bit is set,
the measured values are read once by the energy measurement module and then the bit
is reset.
By default, the measured values of all measurands are read periodically. However, you
have the option of selecting the measurands in the data structure MEAS_DATA. Via bit 0
of the variable Data.[Name of the measurand].Read_Mode the access to the value of the
corresponding measurand can be set. Please note that here the measurand IDs are
grouped together. As soon as at least one measured value of a measurand of a group is
to be read, the measured values of all measurands of this group are read. For example, if
the value of the measurand with the ID no. 4 is to be read, so are those with ID no. 5 and
6 are read. There are the following groupings:
Overview
Interconnection of the FB
325:
Cyclic measured value
acquisition
Manual measured value
acquisition
Selection of the measur-
ands
VIPA SPEED7
Device Specific
Energy Measurement > Overview
HB00 | OPL_SP7 | Operation list | en | 18-30 266