![]() |
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.
|
Variable
|
Description
|
---|---|
![]() |
Value of the input IN from the current cycle
|
![]() |
Value of input IN from the previous cycle
|
![]() |
Value of the output OUT from the previous cycle
|
dt
|
is the time differential between the current cycle and the previous cycle
|
CAL LEAD_Instance (IN:=InputVariable, GAIN:=DifferentiationGain, LAG:=TimeDelayConstant, TR_I:=InitializationInput, TR_S:=InitializationType, OUT=>OutputDerivativeUnit)
LEAD_Instance (IN:=InputVariable, GAIN:=DifferentiationGain, LAG:=TimeDelayConstant, TR_I:=InitializationInput, TR_S:=InitializationType, OUT=>OutputDerivativeUnit) ;
Parameter
|
Data type
|
Description
|
---|---|---|
IN
|
Input value
|
|
GAIN
|
REAL
|
Gain of the differentiation
|
LAG
|
Delayed time constants
|
|
TR_I
|
REAL
|
Initialization input
|
TR_S
|
Initialization type
"1" = Operating mode Tracking
"0" = Automatic operating mode
|
Parameter
|
Data type
|
Description
|
---|---|---|
OUT
|
REAL
|
Output derivative unit with smoothing
|