MP_OperatingUnit_ConfigurationDisplay

MP_OperatingUnit_ConfigurationDisplay 1:

This function block is used to configure room sensors of types P-22Rxx-1900x-1. It is compatible with 22Rxx-19-1 room sensors produced as of May 2022 (before May 2022, see MP_RoomSensor_Parameter).
For more information, see 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_OperatingUnit_ConfigurationDisplay 2: Inputs

VAR_INPUT
  MP_Address                    : USINT := 1;
  bStart                        : BOOL;
  strDataKL6771                 : DataKL6771;
  nEnabledStatusLocalAdjustment : E_MP_EnabledStatus;
  nDisplayModeTempUnit          : E_MP_DisplayModeTempUnit;
  nDisplayBackground            : E_MP_DisplayBackground;
  nVisibilityTempRoom           : E_MP_DisplayVisibility;
  nVisibilityRelativeHumidity   : E_MP_DisplayVisibility;
  nDisplayModeTemp              : E_MP_DisplayModeTemp;
  nVisibilityVentilationStage   : E_MP_DisplayVisibility;
  nDisplayModeButtonEco         : E_MP_DisplayModeButton;
  nVisibilityButtonBoost        : E_MP_DisplayVisibility;
  nDisplayModeButtonOnOff       : E_MP_DisplayModeButton;
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.

nEnabledStatusLocalAdjustment

E_MP_EnabledStatus

Status of access permission for local adjustments

nDisplayModeTempUnit

E_MP_DisplayModeTempUnit

Status of access permission for local adjustments

nDisplayBackground

E_MP_DisplayBackground

Background color of the display

nVisibilityTempRoom

E_MP_DisplayVisibility

Visibility of the room temperature

nVisibilityRelativeHumidity

E_MP_DisplayVisibility

Visibility of the relative humidity

nDisplayModeTemp

E_MP_DisplayModeTemp

Display mode of the temperature

nVisibilityVentilationStage

E_MP_DisplayVisibility

Visibility of the ventilation stage

nDisplayModeButtonEco

E_MP_DisplayModeButton

Display mode of the Eco button

nVisibilityButtonBoost

E_MP_DisplayVisibility

Display mode of the Boost button

nDisplayModeButtonOnOff

E_MP_DisplayModeButton

Display mode of the OnOff button

MP_OperatingUnit_ConfigurationDisplay 3: Outputs

VAR_OUTPUT
  bBusy                  : BOOL;
  bError                 : BOOL;
  iErrorId               : MP_Error;
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.

Requirements

Development environment

required TC3 PLC library

TwinCAT from v3.1.4024.46

Tc2_MPBus from 3.6.1.0