HaModPid
(FB)
FUNCTION_BLOCK HaModPid
Function block HaModPid is a standard PID with automatic data synchronization in a high availability system Only internal variables and outputs are synchronized. Input variables and parameters are not synchronized. If needed, use HaModDataSync to achieve the same.
- InOut:
Scope
Name
Type
Initial
Comment
Input
Actual
REAL
0
1:Actual value, process variable
SetPoint
REAL
0
2:Desired value, set point
Kp
REAL
0
3:Proportionality const coefficient , unity gain of the P-part (P ).
Tn
REAL
0
4:Reset time (I) in sec
Tv
REAL
0
5:Rate time, derivative time (D) in sec
YManual
REAL
0
6:Y is set to this value as long as Manual=TRUE
YOffset
REAL
0
7:Offset for manipulated variable
YMin
REAL
0
8:Minimum value for manipulated variable
YMax
REAL
0
9:Maximum value for manipulated variable
Manual
BOOL
FALSE
10:TRUE: manual: Y is not influenced by controller, FALSE: controller determines Y
Reset
BOOL
FALSE
11:Reset: set Y output to YOffset and reset integral part
Output
Y
REAL
0
1: Manipulated variable, set value
LimitsActive
BOOL
FALSE
2:True set value would exceed limits YMin, YMax
Overflow
BOOL
FALSE
3:Overflow in integral part