-

PID / PID_LTIME

Type Function block
Description The PID / PID_LTIME function block is a third order Proportion + Integral + Derivative loop controller. The functionality is derived by functional composition of the function blocks INTEGRAL / INTEGRAL_LTIME and DERIVAT / DERIVAT_LTIME.

Loop controllers like the function block have to be executed with a constant time interval. Generally two ways exist to fulfill this requirement. The first is to use this function block in a POU, which is executed by a task with a fixed time interval. The second one is to execute the function block using the ENABLE input parameter in conjunction with a cyclic signal, for example generated by a timer function block. This method is recommended only for slow controlling with greater time intervals.
Notes
  • The value of the operand connected to CYCLE has to correspond to the cycle time of the task in which the function block is used.
  • Function blocks have to be instantiated. The instance name of the function block has to be declared in the 'Variables' table of the POU where the FB is going to be used. The instance name must be unique within the POU.
Parameters Inputs

ENABLE

AUTO

PV

SP

X0

KP

TR

TD

CYCLE

Output

XOUT