-

FPID

Type Function block
Description The FPID function block is a second order Proportion + Integral + Derivative loop controller. It is possible to choose either the remote (TRUE) or the local set point (FALSE) by setting the REMOTE input. The AUTO input declares if the FPID works automatically or is set manually.

With the interlock feature a fixed value can be set as output value (e.g., in case of a controller error). Also a low (LOW) and a high value (HIGH) can be declared in order to set limits for the output value.

The Manual>Auto and the direction switch only work without shocks if there is an integral part.

State 0 1
Set point switchLocalRemote direction switch
Auto switchManualAuto
Interlock switchNormalInterlock

The high and low ranges of SPR, SPL and X must be identical.

The high and low ranges of Manual and X are 0 to 100%.
Notes 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 REMOTE

AUTO

DIRECTN

INTLCK

Tscan

Yman

SPR

SPL

X

KP

TI

TD

HIGH

LOW

INTLCKV

Output

Yout