CtrlIntegrator (FB)
FUNCTION_BLOCK CtrlIntegrator EXTENDS AbbLConC3
This function block processes and outputs the input signal as an integrator.
- InOut:
Scope
Name
Type
Initial
Comment
Input
ModeBYTE1
- 2: Process mode:
0 = Out(n) =0 = Reset Integrator
1 = Out(n) =Gain/ Ti*s = Start Integrating
2 = Out(n) =Out(n-1) = Hold Previous Value
InREAL0
3: Input of the signal to be processed by CtrlIntegrator function block
KpREAL1
4: Propotional gain of the integrator function block
TiREAL1
5: Integral time (Unit: Second). Range: 10000.0>=Ti>=0.1
OutMaxREAL100
6: Maximum limit of output manipulated variable
OutMinREAL-100
7: Minimum limit of output manipulated variable
Output
ErrorID3: Error identifier if an invalid value was applied to an input
IntegrationDoneBOOL4: processing state of the FB, IntegrationDone is set to TRUE after integrating calculation is finished
OutREAL0
5: Input signal In is processed by function block, the integral output signal is sent to Out
AlarmBYTE0
- 6: Alarm of the Manipulated output Variable Out exceeded OutMax/OutMin:
0 = no alarm,
1 = high limit exceeded,
2 = low limit exceeded