![]() |
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 PI_Instance (SP:=SetpointInput, PV:=ProcessVariable, MODE:=OperatingModes, PARA:=Parameter, YMAN:=ManualManipulatedVariable, Y:=ManipulatedVariable, ERR=>SystemDeviation, STATUS=>StatusOfOutput_Y)
PI_Instance (SP:=SetpointInput, PV:=ProcessVariable, MODE:=OperatingModes, PARA:=Parameter, YMAN:=ManualManipulatedVariable, 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 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
|
Element
|
Data type
|
Description
|
---|---|---|
gain
|
Proportional action coefficient (gain)
|
|
ti
|
Integral 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
|