![]() |
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 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 LDLG_Instance (IN:=Input, GAIN:=GainFactor, LEAD:=DifferentialTimeConstant, LAG:=LagTimeConstant, TR_I:=InitializationInput, TR_S:=InitializationType, OUT=>Output)
LDLG_Instance (IN:=Input, GAIN:=GainFactor, LEAD:=DifferentialTimeConstant, LAG:=LagTimeConstant, TR_I:=InitializationInput, TR_S:=InitializationType, OUT=>Output) ;
Parameter
|
Data type
|
Description
|
---|---|---|
IN
|
Input
|
|
GAIN
|
REAL
|
Gain factor
|
LEAD
|
Derivative time constant
|
|
LAG
|
TIME
|
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
|