MP_MPX
For BELIMO room sensor MS24A-R..-MPX
MS24A-R01-MPX temperature
MS24A-R02-MPX temperature, CO2
MS24A-R03-MPX temperature, VOC
MS24A-R04-MPX temperature, CO2, VOC
MS24A-R05-MPX temperature, air humidity
MS24A-R06-MPX temperature, air humidity, CO2
MS24A-R07-MPX temperature, air humidity, VOC
MS24A-R08-MPX temperature, air humidity, CO2, VOC
Inputs
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
strDataKL6771 : DataKL6771;
TMpolling : TIME := t#10s;
bTemp_C_F : BOOL;
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 | The data structure with which the KL6771() function block must be linked. | |
TMpolling | TIME | The time for which the function block should address the actuator. Default 10 s, minimum time 1 s. |
bTemp_C_F | BOOL | FALSE = °C / TRUE = F |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
strMPX_ERR : MP_BUS_MPX_ERROR;
iU : INT;
bDigital : BOOL;
iTemp : INT;
iCO2 : INT;
iVOC : INT;
iHumidity : INT;
bFlushStatus : BOOL;
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. | |
strMPX_ERR | Error messages of the sensors | |
iU | INT | 0…10 V UNIT 1 mV |
bDigital | BOOL | DI 24 V |
iTemp | INT | 0...50 °C Unit:0.01 °C |
iCO2 | INT | 0...2000 ppm Unit:1 ppm |
iVOC | INT | 0...2000 ppm Unit:1 ppm (pseudo) |
iHumidity | INT | 10...90 % Unit: 0.01 % |
bFlushStatus | BOOL | VOC gradient threshold exceeded, FALSE = air quality OK, 1 TRUE = air quality not OK, flush |
Requirements
Development environment | required TC3 PLC library |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_MPBus from 3.3.5.0 |