Programming
TX1200
51
Version: 1.1
6.2.17
MP_TEM_Configuration
This function block is used to configure the Thermal Energy Meter type 22PE-.. and 22PEM-... . For more
information please visit
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.
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;
bRead_Write : BOOL;
strDataKL6771 : DataKL6771;
nSensor1Type_Write : E_MP_VRU_Sensor1Type;
bSelectMeterRegister_Write : BOOL;
MP_Address:
MP-Bus address of the slave.
bStart:
a positive edge starts the function block.
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
).
nSensor1Type_Write:
sensor 1 type (see
bSelectMeterRegister_Write:
FALSE = certified meter; TRUE = lifetime meter.
VAR_OUTPUT
bBusy : BOOL
bError : BOOL
iErrorId : MP_Error
st_MalfunctionService : St_MP_EV_V4_MalfunctionServiceInfo
nSensor1Type : E_MP_VRU_Sensor1Type
rVnom : LREAL
arSerialNumber : ARRAY[0..1] OF DWORD
bSelectMeterRegister : 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.
st_MalfunctionService:
malfunction and service information (see
St_MP_EV_V4_MalfunctionServiceInfo
).
nSensor1Type:
rVnom:
nominal volume flow rate in l/s (0...100).
arSerialNumber:
serial number of the device.
Содержание TwinCAT 2 TX1200
Страница 1: ...Manual EN TX1200 TwinCAT 2 PLC Library TcMPBus 2022 06 02 Version 1 1...
Страница 2: ......
Страница 79: ......