CtrlLead (FB)
FUNCTION_BLOCK CtrlLead EXTENDS AbbETrig3
Lead signal processing Function Block, process input signal with Lead algorithm.
Transfer Function = U(s)/ E(s) = Gain * [ Td * s / (1+ Td * s )]
- InOut:
Scope
Name
Type
Initial
Comment
Input
ModeBYTE1
- 2: Process mode:
0 = Out = In,
1 = Out = Gain*Td*s/(1+Td*s)*In
InREAL0
3: Input of the signal to be processed by CtrlLead function block
KpREAL1
4: Propotional gain of CtrlLead function block
TdREAL1
5: Differential time of CtrlLead function block (Unit: Second) 10000.0>=Td>=0.1
Output
ErrorID4: Error identifier if an invalid value was applied to an input
OutREAL0
5: Input signal In is processed by CtrlLead function block, the manipulated output signal is sent to Out