Discrete PID

Description
Discrete Proportional-Integral-Derivative (PID) Controller defined as:
Kp + \frac{Ki\cdot T}{z - 1} + Kd\cdot (\frac{1-z^{-1}}{T})

Regarding the derivative low-pass filter, the saturation and the antiwind-up method: read the documentation of the continuous PID for more information.
Library
Control > Discrete
Pins
| Name | Description |
|---|---|
| In | Input |
| Out | Output |
Parameters
| Name | Description |
|---|---|
| SamplingTime | -none or 0: No sampling. The system will be solved in the Newton loop (default). -auto: Inherit the sampling time of its source device. -Sampling Period: defined in seconds. |