Description
Original instructions
Function description
The function block produces a velocity limiter of the 1st order with limiting of the manipulated variable.
The output Y follows the input X, but at the maximum gradient rate. Furthermore, the Y output is limited by ymax and ymin. This allows the function block to adjust signals to the technologically limited pace and limits from controlling elements.
NOTE: This function block performs an internal initialization in the first program cycle after a warm start or cold start (e.g. application download or power cycle) of the PLC program.
Due to this, you have to make sure that the function block is invoked in the first program cycle. In case of inkoving the function block in a later program cycle, the internal initialization will not be performed and the ouputs may deliver wrong values.
WARNING
UNEXPECTED OUTPUT BEHAVIOUR
Make sure that the function block is always invoked in the first program cycle.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EN and ENO can be configured as additional parameters.
Properties
The function block has the following properties:
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL VLIM_Instance (X:=Input, MODE:=OperatingMode, 
    PARA:=Parameters, YMAN:=ManualManipulatedValue, 
    Y:=Output, STATUS:=Output_Y_Status)
Representation in ST
Representation:
VLIM_Instance (X:=Input, MODE:=OperatingMode, 
    PARA:=Parameters, YMAN:=ManualManipulatedValue, 
    Y:=Output, STATUS:=Output_Y_Status)
VLIM parameter description
Description of input parameters:
Parameter
Data type
Description
X
Input
MODE
Operating mode
PARA
Parameter
YMAN
REAL
Manually manipulated value
Description of input / output parameters:
Parameter
Data type
Description
Y
REAL
Output
Description of output parameters:
Parameter
Data type
Description
STATUS
Y output status
Parameter description Mode_VLIM
Data structure description
Element
Data type
Description
man
"1": Manual mode
halt
BOOL
"1": Halt mode
Parameter description Para_VLIM
Data structure description
Element
Data type
Description
rate
Maximum velocity (maximum x’ / sec)
ymax
REAL
Upper limit
ymin
REAL
Lower limit
Parameter description Stat_MAXMIN
Data structure description
Element
Data type
Description
qmax
"1" = Y has reached the upper control limit
qmin
BOOL
"1" = Y has reached the lower control limit
Runtime error
An error message is returned if
NOTE: For a list of all block error codes and values, see CLC_PRO.