Programming
TX1200
37
Version: 1.1
iSensorTyp : INT;
SetPoint : USINT;
MaxVol : 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
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 %).
strDataKL6771:
the data structure with which the
function block must be linked (see
).
TMpolling:
the time for which the function block should address the actuator. Default 10 s, minimum time
1 s.
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
ActValue : WORD;
bMP_Sensor_Digi : BOOL;
iMP_Sensor_Analog : INT;
Volume_lmin : WORD;
iVnom_lmin : INT;
act_MaxVol : INT;
act_MinVol : INT;
bErr_ActHunt : BOOL;
bErr_MecTrv : BOOL;
bErr_MecOvld : BOOL;
bPositionSetByHand : BOOL;
bSynchronisationActive : 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.
ActValue:
contains the current position of the actuator (0...100 %).
bMP_Sensor_Digi:
if an analog sensor is connected, its value is indicated through this variable.
iSensorTyp
must be "1".
iMP_Sensor_Analog:
if an analog sensor is connected, its value is indicated through this variable.
iSensorTyp
must be in the range "2...6".
Volume_lmin:
output from volume flow rate in l/min.
iVnom_lmin:
nominal air volume flow in l/min. This output is available from version 1.12.0.
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......