![]() |
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
|
---|---|
![]() |
Current value of input IN
|
![]() |
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 INTEGRATOR_Instance (IN:=InputVariable, GAIN:=IntegrationGain, OUT_MIN:=LowerOutputLimit, OUT_MAX:=UpperOutputLimit, TR_I:=InitializationInput, TR_S:=InitializationType, OUT=>Output, QMIN=>ReachedLowerLimit, QMAX=>ReachedUpperLimit)
INTEGRATOR_Instance (IN:=InputVariable, GAIN:=IntegrationGain, OUT_MIN:=LowerOutputLimit, OUT_MAX:=UpperOutputLimit, TR_I:=InitializationInput, TR_S:=InitializationType, OUT=>Output, QMIN=>ReachedLowerLimit, QMAX=>ReachedUpperLimit) ;
Parameter
|
Data type
|
Description
|
---|---|---|
IN
|
Input variable
|
|
GAIN
|
REAL
|
Integral gain
|
OUT_MIN
|
REAL
|
Lower limit
|
OUT_MAX
|
REAL
|
Upper limit
|
TR_I
|
REAL
|
Initialization input
|
TR_S
|
Initialization type
"1" = Operating mode Tracking
"0" = Automatic operating mode
|
Parameter
|
Data type
|
Description
|
---|---|---|
OUT
|
REAL
|
Output
|
QMIN
|
BOOL
|
"1" = Output OUT has reached lower limit
|
QMAX
|
BOOL
|
"1" = Output OUT has reached upper limit
|