Programming
TX1200
45
Version: 1.1
iVOC : INT;
iHumidity : INT;
bFlushStatus : BOOL;
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
).
bError
goes TRUE
at the same time.
strMPX_ERR:
sensor error messages (see
).
iU:
0...10 V UNIT 1 mV.
bDigital:
DI 24 V.
iTemp:
0...50 °C Unit: 0.01 °C.
iCO2:
0...2000 ppm Unit: 1 ppm.
iVOC:
0...2000 ppm Unit: 1 ppm (pseudo).
iHumidity:
10...90 % Unit: 0.01 %.
bFlushStatus:
VOC gradient threshold exceeded, FALSE = air quality OK, TRUE = air quality not OK, flush.
6.2.13
MP_PTH
This function block is used to control and monitor a PTH sensor.
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. If
bStart
remains TRUE, the device is addressed cyclically with a period specified by the time in
TMPolling
. The time
should be set longer than 1 s.
bError
is used to indicate an error in communication with the sensor. The type
of the error can be read with
iErrorId
.
If an external sensor is connected to the sensor, its type is to be indicated in
iSensorTyp
. If no sensor is
connected, the value "0" should be entered, or the variable left open. A digital sensor should be
parameterized with "3". The state of the sensor is output through the variable
iYSensor
.
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
iSensorTyp : INT;
strDataKL6771 : DataKL6771;
TMpolling : TIME := t#10s;
MP_Address:
MP-Bus address of the slave.
bStart:
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
.
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......