Description
Original instructions
Function description
The function block is a differential element with a delayed output Y respecting the delay time constant LAG.
The function block contains the following operating mode:
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 ouput may deliver a wrong value.
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.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL SMOOTH_RATE_Instance (MAN:=ManualMode, 
    HALT:=HaltMode, X:=InputVariable, 
    GAIN:=DifferentialGain, LAG:=DelayTimeConstant, 
    YMAN:=ManualControlValue, 
    Y=>DifferentiatorOutputWithDelay)
Representation in ST
Representation:
SMOOTH_RATE_Instance (MAN:=ManualMode, 
    HALT:=HaltMode, X:=InputVariable, 
    GAIN:=DifferentialGain, LAG:=DelayTimeConstant, 
    YMAN:=ManualControlValue, 
    Y=>DifferentiatorOutputWithDelay) ;
Parameter description
Description of input parameters:
Parameter
Data type
Description
MAN
"1" = Manual operating mode
HALT
BOOL
"1" = Halt mode
X
Input variable
GAIN
REAL
Gain of the differentiation
LAG
Delayed time constants
YMAN
REAL
Manually manipulated value
Description of output parameters:
Parameter
Data type
Description
Y
REAL
Output derivative unit with smoothing
Runtime error
For a list of all block error codes and values, see CLC.