![]() |
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 X from the previous cycle
|
![]() |
Value of the output Y from the previous cycle
|
dt
|
is the time differential between the current cycle and the previous cycle
|
CAL LEAD_LAG1_Instance (MAN:=ManualMode, HALT:=HaltMode, X:=Input, GAIN:=GainFactor, LEAD:=DifferentialTimeConstant, LAG:=DelayTimeConstant, YMAN:=ManualControlValue, Y=>Output)
LEAD_LAG1_Instance (MAN:=ManualMode, HALT:=HaltMode, X:=Input, GAIN:=GainFactor, LEAD:=DifferentialTimeConstant, LAG:=DelayTimeConstant, YMAN:=ManualControlValue, Y=>Output) ;
Parameter
|
Data type
|
Description
|
---|---|---|
MAN
|
"1" = Manual operating mode
|
|
HALT
|
BOOL
|
"1" = Halt mode
|
X
|
Input
|
|
GAIN
|
REAL
|
Gain factor
|
LEAD
|
Derivative time constant
|
|
LAG
|
TIME
|
Delayed time constants
|
YMAN
|
REAL
|
Manual value manipulated value
|
Parameter
|
Data type
|
Description
|
---|---|---|
Y
|
REAL
|
Output
|