MP_TEM_Configuration

MP_TEM_Configuration 1:

This function block is used to configure 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. 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;
bRead_Write                : BOOL;
strDataKL6771              : DataKL6771;
nSensor1Type_Write         : E_MP_EV_V4_Sensor1Type;
bSelectMeterRegister_Write : BOOL;

MP_Address: MP-Bus address of the slave.

bStart: a positive edge starts the function block.

bRead_Write: if FALSE then READ only; if TRUE then READ and WRITE.

strDataKL6771: the data structure with which the KL6771() function block must be linked (see DataKL6771).

nSensor1Type_Write: sensor 1 type (see E_MP_EV_V4_Sensor1Type).

bSelectMeterRegister_Write: FALSE = certified meter; TRUE = lifetime meter.

VAR_OUTPUT

bBusy                      : BOOL
bError                     : BOOL
iErrorId                   : MP_Error
st_MalfunctionService      : St_MP_EV_V4_MalfunctionServiceInfo
nSensor1Type               : E_MP_EV_V4_Sensor1Type
rVnom                      : LREAL
arSerialNumber             : ARRAY[0..1] OF DWORD
bSelectMeterRegister       : BOOL

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.

st_MalfunctionService: malfunction and service information (see St_MP_EV_V4_MalfunctionServiceInfo).

nSensor1Type: sensor 1 type (see E_MP_EV_V4_Sensor1Type).

rVnom: nominal volume flow rate in l/s (0...100).

arSerialNumber: serial number of the device.

bSelectMeterRegister: FALSE = certified meter; TRUE = lifetime meter.