PLC API 4.2.1.3.9 FB_CTRL_PID The function block provides a PID transfer element in the functional diagram. Transfer function The following transfer function can be specified if the boolean Inputs bPInTheFeedbackPath and bDInTheFeedbackPath are FALSE. Otherwise the transfer function only describes part of the transfer behavior of the function block. T s G s K T s T s ж ц = + + з ч + и ш 1 ( ) 1 1 v PID p n d TF4100 60 Version: 2.2.4 Name Type Description tCtrlCycleTime TIME Cycle time with which the control loop is processed. This must be greater than or equal to the TaskCycleTime.
The function block uses this input value to calculate internally whether the state and the output values have to be updated in the current cycle. tTaskCycleTime TIME Cycle time with which the function block is called. If the function block is called in every cycle this corresponds to the task cycle time of the calling task. fKp OuterLoop _ FLOAT Controller amplification / controller coefficient of the PI element (outer control loop) tTn OuterLoop _ TIME Integral action time of the internal PI element (outer control loop). The I-component is deactivated if this is parameterized as T#0s.
fMaxLimit Outer _ Loop FLOAT Upper limit at which integration in the PID-element is halted and to which the output is limited (ARW measure). Reaching this limit is indicated by a TRUE at the bARWactiveOuterLoop output. fMinLimit OuterL _ oop FLOAT Lower limit at which integration in the PID-element is halted and to which the output is limited (ARW measure). Reaching this limit is indicated by a TRUE at the bARWactiveOuterLoop output. fKp InnerLoop _ FLOAT Controller amplification / controller coefficient of the PID element (inner control loop) tTn InnerLoop _ TIME Integral action time of the PID-element (inner control loop). The I- component is deactivated if this is parameterized as T#0s.
tTv InnerLoop _ TIME Derivative action time of the PID-element (inner control loop). The D- component is deactivated if this is parameterized as T#0s. tTd InnerLoop _ TIME Damping time of the PID-element (inner control loop) fMaxLimit InnerL _ oop FLOAT Upper limit at which integration in the PID-element is halted and to which the output is limited (ARW measure). Reaching this limit is indicated by a TRUE at the bARWactiveInnerLoop output. fMinLimit InnerL _ oop FLOAT Lower limit at which integration in the PID-element is halted and to which the output is limited (ARW measure). Reaching this limit is indicated by a TRUE at the bARWactiveInnerLoop output.