MP_EnergyValveV4_2_Configuration

MP_EnergyValveV4_2_Configuration 1:

This function block is used to configure the 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.

MP_EnergyValveV4_2_Configuration 2: Inputs

VAR_INPUT
  MP_Address                   : USINT := 1;
  bStart                       : BOOL;
  bRead_Write                  : BOOL;
  strDataKL6771                : DataKL6771;
  nControlMode_Write           : E_MP_EV_V4_ControlMode := 1;
  nBusFailAction_Write         : E_MP_EV_V4_BusFailAction;
  nCommunicationWatchdog_Write : UINT := 120;
  bSetpointSource_Write        : BOOL := TRUE;
  nSensor1Type_Write           : E_MP_EV_V4_Sensor1Type;
  nSensor1PassiveType_Write    : E_MP_EV_V4_Sensor1PassiveType;
  rVmin_Write                  : LREAL;
  rVmax_Write                  : LREAL := 100;
  rPmax_Write                  : LREAL := 100;
  nDeltaTLimitation_Write      : E_MP_EV_V4_DeltaTLimitation;
  nUnitSelection_Write         : E_MP_EP_R_R6_UnitSel := E_MP_l_h;
  rSetpointDeltaT_Write        : LREAL := 0;
  rSetpointAbsFlowDeltaT_Write : LREAL;
  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.

bRead_Write

BOOL

If FALSE then READ only; if TRUE then READ and WRITE.

strDataKL6771

DataKL6771

The data structure with which the KL6771() function block must be linked.

nControlMode_Write

E_MP_EV_V4_ControlMode

Control mode.

nBusFailAction_Write

E_MP_EV_V4_BusFailAction

Bus failure action.

nCommunicationWatchdog_Write

UINT

Communication monitoring in s (5...3600).

bSetpointSource_Write

BOOL

TRUE = bus; FALSE = analog

nSensor1Type_Write

E_MP_EV_V4_Sensor1Type

Sensor 1 Type

nSensor1PassiveType_Write

E_MP_EV_V4_Sensor1PassiveType

Only available if nSensor1Type_Write <> MPBus_EV_SensorPassive_None.

rVmin_Write

LREAL

Min. setpoint in % (0...Vmax). Vmin must be smaller than Vmax.

rVmax_Write

LREAL

Max. setpoint in % (25...100). Refers to Vnom and is taken into account when control mode = flow control.

rPmax_Write

LREAL

Max. setpoint in % (5...100). Refers to Pnom and is taken into account if control mode = power control.

nDeltaTLimitation_Write

E_MP_EV_V4_DeltaTLimitation

Determines whether the device responds to a low delta T.

nUnitSelection_Write

E_MP_EP_R_R6_UnitSel

Scaling for rAbsoluteFlow_UnitSel.

rSetpointDeltaT_Write

LREAL

Setpoint Delta T in K (0...55). Is taken into account if the delta T limitation is active (not disabled).

rSetpointAbsFlowDeltaT_Write

LREAL

Setpoint Abs flow Delta T in l/s (0...100,000). Considered when Delta T limitation is set to "Delta T Manager scaled".

bSelectMeterRegister_Write

BOOL

FALSE = certified meter; TRUE = lifetime meter.

MP_EnergyValveV4_2_Configuration 3: Outputs

VAR_OUTPUT
  bBusy                  : BOOL;
  bError                 : BOOL;
  iErrorId               : MP_Error;
  nControlMode           : E_MP_EV_V4_ControlMode;
  nBusFailAction         : E_MP_EV_V4_BusFailAction;
  nCommunicationWatchdog : UINT;
  bSetpointSource        : BOOL;
  nSensor1Type           : E_MP_EV_V4_Sensor1Type;
  nSensor1PassiveType    : E_MP_EV_V4_Sensor1PassiveType;
  rVmin                  : LREAL;
  rVmax                  : LREAL;
  rVnom                  : LREAL;
  rPnom                  : LREAL;
  rPmax                  : LREAL;
  nDeltaTLimitation      : E_MP_EV_V4_DeltaTLimitation;
  nDeltaTManagerStatus   : E_MP_EV_V4_DeltaTManagerStatus;
  rSetpointDeltaT        : LREAL;
  rSetpointAbsFlowDeltaT : LREAL;
  arSerialNumber         : ARRAY[0..1] OF DWORD;
  bSelectMeterRegister   : BOOL;
  nUnitSelection         : E_MP_EP_R_R6_UnitSel;
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

MP_ERROR

This output outputs an error code in the event of an error. bError goes TRUE at the same time.

nControlMode

E_MP_EV_V4_ControlMode

Control mode.

nBusFailAction

E_MP_EV_V4_BusFailAction

Bus failure action.

nCommunicationWatchdog

UINT

Communication monitoring in sec (5...3600). Not functional (reserved for future extensions).

bSetpointSource

BOOL

TRUE = bus; FALSE = analog

nSensor1Type

E_MP_EV_V4_Sensor1Type

Sensor 1 Type

nSensor1PassiveType

E_MP_EV_V4_Sensor1PassiveType

Only available if nSensor1Type_Write <> MPBus_EV_SensorPassive_None.

rVmin

 

LREAL

Min. setpoint in % (0...Vmax). Refers to Vnom and is taken into account when control mode = flow control.

rVmax

LREAL

Max. setpoint in % (25...100). Refers to Vnom and is taken into account when control mode = flow control.

rVnom

LREAL

Nominal volume flow in l/s (0...100)

rPnom

LREAL

Nominal output in kW (0...21.5).

rPmax

LREAL

Max. setpoint in % (5...100). Refers to Pnom and is taken into account if control mode = power control.

nDeltaTLimitation

E_MP_EV_V4_DeltaTLimitation

Indicates whether the device responds to a low delta T.

nDeltaTManagerStatus

E_MP_EV_V4_DeltaTManagerStatus

Indicates the status of the Delta T Manager.

rSetpointDeltaT

LREAL

Setpoint Delta T in K (0...60). Is taken into account if delta T limitation is active (not disabled).

rSetpointAbsFlowDeltaT

LREAL

Setpoint Abs flow Delta T in l/s (0...100.000). Considered when Delta T limitation is set to "Delta T Manager scaled".

arSerialNumber

ARRAY OF DWORD

Serial number of the device.

bSelectMeterRegister

BOOL

FALSE = certified meter; TRUE = lifetime meter.

nUnitSelection

E_MP_EP_R_R6_UnitSel

Unit selection flow rate.

Prerequisites

Development Environment

PLC library to include

TwinCAT from v3.1.4024.66

Tc2_MPBus from 3.7.1.0