MP_TEM_Process

This function block is suitable for the Thermal Energy Meter type 22PE-.. and 22PEM-.. . For more information please visit www.belimo.com.
MP_Address is used to specify the MP-Bus device with which the function block is to communicate. bStart activates communication with the MP-Bus device. bBusy indicates that the function block is active. If bStart remains TRUE, the device is addressed cyclically with a period specified by the time in TMPolling. The time should be set longer than 1 s. bError is used to indicate an error in communication with the actuator. The type of the error can be read with iErrorId.
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
strDataKL6771 : DataKL6771;
TMpolling : TIME:= t#10s;
MP_Address: MP-Bus address of the slave.
bStart: a positive edge starts the function block. If this remains continuously TRUE, the function block will be activated cyclically with a period specified by the time in TMPolling.
strDataKL6771: the data structure with which the KL6771 function block must be linked (see DataKL6771).
TMpolling: the time for which the function block should address the actuator. Default 10 s, minimum time 1 s.
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
strMP_Serial_Number : MP_Serial_Number;
rSensor1Value : LREAL;
rRelativeVolumetricFlow : LREAL;
rAbsoluteVolumetricFlow : LREAL;
rGlycolConcentration : LREAL;
rTemperature1_Remote : LREAL;
rTemperature2_Integrated : LREAL;
rDeltaTemperature : LREAL;
rAbsoluteCoolingPower : LREAL;
rAbsoluteHeatingPower : LREAL;
rTotalVolume : LREAL;
nCoolingEnergy : DINT;
nHeatingEnergy : DINT;
bBusy: this bit is set for as long as the function block is active.
bError: the output becomes TRUE as soon as an error occurs. This error is described via the iErrorId variable.
iErrorId: this output outputs an error code in the event of an error (see MP_ERROR). bError goes TRUE at the same time.
strMP_Serial_Number: structure for the serial number. (see MP_Serial_Number).
rSensor1Value: sensor 1 value in mV/Ohm (0...65535).
rRelativeVolumetricFlow: relative volume flow rate in % (0...100).
rAbsoluteVolumetricFlow: absolute volume flow rate in l/s (0...100).
rGlycolConcentration: glycol concentration in % (0...100).
rTemperature1_Remote: temperature1 remote in °C (-20...12).
rTemperature2_Integrated: temperature2 integrated in °C (-20...12).
rDeltaTemperature: temperature delta in K (0...14).
rAbsoluteCoolingPower: absolute cooling power in kW (0...21.5).
rAbsoluteHeatingPower: absolute heating power in kW (0...21.5).
rTotalVolume: total volume in m³ (0...214748.36).
nCoolingEnergy: cooling energy in kWh (0...21474836).
nHeatingEnergy: heating energy in kWh (0...21474836).