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.

MP_RoomSensor_Parameter 2: Inputs

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;;
END_VAR

Name

Type

Description

MP_Address

USINT

MP-Bus address of the slave.

bWrite

BOOL

A positive edge starts the function block and writes the parameter.

bRead

BOOL

A positive edge starts the function block and reads the parameter.

strDataKL6771

DataKL6771

The data structure with which the KL6771() function block must be linked.

bUnitSelTemp

BOOL

FALSE = °C, TRUE = °F.

iOffsetCo2_Write

INT

OffsetCO2 [ppm] -500...500.

rOffsetTemp_Write

LREAL

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

rOffsetHumidity_Write

LREAL

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

rOffsetDewPointTemp_Write

LREAL

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

MP_RoomSensor_Parameter 3: Outputs

VAR_OUTPUT
  bBusy               : BOOL;
  bError              : BOOL;
  iErrorId            : MP_Error;
  stUnit              : STRING;
  iOffsetCO2          : INT;
  rOffsetHumidity     : LREAL;
  rOffsetTemp         : LREAL;
  rOffsetDewPointTemp : 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.

stUnit

STRING

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

iOffsetCO2

INT

OffsetCO2 [ppm].

rOffsetHumidity

LREAL

OffsetHumidity [%] 0.01.

rOffsetTemp

LREAL

OffsetTemp [°C or °F] 0.01.

rOffsetDewPointTemp

LREAL

DewOffsetTemp [°C or °F] 0.01.

Requirements

Development environment

required TC3 PLC library

TwinCAT from v3.1.4024.10

Tc2_MPBus from 3.4.12.0