Integrated Blocks and Their Functions
S5-90U/S5-95U
9.1.7
OB251 PID Algorithm (for S5-95U only)
A PID algorithm is integrated in the operating system of the S5-95U. OB251 helps you use this
algorithm to meet your needs.
Before calling up OB251, you must first open a data block called the controller DB. It contains the
controller parameters and other controller specific data. The PID algorithm must be invoked peri-
odically and generates the manipulated variable. The more closely the scan time is maintained, the
more accurately the controller fulfills its task. The control parameters specified in the controller DB
must be adapted to the scan time.
You should always call OB251 from the time OB (OB13). You can set time OBs at a call up interval
ranging between 10 ms and 655350 ms. The PID algorithm requires no more than 1.7 ms to
process.
OB251 can be interrupted by OB3 or OB13.
Figure 9-3. Calling Up the OB251 PID Algorithm
OB13
Time-controlled
execution
C
DB
N
JU
OB
251
.
.
.
.
.
BE
DBN
Controller
data block
DW
1
.
.
.
.
.
.
DW
49
OB251
PID
algorithm
The continuous-action controller is designed for controlled systems such as those present in
process engineering for controlling pressure, temperature, or flow rate.
The ”R” variable sets the proportional component of the PID controller.
If proportional action is required, most controller designs use the value R = 1.
The individual Proportional action, Integral action, and Derivative action components can be
deactivated via their parameters (R, TI, and TD) by presetting the pertinent data words to zero.
This enables you to implement all required controller structures without difficulty, e.g., PI, PD, or PID
controllers.
You can forward the system deviation XW or, using the XZ input, any disturbance variable or the
inverted actual value X to the derivative action element. Specify a negative K value for a reverse
acting controller.
When the correction information (dY or Y) is at a limit, the integral action component is automatically
deactivated in order not to impair the dynamic response of the controller.
The switch settings in the block diagram are implemented by setting the respective bits in control
word ”STEU”.
9-8
EWA 4NEB 812 6115-02b
Содержание SIMATIC S5-90U
Страница 3: ...SIMATIC S5 S5 90U S5 95U Programmable Controller System Manual EWA 4NEB 812 6115 02b Edition 03 ...
Страница 6: ...EWA 4NEB 812 6115 02b ...
Страница 16: ...EWA 4NEB 812 6115 02b ...
Страница 23: ......
Страница 32: ...EWA 4NEB 812 6115 02b ...
Страница 46: ...EWA 4NEB 812 6115 02b ...
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 64: ......
Страница 65: ......
Страница 66: ......
Страница 67: ......
Страница 89: ......
Страница 102: ...EWA 4NEB 812 6115 02b ...
Страница 118: ...EWA 4NEB 812 6115 02b ...
Страница 242: ...EWA 4NEB 812 6115 02b ...
Страница 288: ...EWA 4NEB 812 6115 02b ...
Страница 300: ...EWA 4NEB 812 6115 02b ...
Страница 362: ...EWA 4NEB 812 6115 02b ...
Страница 536: ...EWA 4NEB 812 6115 02b ...
Страница 538: ...EWA 4NEB 812 6115 02b ...
Страница 540: ...EWA 4NEB 812 6115 02b ...
Страница 562: ...EWA 4NEB 812 6115 02b ...
Страница 564: ...EWA 4NEB 812 6115 02b ...
Страница 590: ...EWA 4NEB 812 6115 02b ...
Страница 596: ...EWA 4NEB 812 6115 02b ...
Страница 598: ...EWA 4NEB 812 6115 02b ...
Страница 604: ...EWA 4NEB 812 6115 02b ...
Страница 606: ...EWA 4NEB 812 6115 02b ...
Страница 608: ...EWA 4NEB 812 6115 02b ...
Страница 610: ...EWA 4NEB 812 6115 02b ...
Страница 620: ...EWA 4NEB 812 6115 02b ...