Siemens SIMATIC S5-95F Manual page 261

Table of Contents

Advertisement

S5-95F
At instant t
, manipulated variable Y
k
m=k
Yk=
dYm
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
must have 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 has been opened or if the DB is too
short.
Caution
!
Make sure that the right controller DB has been opened before calling control algorithm
OB251.
Data Word
Name
1
3
R
5
TI
7
TD
9
W
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 6210-02
is computed as follows:
k
Table 9-5. Format of the Controller DB
Proportional gain (-32 768 to + 32 767) for controllers without a
K
differential comp.
Proportional gain (- 1500 to +1500) for controllers with a diff.
1
comp.
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 w/o a diff. comp.
R parameter (- 1500 to+1500) for controllers with a diff. comp.1
Normally 1 for controllers with P component; the specified value is
multiplied by the approximate factor of 0.001
Constant TI (0 to 9999)
Sampling interval TA
TI=
Integral-action time TN
The specified value is multiplied by the factor of 0.001.
Constant TD (0 to 999)
Derivative-action time TV
TD=
Sampling interval TA
Setpoint (- 2047 to+2047)
Blocks and Their Functions
Comments
9-7

Advertisement

Table of Contents
loading

Table of Contents