![]() |
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
|
---|---|
YD
|
D component (only when EN_D = 1)
|
YI
|
I component (only when EN_I = 1)
|
YP
|
P component (only when EN_P = 1)
|
CAL PID1_Instance (MAN:=ManualMode, HALT:=HaltMode, SP:=SetpointValueInput, PV:=ProcessVariable, BIAS:=DisturbanceInput, EN_P:=P_Portion_On, EN_I:=I_Portion_On, EN_D:=D_Portion_On, D_ON_X:=D_PortionValueFlag, GAIN:=ProportionalRate, TI:=ResetTime, TD:=DerivativeActionTime, TD_LAG:=LagTimeD_Portion, YMAX:=UpperControlLimit, YMIN:=LowerControlLimit, YMAN:=ManualValue, Y=>ManipulatedVariable, ERR=>OutputSystemDeviation, QMAX=>Y_Reached_YMAX, QMIN=>Y_Reached_YMIN)
PID1_Instance (MAN:=ManualMode, HALT:=HaltMode, SP:=SetpointValueInput, PV:=ProcessVariable, BIAS:=DisturbanceInput, EN_P:=P_Portion_On, EN_I:=I_Portion_On, EN_D:=D_Portion_On, D_ON_X:=D_PortionValueFlag, GAIN:=ProportionalRate, TI:=ResetTime, TD:=DerivativeActionTime, TD_LAG:=LagTimeD_Portion, YMAX:=UpperControlLimit, YMIN:=LowerControlLimit, YMAN:=ManualValue, Y=>ManipulatedVariable, ERR=>OutputSystemDeviation, QMAX=>Y_Reached_YMAX, QMIN=>Y_Reached_YMIN) ;
Parameter
|
Data type
|
Description
|
---|---|---|
MAN
|
"1": Manual mode
|
|
HALT
|
BOOL
|
"1": Halt mode
|
SP
|
Setpoint input
|
|
PV
|
REAL
|
Controlled variable (process variable)
|
BIAS
|
REAL
|
Disturbance input
|
EN_P
|
BOOL
|
"1": P component on
|
EN_I1
|
BOOL
|
"1": I component on
|
EN_D
|
BOOL
|
"1": D component on
|
D_ON_X
|
BOOL
|
"1": D component on controlled variable
"0": D component on system deviation
|
GAIN
|
REAL
|
Proportional action coefficient (gain)
|
TI
|
Integral time
|
|
TD
|
TIME
|
Derivative time
|
TD_LAG
|
TIME
|
Delay, D component
|
YMAX
|
REAL
|
Upper limit
|
YMIN
|
REAL
|
Lower limit
|
YMAN
|
REAL
|
Manually manipulated value
|
Parameter
|
Data type
|
Description
|
---|---|---|
ERR
|
REAL
|
Output system deviation
|
Y
|
REAL
|
Manipulated variable
|
QMAX
|
BOOL
|
"1" = Output Y has reached upper limit
|
QMIN
|
BOOL
|
"1" = Output Y has reached lower limit
|