6. Function blocks
6.1 Manufacturer function blocks
Example: If only function block input EP and EI are activated, the PID controller oper-
ates as a PI controller.
A deactivation of the I and D component is linked with a reset. The controller is
assigned parameters with the standard variables Kp [%], TN [0.1 s] and TV [0.1 s].
The device calculates the manipulated variable every time the scan time TC has
elapsed. If the scan time is zero, the manipulated variable is calculated every cycle.
The controller can also be run in UNP and BIP modes, and also controlled in Manual
mode.
Manual mode of the PID controller
A value must be present at the MV function block input in order to set the manip-
ulated variable directly. If the function block input SE is activated, the value at MV is
transferred directly as manipulated variable QV. This value is present for as long as
the DC…SE function block input is activated or the value at the MV input is changed.
If SE is no longer triggered, the control algorithm is active again.
Extreme changes in the manipulated variable can occur when
the manual manipulated variable is transferred or deac-
tivated.
If the function block is running in UNI (unipolar) mode, a neg-
ative signed manipulated variable value MV will be output to
QV as the value zero.
The function block and its parameters
Function block inputs
Description Note
(bit)
EN
1: Activates the function block.
EP
1: Activates the proportional term
EI
1: Activates the integral term
ED
1: Activates the derivative term
SE
1: Accept manual manipulated variable
(DWord)
I1
Setpoint
Value range: -32768 ... +32767
I2
Actual value
Value range: -32768 ... +32767
KP
Proportional gain Kp [%]
Value range: 0 ... 65535
The value 100 corresponds to a KP
(factor) of 1.
TN
Reset time Tn [0.1 s]
Value range: 0 ... 65535
TV
Rate time Tv [0.1 s]
Value range: 0 ... 65535
TC
Scan time = Time between function block
calls. Value range: 0.1 s - 6553.5 s.
If the value 0 is specified, the scan time is
determined by the program cycle time.
376
easyE402/24 MN050009ENEaton.com