MP_EnergyValveV4_2_Process

This function block is suitable for Energy Valve actuators EV..R2+.. with firmware 4.2.0 or higher. 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;
strDataKL6771 : DataKL6771;
TMpolling : TIME := t#10s;
rSetpoint : LREAL;
rAbsoluteDiffWaterPressureSetpoint_Write : LREAL;
nOverrideControl : E_MP_EV_V4_OverrideControl
nCommand : E_MP_EV_V4_Command;
nDataRead : DWORD := 16#000F_FFFF;
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. |
rSetpoint | LREAL | Setpoint in % (0...100). |
rAbsoluteDiffWaterPressureSetpoint_Write | LREAL | Absolute difference water pressure setpoint in kPa (10..400). |
nOverrideControl | Override the setpoint with defined values. | |
nCommand | Command for service and test functions of the actuator. | |
nDataRead | DWORD | 0x000F_FFFF - 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 - Read cooling energy; Bit 15 - Read heating energy; Bit 16 - Read nominal water differential pressure; Bit 17 - Read absolute water differential pressure; Bit 18 - Read relative water differential pressure |
Outputs
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;
rAbsoluteDiffWaterPressureSetpoint_Read : LREAL;
rAbsoluteVolumetricFlowSelUnit : LREAL;
st_MalfunctionService : ST_MP_EV_V4_2_MalfunctionServiceInfo;
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;
rNominalDiffWaterPressure : LREAL;
rAbsoluteDiffWaterPressure : LREAL;
rRelativeDiffWaterPressure : LREAL;
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. | |
rSetpoint_Read | LREAL | Setpoint in % (0...100). |
nOverrideControl_Read | Overridden setpoint. | |
nCommand_Read | Command. | |
rAbsoluteDiffWaterPressureSetpoint_Read | LREAL | Absolute difference water pressure setpoint in kPa (10..400). |
rAbsoluteVolumetricFlowSelUnit | LREAL | Absolute volumetric flow in selected unit. |
st_MalfunctionService | ST_MP_EV_V4_2_MalfunctionServiceInfo | Error state. |
rRelativePosition | LREAL | Relative position in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.0 = TRUE). |
rAbsolutePosition | LREAL | Absolute position in ° (0...96). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.1 = TRUE). |
nSensor1Value | DINT | 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 | LREAL | Analog setpoint in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.3 = TRUE). |
rRelativeVolumetricFlow | LREAL | Relative volume flow rate in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.4 = TRUE). |
rAbsoluteVolumetricFlow | LREAL | 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 | LREAL | Glycol concentration in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.6 = TRUE). |
rTemperature1_Remote | LREAL | Temperatur1 remote in °C (-20...12). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.7 = TRUE). |
rTemperature2_Integrated | LREAL | Temperature2 integrated in °C (-20...12). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.8 = TRUE). |
rDeltaTemperature | LREAL | Temperature Delta in K (0...14). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.9 = TRUE). |
rRelativePower | LREAL | Relative power in % (0...100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.10 = TRUE). |
rAbsoluteCoolingPower | LREAL | 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 | LREAL | 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 | LREAL | Total volume in m³ (0...214748.36). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.13 = TRUE). |
nCoolingEnergy | DINT | Cooling energy in kWh (0...21474836). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.14 = TRUE). |
nHeatingEnergy | DINT | Heating energy in kWh (0...21474836). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.15 = TRUE). |
rNominalDiffWaterPressure | LREAL | Nominal water differential pressure in kPa (0..600). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.16 = TRUE). |
rAbsoluteDiffWaterPressure | LREAL | Absolute water differential pressure in kPa (0..600). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.17 = TRUE). |
rRelativeDiffWaterPressure | LREAL | Relative water differential pressure in kPa (0..100). A value of -1 means that the data is disabled (see VAR_INPUT nDataRead.18 = TRUE). |
Prerequisites
Development Environment | PLC library to include |
---|---|
TwinCAT from v3.1.4024.66 | Tc2_MPBus from 3.7.1.0 |