Siemens S5-100U User Manual page 249

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
At instant t
, manipulated variable Y
k
m=k
Y
=
dY
k
m=0
Initializing the PID Algorithm
OB251's interface to its environment is the controller DB. All data needed to compute the next
manipulated variable value is stored in this DB. Each controller has its own controller data block.
The controller-specific data are initialized in a data block that must comprise at least 49 data words.
The CPU goes to STOP with a transfer error (TRAF) if no DB is open or if the DB is too short.
Caution
!
Make sure that the right controller DB is open before calling control algorithm OB251.
Data Word
1
3
5
3
9
11
12
14
16
1
It is possible to have larger gains, if sudden incremental changes to the system deviation are small
enough. This is the reason you have to divide larger deviations into smaller ones such as adding
the setpoint via a ramp function.
EWA 4NEB 812 6120-02
is computed as follows:
k
m
Table 9-8. Structure of the Controller DB
Name
Proportional coefficient (-32 768 to + 32 767) for controllers
K
without a derivative-action element
Proportional coefficient (- 1500 to +1500) for controllers with a
derivative-action element
K is greater than zero when the control is direct acting, and less
than zero when the control is reverse acting; the specified value is
multiplied by a factor of 0.001.
R parameter (- 32 768 to + 32 767) for controllers without
R
aderivative-action element
R parameter (- 1500 to + 1500) for controllers with a derivative-
action element
Normally 1 for controllers with P element; the specified value is
multiplied with a factor of 0.0001
TI
Constant TI (0 to 9999)
Sampling interval TA
TI=
Integral-action time
The specified value is multiplied by a factor of 0.001
Constant TD (0 to 999)
Derivative-action time TV
TD=
Sampling interval TA
W
Setpoint (- 2047 to +2047)
STEU
Control word (bit pattern)
YH
Value for Manual operation (- 2047 to +2047)
BGOG
Upper limit value (- 2047 to +2047)
BGUG
Lower limit value (- 2047 to +2047)
Integrated Blocks and Their Functions
Comments
1
1
9-19

Advertisement

Table of Contents
loading

Table of Contents