![]() |
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.
|
CAL PD_OR_PI_Instance (SP:=SetpointInput, PV:=ProcessVariable, MODE:=OperatingModes, PARA:=Parameter, YMAN:=ManualManipulatedVariable, FEED_FWD:=Disturbance, Y:=ManipulatedVariable, ERR=>SystemDeviation, STATUS=>StatusOfOutput_Y)
PD_OR_PI_Instance (SP:=SetpointInput, PV:=ProcessVariable, MODE:=OperatingModes, PARA:=Parameter, YMAN:=ManualManipulatedVariable, FEED_FWD:=Disturbance, Y:=ManipulatedVariable, ERR=>SystemDeviation, STATUS=>StatusOfOutput_Y) ;
Parameter
|
Data type
|
Description
|
---|---|---|
SP
|
Setpoint input (reference variable)
|
|
PV
|
REAL
|
Process variable (controlled variable)
|
MODE
|
Operating mode
|
|
PARA
|
Parameter
|
|
YMAN
|
REAL
|
Manual manipulated variable
|
FEED_FWD
|
REAL
|
Disturbance variable
|
Parameter
|
Data type
|
Description
|
---|---|---|
Y
|
REAL
|
Manipulated variable
|
Parameter
|
Data type
|
Description
|
---|---|---|
ERR
|
REAL
|
System deviation
|
STATUS
|
Output status
|
Element
|
Data type
|
Description
|
---|---|---|
man
|
"1": Manual mode
|
|
halt
|
BOOL
|
"1": Halt mode
|
Element
|
Data type
|
Description
|
---|---|---|
trig_err
|
Changeover switching value for PDPI controller
|
|
gain_d
|
REAL
|
PD controller proportional action coefficient (gain)
|
td
|
PD controller rate time
|
|
td_lag
|
TIME
|
Delay of the PD controller rate time
|
gain_i
|
REAL
|
PI controller proportional action coefficient (gain)
|
ti
|
TIME
|
PI controller reset time
|
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
|