Supported platforms: CODESYS 2.3, CODESYS 3.5
This function block is a standard PI controller. Proportional (P) and Integration (I) gain values are adjustable with parameters.
This function block is primarily intended for ProportionalValveControl library's internal use. |
Input variable name |
Data type |
Range |
Description |
i_Enable |
BOOL |
TRUE/FALSE |
Enables operation of controller |
i_Request |
UINT |
0..65535 |
Requested value for the controller |
i_Feedback |
UINT |
0..65535 |
Measured value for the controller |
i_P_Gain |
UINT |
0..65535 |
Proportional gain value of PI controller, 1000 = 1 |
i_I_Gain |
UINT |
0..65535 |
Integration gain value of PI controller, 1000 = 1 |
Output variable name |
Data type |
Range |
Description |
o_Output |
UINT |
0..G_PI_MAX |
Output of PI controller |
Output variable name |
Data type |
Range |
Description |
o_Output |
DINT |
0..G_PI_MAX |
Output of PI controller |
Source file Topic000458.htm
Last updated 21-Feb-2025