CtrlLag (FB)
FUNCTION_BLOCK CtrlLag EXTENDS AbbETrig3
This function block processes the input signal with the first order lag algorithm.
Transfer Function = U(s)/ E(s) = Kp * [ 1 / (1+ Ti * s ) ]
- InOut:
Scope
Name
Type
Initial
Comment
Input
ModeBYTE1
- 2: Process mode:
0 = Out = In = Disable Lag Function
1 = Out = Kp*1/(1+Ti*s)*In = Start Lag Function
InREAL0
3: Input of the signal to be processed by CtrlLag function block
KpREAL1
4: Propotional gain of CtrlLag function block
TiREAL1
5: Lag time of Lag function block (Unit: Second) 10000.0>=Ti>=0.1
Output
ErrorID3: Error identifier if an invalid value was applied to an input
OutREAL0
4: Input signal In is processed by CtrlLag function block, the manipulated output signal is sent to Out