MP_TEM_Configuration
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.
Inputs
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
bRead_Write : BOOL;
strDataKL6771 : DataKL6771;
nSensor1Type_Write : E_MP_EV_V4_Sensor1Type;
bSelectMeterRegister_Write : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
MP_Address | USINT | MP-Bus address of the slave. |
bStart | BOOL | 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. |
bRead_Write | BOOL | If FALSE then READ only; if TRUE then READ and WRITE. |
strDataKL6771 | The data structure with which the KL6771() function block must be linked. | |
nSensor1Type_Write | Sensor 1 type | |
bSelectMeterRegister_Write | BOOL | FALSE = certified meter; TRUE = lifetime meter. |
Outputs
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;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | This bit is set for as long as the function block is active. |
bError | BOOL | This output goes 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. bError goes TRUE at the same time. | |
st_MalfunctionService |
Malfunction and service information | |
nSensor1Type |
Sensor 1 type | |
rVnom |
LREAL |
Nominal volume flow in l/s (0...100). |
arSerialNumber |
ARRAY OF DWORD |
Serial number of the device. |
bSelectMeterRegister |
BOOL |
FALSE = certified meter; TRUE = lifetime meter. |
Requirements
Development environment | required TC3 PLC library |
---|---|
TwinCAT from v3.1.4024.26 | Tc2_MPBus from 3.4.14.0 |