CMC_PidT1 (FB)

FUNCTION_BLOCK CMC_PidT1

PIDT1 Controller

  • The PI controller changes its output Cv (manipulated variable) until input Pv (controlled variable) is equal to input Sp (command variable).

  • Additional pre filter for DT1 - Component available (optional).

  • I or DT1 components can be switched off by setting the respective time equal to zero.

InOut:

Scope

Name

Type

Comment

Input

Sp

REAL

Command variable (set point)

Pv

REAL

ProcessValue, Actual Value

Kp

REAL

Proportional coefficient, specified as a percentage value

Ti_Cycles

REAL

Integral action time scaled to the PLC cycle time

Td_Cycles

REAL

Derivative action time scaled to the PLC cycle time

T1_Cycles

REAL

Returning time scaled to the PLC cycle time

Max_Cv

REAL

High limit for the manipulated variable Cv

Min_Cv

REAL

Low limit for the manipulated variable Cv

Set

BOOL

Enable for setting to initial value Init

Init_Cv

REAL

Initial value for the manipulated variable Cv

Reset

BOOL

Reset of the manipulated variable Cv to 0

Output

Cv

REAL

Output for the manipulated variable Control Value

State_Max

BOOL

High limit has been reached

State_Min

BOOL

Low limit has been reached

Structure: