Integral term

The output Y reflects the integral value of the input X over the time.
Input Ti selects the time constant. A logical 1 at the preset input Pr causes the integrator to assume the preset value PrW.
The trapezoid rule is used to compute the integral. Integration constant K is only computed at program start, or whenever Ti changes:

Operation
The integral term realizes the following function:

Step response:

Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
X | I | FLOAT | Input signal |
Ti | I | FLOAT | Time constant in [s] |
Pr | I | BIT | Preset |
PrW | I | FLOAT | Preset value |
Y | O | FLOAT | Output signal |
Comments
This function block is a basic term to create structures.