MP_EPIV_R6_V4_Configuration

This function block is used to configure the 6-way EPIV V4 DN 15…25 EP..R6 + BAC-HHx. 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;
n6wayType : E_MP_6wayEPIV4:=MPBus_EP0_R6_BAC;
nControlMode_Write : E_MP_EV_V4_ControlMode := 1;
nBusFailAction_Write : E_MP_EV6way_V4_BusFailAction;
nCommunicationWatchdog_Write : UINT := 120;
bSetpointSource_Write : BOOL;
nSensor1Type_Write : E_MP_EV6way_V4_SensorType;
nUnitSelectMode_Write : E_MP_EP_R_R6_UnitSel := E_MP_l_h;
rMaxVolFlowLimitSeq1_Write : LREAL := 100;
rMaxVolFlowLimitSeq2_Write : LREAL := 100;
bInvertSeq_Write : BOOL;
bSetpointMode_Write : BOOL;
bEnableCondensationProtection_Write : BOOL;
bCondensationProtectionAction_Write : BOOL;
rCondensationWarningThreshold_Write : LREAL;
rCondensationAlarmThreshold_Write : LREAL;
nCondensationActionDelay_Write : UINT;
END_VARName | Type | Description |
|---|---|---|
MP_Address | USINT | MP-Bus address of the slave. |
bStart | BOOL | A positive edge starts the function block. |
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. | |
n6wayType | Control valve. | |
nControlMode_Write | Control mode. | |
nBusFailAction_Write | Bus failure action. | |
nCommunicationWatchdog_Write | UINT | Communication monitoring in s (5...3600). |
bSetpointSource_Write | BOOL | TRUE = bus; FALSE = analog |
nSensor1Type_Write | Sensor 1 type | |
nUnitSelectMode_Write | Unit selection. | |
rMaxVolFlowLimitSeq1_Write | LREAL | Maximum volume flow rate for sequence 1 in %. |
rMaxVolFlowLimitSeq2_Write | LREAL | Maximum volume flow rate for sequence 2 in %. |
bInvertSeq_Write | BOOL | TRUE = inverted; FALSE = not inverted. |
bSetpointMode_Write | BOOL | TRUE = separate setpoints; FALSE = single setpoint |
bEnableCondensationProtection_Write | BOOL | TRUE = enabled; FALSE = disabled |
bCondensationProtectionAction_Write | BOOL | TRUE = close valve; FALSE = none |
rCondensationWarningThreshold_Write | LREAL | Condensation warning threshold in % (5…95) for EP0..R6+BAC+HHM and in V (0.5…9.5) for EP0..R6+BAC. |
rCondensationAlarmThreshold_Write | LREAL | Condensation alarm threshold in % (5…95) for EP0..R6+BAC+HHM and in V (0.5…9.5) for EP0..R6+BAC. |
nCondensationActionDelay_Write | UINT | Delay in the condensation protection action in seconds. |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
nControlMode : E_MP_EV_V4_ControlMode;
nBusFailAction : E_MP_EV6way_V4_BusFailAction;
nCommunicationWatchdog : UINT;
bSetpointSource : BOOL;
nSensor1Type : E_MP_EV6way_V4_SensorType;
rVnom : LREAL;
nUnitSelectMode : E_MP_EP_R_R6_UnitSel;
arSerialNumber : ARRAY[0..1] OF DWORD;
rMaxVolFlowLimitSeq1 : LREAL;
rMaxVolFlowLimitSeq2 : LREAL;
bInvertSeq : BOOL;
bSetpointMode : BOOL;
bEnableCondensationProtection : BOOL;
bCondensationProtectionAction : BOOL;
rCondensationWarningThreshold : LREAL;
rCondensationAlarmThreshold : LREAL;
nCondensationActionDelay : UINT;
END_VARName | 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. | |
nControlMode | Control mode. | |
nBusFailAction | Bus failure action. | |
nCommunicationWatchdog | UINT | Communication monitoring in sec (5...3600). |
bSetpointSource | BOOL | TRUE = bus; FALSE = analog |
nSensor1Type | Sensor 1 type | |
rVnom | LREAL | Nominal volume flow in l/s (0…100). |
nUnitSelectMode | Scaling. | |
arSerialNumber | ARRAY OF DWORD | Serial number of the device. |
rMaxVolFlowLimitSeq1 | LREAL | Maximum volume flow rate for sequence 1 in %. |
rMaxVolFlowLimitSeq2 | LREAL | Maximum volume flow rate for sequence 2 in %. |
bInvertSeq | BOOL | TRUE = inverted; FALSE = not inverted. |
bSetpointMode | BOOL | TRUE = separate setpoints; FALSE = single setpoint |
bEnableCondensationProtection | BOOL | TRUE = enabled; FALSE = disabled |
bCondensationProtectionAction | BOOL | TRUE = close valve; FALSE = none |
rCondensationWarningThreshold | LREAL | Condensation warning threshold in % (5…95) for EP0..R6+BAC+HHM and in V (0.5…9.5) for EP0..R6+BAC. |
rCondensationAlarmThreshold | LREAL | Condensation alarm threshold in % (5…95) for EP0..R6+BAC+HHM and in V (0.5…9.5) for EP0..R6+BAC. |
nCondensationActionDelay | UINT | Delay in the condensation protection action in seconds. |
Requirements
Development environment | PLC library to include |
|---|---|
TwinCAT from v3.1.4024.77 | Tc2_MPBus from 3.8.1.0 |