![]() |
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
|
YI
|
I component
|
YP
|
P component
|
CAL PID_P_Instance (SP:=ReferenceVariable, PV:=ControlledVariable, MODE:=OperatingModes, PARA:=Parameter, YMAN:=ManualValue, FEED_FWD:=Disturbance, Y:=ManipulatedVariable, ERR=>OutputSystemDeviation, STATUS=>StatusOfOutput_Y)
PID_P_Instance (SP:=ReferenceVariable, PV:=ControlledVariable, MODE:=OperatingModes, PARA:=Parameter, YMAN:=ManualValue, FEED_FWD:=Disturbance, Y:=ManipulatedVariable, ERR=>OutputSystemDeviation, STATUS=>StatusOfOutput_Y) ;
Parameter
|
Data type
|
Description
|
---|---|---|
SP
|
Reference variable
|
|
PV
|
REAL
|
Controlled variable
|
MODE
|
Operating mode
|
|
PARA
|
Parameter
|
|
YMAN
|
REAL
|
Manually manipulated value
|
FEED_FWD
|
REAL
|
Disturbance input
|
Parameter
|
Data type
|
Description
|
---|---|---|
Y
|
REAL
|
Manipulated variable
|
Parameter
|
Data type
|
Description
|
---|---|---|
ERR
|
REAL
|
System deviation
|
STATUS
|
Y output status
|
Element
|
Data type
|
Description
|
---|---|---|
man
|
"1": Manual mode
|
|
halt
|
BOOL
|
"1": Halt mode
|
d_on_pv
|
BOOL
|
"1": D component in relation to the controlled variable
"0": D component in relation to the system deviation
|
reverse
|
BOOL
|
"1": Output reversed
|
Element
|
Data type
|
Description
|
---|---|---|
kp
|
Proportional action coefficient (gain = P component)
|
|
ki1
|
REAL
|
Integral action coefficient (gain = I component) [1/s]
|
kd
|
REAL
|
Rate of differentiation (gain = D component) [s]
|
td_lag
|
Delay, D component
|
|
ymax
|
REAL
|
Upper limit
|
ymin
|
REAL
|
Lower limit
|
Element
|
Data type
|
Description
|
---|---|---|
qmax
|
"1" = Y has reached the upper control limit
|
|
qmin
|
BOOL
|
"1" = Y has reached the lower control limit
|