MP_VRU_Process

MP_VRU_Process 1:

This function block is suitable for VAV actuators VRU-D3-BAC, VRU-M1-BAC and VRU-M1R-BAC (max. 8 slaves). 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.

MP_VRU_Process 2: Inputs

VAR_INPUT
  MP_Address       : USINT := 1;
  bStart           : BOOL;
  strDataKL6771    : DataKL6771;
  TMpolling        : TIME := t#10s;
  rSetpoint        : LREAL;
  nOverrideControl : E_MP_VRU_OverrideControl;
  nCommand         : E_MP_VRU_Command;
  nDataRead        : BYTE;
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

DataKL6771

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

Value in % (0.. 100 %).

nOverrideControl

E_MP_VRU_OverrideControl

Setpoint override

nCommand

E_MP_VRU_Command

Command for service and test functions of the actuator.

nDataRead

BYTE

0xFF - read all data; bit 0 - read relative position; bit 1 - read absolute position; bit 2 - read relative volume flow rate; bit 3 - read absolute volume flow rate; bit 4 - read value sensor 1; bit 5 - read analog setpoint; bit 6 - read relative differential pressure; bit 7 - read absolute differential pressure

MP_VRU_Process 3: Outputs

VAR_OUTPUT
  bBusy                  : BOOL;
  bError                 : BOOL;
  iErrorId               : MP_Error;
  strMP_Serial_Number    : MP_Serial_Number;
  st_MP_VRU_ServiceInfo  : St_MP_VRU_ServiceInfo;
  rSetpoint_Read         : LREAL;
  nOverrideControl_Read  : E_MP_VRU_OverrideControl;
  nCommand_Read          : E_MP_VRU_Command;
  rRelativePosition      : LREAL;
  rAbsolutePosition      : LREAL;
  rRelativeVolumeticFlow : LREAL;
  rAbslouteVolumeticFlow : LREAL;
  rSensor1Value          : LREAL;
  rSetpointAnalog        : LREAL;
  rRelativeDeltaPressure : LREAL;
  rAbsoluteDeltaPressure : 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

MP_ERROR

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

strMP_Serial_Number

MP_Serial_Number

Structure for the serial number

st_MP_VRU_ServiceInfo

St_MP_VRU_ServiceInfo

Malfunction and service information

rSetpoint_Read

LREAL

Setpoint

nOverrideControl_Read

E_MP_VRU_OverrideControl

Override

nCommand_Read

E_MP_VRU_Command

Command

rRelativePosition

LREAL

Relative position in %. Value -1 means data disabled (see VAR_INPUT nDataRead).

rAbsolutePosition

LREAL

Absolute position in °. Value -1 means data disabled (see VAR_INPUT nDataRead).

rRelativeVolumeticFlow

LREAL

Relative volume flow rate in %. Value -1 means data disabled (see VAR_INPUT nDataRead).

rAbslouteVolumeticFlow

LREAL

Absolute volume flow rate in m³/h. Value of -1 means data disabled (see VAR_INPUT nDataRead).

rSensor1Value

LREAL

Value of sensor 1 in mV/Ohm. Value -1 means data disabled (see VAR_INPUT nDataRead).

rSetpointAnalog

LREAL

Analog setpoint in %. Value -1 means data disabled (see VAR_INPUT nDataRead).

rRelativeDeltaPressure

LREAL

Relative differential pressure %. Value -1 means data disabled (see VAR_INPUT nDataRead).

rAbsoluteDeltaPressure

LREAL

Absolute differential pressure in Pa. Value -1 means data disabled (see VAR_INPUT nDataRead).

Requirements

Development environment

required TC3 PLC library

TwinCAT from v3.1.4024.22

Tc2_MPBus from 3.4.13.0