Programming
TX1200
40
Version: 1.1
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL;
bRead_Write : BOOL;
strDataKL6771 : DataKL6771;
nUnitSelection_Write : E_MP_EP_R_R6_UnitSel;
bControlMode_Write : BOOL;
rVmaxSeq1_Write : LREAL;
rVmaxSeq2_Write : LREAL;
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
.
bRead_Write:
if FALSE then READ only; if TRUE then READ and WRITE.
strDataKL6771:
the data structure with which the
function block must be linked (see
).
nUnitSelection_Write:
scaling for
rAbsoluteFlow_UnitSel
(see
bControlMode_Write:
FALSE: position-controlled, TRUE: flow-controlled.
rVmaxSeq1_Write:
0...100 %.
rVmaxSeq2_Write:
0...100 %.
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorId : MP_Error;
strMP_Serial_Number : MP_Serial_Number;
nUnitSelection_Read : E_MP_EP_R_R6_UnitSel;
bControlMode_Read : BOOL;
rVmaxSeq1_Read : LREAL;
rVmaxSeq2_Read : LREAL;
rAbsVnom_InitSel : LREAL;
rAbsVnom_l_h : LREAL;
rAbsVnom_gpm : LREAL;
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.
strMP_Serial_Number:
structure for the serial number. (see
).
nUnitSelection_Read:
set the scaling (see E_MP_EP_R_R6_UnitSel).
bControlMode_Read:
FALSE: position-controlled, TRUE: flow-controlled.
rVmaxSeq1_Read:
maximum sequence speed 1 in % (0...100 %).
rVmaxSeq2_Read:
maximum sequence speed 2 in % (0...100 %).
rAbsVnom_InitSel:
nominal volume (see
rAbsoluteFlow_UnitSel
).
rAbsVnom_l_h:
nominal volume in l/h (0...4294967295).
rAbsVnom_gpm:
nominal volume in gpm (0...4294967295).
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......