MP_EnergyValveV4_Process

This function block is suitable for Energy Valve actuators EV..R2+.. (V4). 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;
rSetpoint : LREAL;
nOverrideControl : E_MP_EV_V4_OverrideControl;
nCommand : E_MP_EV_V4_Command;
nDataRead : WORD := 16#FFFF;
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.
rSetpoint: setpoint in % (0...100).
nOverrideControl: override the setpoint with defined values (see E_MP_EV_V4_OverrideControl).
nCommand: command for service and test functions of the actuator (see E_MP_EV_V4_Command).
nDataRead: 0xFFFF - read all data; bit 0 - read relative position; bit 1 - read absolute position; bit 2 - read value sensor 1; bit 3 - read analog setpoint; bit 4 - read relative volume flow rate; bit 5 - read absolute volume flow rate; bit 6 - read glycol concentration; bit 7 - read temperature1 remote; bit 8 - read temperature2 integrated; bit 9 - read temperature delta; bit 10 - read relative power; bit 11 - read absolute cooling power; bit 12 - read absolute heating power; bit 13 - total volume; bit 14 - cooling energy; bit 15 - heating energy
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
strMP_Serial_Number : MP_Serial_Number;
rSetpoint_Read : LREAL;
nOverrideControl_Read : E_MP_EV_V4_OverrideControl;
nCommand_Read : E_MP_EV_V4_Command;
rRelativePosition : LREAL;
rAbsolutePosition : LREAL;
nSensor1Value : DINT;
rSetpointAnalog : LREAL;
rRelativeVolumetricFlow : LREAL;
rAbsoluteVolumetricFlow : LREAL;
rGlycolConcentration : LREAL;
rTemperature1_Remote : LREAL;
rTemperature2_Integrated : LREAL;
rDeltaTemperature : LREAL;
rRelativePower : 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).
rSetpoint_Read: setpoint in % (0...100).
nOverrideControl_Read: overridden setpoint (see E_MP_EV_V4_OverrideControl).
nCommand_Read: command (see E_MP_EV_V4_Command).
rRelativePosition: relative position in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.0 = TRUE).
rAbsolutePosition: absolute position in ° (0...96). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.1 = TRUE).
nSensor1Value: sensor 1 value in mV/Ohm (0...65535). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.2 = TRUE).
rSetpointAnalog: analog setpoint in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.3 = TRUE).
rRelativeVolumetricFlow: relative volume flow rate in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.4 = TRUE).
rAbsoluteVolumetricFlow: absolute volume flow rate in l/s (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.5 = TRUE).
rGlycolConcentration: glycol concentration in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.6 = TRUE).
rTemperature1_Remote: temperature1 remote in °C (-20...12). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.7 = TRUE).
rTemperature2_Integrated: temperature2 integrated in °C (-20...12). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.8 = TRUE).
rDeltaTemperature: temperature delta in K (0...14). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.9 = TRUE).
rRelativePower: relative power in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.10 = TRUE).
rAbsoluteCoolingPower: absolute cooling power in kW (0...21.5). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.11 = TRUE).
rAbsoluteHeatingPower: absolute heating power in kW (0...21.5). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.12 = TRUE).
rTotalVolume: total volume in m³ (0...214748.36). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.13 = TRUE).
nCoolingEnergy: cooling energy in kWh (0...21474836). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.14 = TRUE).
nHeatingEnergy: heating energy in kWh (0...21474836). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.15 = TRUE).