MP_RoomSensor_Parameter

MP_RoomSensor_Parameter 1:

This function block is used to parameterize room sensors of types 22Rxx-19-1 that were produced before May 2022 (as of May 2022, see MP_OperatingUnit_Configuration).
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. bRead reads the parameters, bWrite writes them to the room sensor. 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;
bWrite                    : BOOL; 
bRead                     : BOOL; 
strDataKL6771             : DataKL6771;
bUnitSelTemp              : BOOL; 
iOffsetCo2_Write          : INT; 
rOffsetTemp_Write         : LREAL; 
rOffsetHumidity_Write     : LREAL; 
rOffsetDewPointTemp_Write : LREAL;

MP_Address: MP-Bus address of the slave.

bWrite: a positive edge starts the function block and writes the parameter.

bRead: a positive edge starts the function block and reads the parameter.

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

bUnitSelTemp: FALSE = °C, TRUE = °F.

iOffsetCo2_Write: OffsetCO2 [ppm] -500...500.

rOffsetTemp_Write: OffsetTemp [UnitSel] -15...15 °C (-27...27 °F)

rOffsetHumidity_Write: OffsetHumidity [%] -20...+20.

rOffsetDewPointTemp_Write: OffsetDewPointTemp [UnitSel] -15...15 °C (-27...27 °F).

VAR_OUTPUT

bBusy                : BOOL;
bError               : BOOL;
iErrorId             : MP_Error;
stUnit               : STRING;
iOffsetCO2           : INT;
rOffsetHumidity      : LREAL;
rOffsetTemp          : LREAL;
rOffsetDewPointTemp  : LREAL;

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

bError: The output becomes TRUE as soon as an error occurs. The error is described via the variable iErrorId.

iErrorId: The output issues an error code when an error occurs (see MP_ERROR). Simultaneously bError is TRUE.

stUnit: C = °C or F = °F, ? = not read.

iOffsetCO2: OffsetCO2 [ppm].

rOffsetHumidity: OffsetHumidity [%] 0.01.

rOffsetTemp: OffsetTemp [°C or °F] 0.01.

rOffsetDewPointTemp: DewOffsetTemp [°C or °F] 0.01.