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 second. bError is used to indicate an error in communication with the actuator. The type of the error can be read with iErrorId.
 Inputs
 Inputs
VAR_INPUT
  MP_Address     : USINT := 1;
  bStart         : BOOL;
  strDataKL6771  : DataKL6771;
  TMpolling      : TIME := t#10s;
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. | 
| strDataKL6771 | The data structure with which the KL6771() function block must be linked. | |
| TMpolling | TIME | The time for which the function block should address the actuator. Default 10 s, minimum time 1 s. | 
 Outputs
 Outputs
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;
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. | |
| strMP_Serial_Number | Structure for the serial number. | |
| rSensor1Value | LREAL | Sensor 1 Value in mV/ohm (0...65535). | 
| rRelativeVolumetricFlow | LREAL | Relative volume flow rate in % (0...100). | 
| rAbsoluteVolumetricFlow | LREAL | Absolute volume flow rate in l/s (0...100). | 
| rGlycolConcentration | LREAL | Glycol concentration in % (0...100). | 
| rTemperature1_Remote | LREAL | Temperatur1 remote in °C (-20...12). | 
| rTemperature2_Integrated | LREAL | Temperature2 integrated in °C (-20...12). | 
| rDeltaTemperature | LREAL | Temperature delta in K (0...14). | 
| rAbsoluteCoolingPower | LREAL | Absolute cooling power in kW (0...21.5). | 
| rAbsoluteHeatingPower | LREAL | Absolute heating power in kW (0...21.5). | 
| rTotalVolume | LREAL | Total volume in m³ (0...214748.36). | 
| nCoolingEnergy | DINT | Cooling energy in kWh (0...21474836). | 
| nHeatingEnergy | DINT | Heating energy in kWh (0...21474836). | 
Requirements
| Development environment | PLC library to include | 
|---|---|
| TwinCAT from v3.1.4024.26 | Tc2_MPBus from 3.4.14.0 |