MP_OperatingUnit_ConfigurationCO2

MP_OperatingUnit_ConfigurationCO2 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.

VAR_INPUT

MP_Address               : USINT := 1;
bStart                   : BOOL;
strDataKL6771            : DataKL6771;
iCO2LimitForGood         : UINT := 1000;
iCO2LimitForModerate     : UINT := 1500;
nEnabledStatusAirQuality : E_MP_EnabledStatus;
nVisibilityCO2           : E_MP_DisplayVisibility;

MP_Address: MP-Bus address of the slave.

bStart: a positive edge starts the function block.

strDataKL6771: the data structure with which the KL6771() function block must be linked (see DataKL6771).

iCO2LimitForGood: CO2 limit for "Good" air quality in ppm (600..1249).

iCO2LimitForModerate: CO2 limit for "Moderate" air quality in ppm (1250..2000).

nEnabledStatusAirQuality: status of the air quality display (see E_MP_EnabledStatus).

nVisibilityCO2: visibility of the CO2 value (see E_MP_DisplayVisibility).

VAR_OUTPUT

bBusy    : BOOL;
bError   : BOOL;
iErrorId : MP_Error;

bBusy: this bit is set for as long as the function block is active.

bError: the output becomes 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 (see MP_ERROR). bError goes TRUE at the same time.