MP_VRU_Configuration
This function block is used to configure the 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. 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;
dwPassword : DWORD;
strDataKL6771 : DataKL6771;
rMax : LREAL := 100;
rMin : LREAL;
bSetpointSource : BOOL;
bOperationMode : BOOL := TRUE;
nSensor1Type : E_MP_VRU_Sensor1Type := MPBus_VRU_Sensor_Active;
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. |
bRead_Write | BOOL | If FALSE then READ only; if TRUE then READ and WRITE. |
dwPassword | DWORD | The password for the actuators. Usually 0x0000. |
strDataKL6771 | The data structure with which the KL6771() function block must be linked. | |
rMax | LREAL | Max in % (20...100 %). |
rMin | LREAL | Min in % (0...rMax). rMin must be smaller than rMax. |
bSetpointSource | BOOL | TRUE = bus; FALSE = analog |
bOperationMode | BOOL | TRUE = overpressure; FALSE = underpressure |
nSensor1Type | Sensor 1 type |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
rNominalVolumeticFlow : LREAL;
rNominalDeltaPressure : LREAL;
rMinRead : LREAL;
rMaxRead : LREAL;
bSetpointSourcesRead : BOOL;
bOperationModeRead : BOOL;
nSensor1TypeRead : E_MP_VRU_Sensor1Type;
nApplication : E_MP_VRU_Application;
bControlMode : BOOL;
nRoomPressureCascade : E_MP_VRU_RoomPressureCascade;
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. | |
rNominalVolumeticFlow | LREAL | Nominal volume flow in m³/h (0...60,000). |
rNominalDeltaPressure | LREAL | Nominal differential pressure in Pa (0...10,000). |
rMinRead | LREAL | Min in % (0...rMax). rMin must be smaller than rMax. |
rMaxRead | LREAL | Max in % (20...100 %). |
bSetpointSourcesRead | BOOL | TRUE = bus; FALSE = analog |
bOperationModeRead | BOOL | TRUE = overpressure; FALSE = underpressure |
nSensor1TypeRead | Sensor 1 type | |
nApplication | Visualization of the application selected by the manufacturer. | |
bControlMode | BOOL | Visualization of the control function selected by the manufacturer. TRUE = volume flow rate control; FALSE = position control. |
nRoomPressureCascade | Room pressure cascade control |
Requirements
Development environment | required TC3 PLC library |
---|---|
TwinCAT from v3.1.4024.22 | Tc2_MPBus from 3.4.13.0 |