MP_EV_Parameter

MP_EV_Parameter 1:

This function block is used for parameterization of valves.

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;
strDataKL6771     : DataKL6771;
dwPassword        : DWORD;
nControlMode      : E_MPBus_ControlMode := MPBus_ControlMode_Disable;
nDetaTLimitation  : E_MPBus_DeltaTLimitation := MPBus_DeltaTLimitation_Disable;
rSetPoint         : REAL := 0.0;
rSpFlow_DeltaT_Si : REAL := 0.0;

MP_Address: MP-Bus address of the slave.

bStart: a positive edge starts the function block.

strDataKL6771: the data structure with which the KL6771 function block must be linked (see DataKL6771).

dwPassword: the actuator password is usually 0x0000.

nControlMode: specifies the control mode (see E_MPBus_ControlMode).

nDetaTLimitation: dT limitation (see E_MPBus_DeltaTLimitation).

rSetPoint: dT limit.

rSpFlow_DeltaT_Si: flow at saturation.

VAR_OUTPUT

bBusy             : BOOL;
bError            : BOOL;
iErrorId          : MP_Error;

bBusy: This bit is set for as long as the block is active.

bError: The output becomes TRUE as soon as an error occurs. The error is described via the variable iErrorId.

iErrorId: The output issues an error code when an error occurs (see MP_ERROR). Simultaneously bError is TRUE.