PID
- Updated2026-02-19
- 4 minute(s) read
PID algorithm for PID applications or high speed control applications that require an efficient algorithm. The PID algorithm features control output range limiting with integrator anti-windup and bumpless controller output for PID gain changes. This function block also features manual mode control with bumpless manual to automatic transitions, nonlinear integral action, two degree of freedom control, and error-squared control. You can use this function block to operate on one input value at a time.

Dialog Box Options
| Option | Description |
|---|---|
| Inputs | Contains the following configuration options:
|
| Outputs | Contains the following configuration options:
|
Inputs/Outputs
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
process variable
—
Specifies the current value of the variable that you are controlling.
integral time (Ti, min)
—
Specifies the PID parameter (Ti) that adjusts the effect of the error integral term on the output.
auto? (T)
—
TRUE selects automatic control (default), FALSE selects manual mode. The function block uses bumpless transfer to transition from manual mode to automatic control.
derivative time (Td, min)
—
Specifies the PID parameter (Td) that adjusts the effect of the error derivative term on the output.
setpoint
—
Specifies the setpoint value of the process variable that you are controlling. This is the desired value for the process variable.
proportional gain (Kc)
—
Specifies the proportional gain (Kc) of the PID algorithm. The default value is 1.
output
—
Returns the control output of the PID algorithm that is applied to the controlled process.
error out
—
error out contains error information. This output provides standard error out functionality. |
error in
—
process variable
—
auto? (T)
—
output
—
error out
—