MP_EPIV_R6_Parameter

MP_EPIV_R6_Parameter 1:

This function block is used for parameterization of valves of EP..R-R6+BAC series.

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 block is active. bError is used to indicate an error in communication with the drive. The type of the error can be read with iErrorId.

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 KL6771 function block must be linked (see DataKL6771).

nUnitSelection_Write: scaling for rAbsoluteFlow_UnitSel (see E_MP_EP_R_R6_UnitSel).

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 MP_Error). bError goes TRUE at the same time.

strMP_Serial_Number: structure for the serial number. (see MP_Serial_Number).

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).