Programming
TX1200
28
Version: 1.1
6.2.3
MP_CMV
This function block is used to control and monitor a volume flow controller.
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 actuator. The
type of the error can be read with
iErrorId
.
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
bSet : BOOL;
bOpen : BOOL;
bClose : BOOL;
bReset : BOOL;
iSensorTyp : INT;
SetPoint : USINT;
MaxVol : WORD;
MinVol : WORD;
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
.
bSet:
a positive edge writes the
MaxVol
and
MinVol
data to the actuator.
bOpen:
a positive edge opens the dampers of the actuator, while a negative edge cancels the forced
ventilation.
bClose:
a positive edge closes the dampers of the actuator, while a negative edge cancels the forced
closure.
bReset:
a positive edge resets the actuator's error messages.
iSensorTyp:
0: no sensor connected, 1: digital sensor connected, 2: analog sensor connected (0...35 V),
3...6: output of a resistance in ohms (3..5 applies to PT1000, NI1000 and NI1000LuS; 6 applies to NTC). To
convert to a temperature, use the corresponding conversion functions.
SetPoint:
set volume flow rate (0...100 %).
MaxVol:
maximum volume flow (30...100 %).
MinVol:
minimum volume flow (0...100 %).
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......