MP_EPIV_R6_Parameter
This function block is used to parameterize drives of series EP..R-R6+BAC.
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 drive. The type of the error can be read with iErrorID.
Inputs
VAR_INPUT
MP_Address : USINT := 1;
bStart : BOOL := TRUE;
bRead_Write : BOOL;
strDataKL6771 : DataKL6771;
nUnitSelection_Write : E_MP_EP_R_R6_UnitSel := E_MP_l_h;
bControlMode_Write : BOOL;
rVmaxSeq1_Write : LREAL;
rVmaxSeq2_Write : LREAL;
END_VAR
Name | Type | Description |
---|---|---|
MP_Address | USINT | MP-Bus address of the slave. |
bStart | BOOL | 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 | BOOL | If FALSE then READ only; if TRUE then READ and WRITE. |
strDataKL6771 | The data structure with which the KL6771() function block must be linked. | |
nUnitSelection_Write | Scaling for rAbsoluteFlow_UnitSel | |
bControlMode_Write | BOOL | FALSE: position-controlled, TRUE: flow-controlled. |
rVmaxSeq1_Write | LREAL | 0...100 %. |
rVmaxSeq2_Write | LREAL | 0...100 %. |
Outputs
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;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | This bit is set for as long as the function block is active. |
bError | BOOL | This output goes 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. bError goes TRUE at the same time. | |
strMP_Serial_Number |
Structure for the serial number | |
nUnitSelection_Read |
Setting the scaling | |
bControlMode_Read |
BOOL |
FALSE: position-controlled, TRUE: flow-controlled. |
rVmaxSeq1_Read |
LREAL |
Maximum sequence speed 1 in % (0...100 %). |
rVmaxSeq2_Read |
LREAL |
Maximum sequence speed 2 in % (0...100 %). |
rAbsVnom_InitSel |
LREAL |
Nominal volume (see rAbsoluteFlow_UnitSel). |
rAbsVnom_l_h |
LREAL |
Nominal volume in l/h (0...4294967295). |
rAbsVnom_gpm |
LREAL |
Nominal volume in gpm (0...4294967295). |
Requirements
Development environment | required TC3 PLC library |
---|---|
TwinCAT from v3.1.4022.14 | Tc2_MPBus from 3.4.8.0 |