![]() |
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 PID_Instance (SP:=ReferenceVariable, PV:=ControlledVariable, MODE:=OperatingModes, PARA:=Parameter, FEED_FWD:=Disturbance, YMAN:=ManualManipulatedValue, Y:=ManipulatedVariable, ERR=>SystemDeviation, STATUS=>StatusOfOutput_Y)
PID_Instance (SP:=ReferenceVariable, PV:=ControlledVariable, MODE:=OperatingModes, PARA:=Parameter, FEED_FWD:=Disturbance, YMAN:=ManualManipulatedValue, Y:=ManipulatedVariable, ERR=>SystemDeviation, STATUS=>StatusOfOutput_Y) ;
Parameter
|
Data type
|
Description
|
---|---|---|
SP
|
Reference variable
|
|
PV
|
REAL
|
Controlled variable
|
MODE
|
Operating mode
|
|
PARA
|
Parameter
|
|
FEED_FWD
|
REAL
|
Disturbance variable
|
YMAN
|
REAL
|
Manually manipulated value
|
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
|
en_p
|
BOOL
|
"1": P component on
|
en_i1
|
BOOL
|
"1": I component on
|
en_d
|
BOOL
|
"1": D component on
|
d_on_pv
|
BOOL
|
"1": D component in relation to the controlled variable
"0": D component in relation to the system deviation
|
Element
|
Data type
|
Description
|
---|---|---|
gain
|
Proportional action coefficient (gain)
|
|
ti
|
Integral time
|
|
td
|
TIME
|
Derivative time
|
td_lag
|
TIME
|
Delay of the 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
|