![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/8d/38d56254-54fe-46e3-85ae-d3f5260e1091/38d56254-54fe-46e3-85ae-d3f5260e1091-bg16d.png)
FX Series Programmable Controllers Points Of Technique 10
10-25
Method 2
Durin
manual operations the PID instruction is kept runnin
but the calculated MV is i
nored;
instead the operator controls MV. In order to prevent the PID instruction from runnin
out of
control the MV value set b
the operator should be fed in to the MV
n-1
re
isters of the PID data
block in the same wa
as for MV ran
e control earlier (i.e. Set S
3
+18, S
3
+19 to MV x 100).
When switchin
back to PID control the internal values of the PID instruction are alread
set
and full PID operation starts immediatel
.
10.15.3 Using the PID alarm signals
Included as part of the data block there are four alarm values. These set the maximum positive
and ne
ative chan
e that should occur to MV and PV. The PID alarm si
nals are used to warn
of the s
stem
oin
out of control.
When the s
stem is startin
from cold it is usuall
not
ood to include the Derivative numbers
of the in the calculation; the chan
es to PV are lar
e and the Derivative introduces too much
correction. Also, if the s
stem starts to move rapidl
awa
from the SV then sometimes the use
of D can over correct and cause chasin
.
B
havin
an 'alarm' fla
for the chan
e in PV and MV it is possible to monitor the state of the
s
stem and ad
ust the PID parameters to appropriate settin
s.
When the s
stem is close to the SP the chan
es in PV (and MV) should be minimal.
In this situation usin
full PID is ver
useful in keepin
the s
stem close to the SP. (Full PID is
appropriate).
However, if the conditions chan
e (e.
. openin
a refri
erator door, addin
in
redients to a
mixture, cold start, etc.) the s
stem reacts. In some cases (especiall
cold start) the reaction is
too much for the D to be useful (PI or sometimes
ust P onl
is better). In these cases the alarm
fla
s can be used to chan
e to PI control until the s
stem returns to a more stable condition,
when full PID can then be used.
Basicall
, rather than use actual values of the PV to determine the chan
e over point from PI to
PID (or PID to PI), use the size of the chan
e in PV (or MV). This means chan
es to the Set
Point do not require different ran
es for the PI - PID chan
e over point (at least, in theor
).
10.15.4 Other tips for PID programming
• It is recommended that an input value for PV is read before the PID is activated. Otherwise,
the PID will see a bi
chan
e from 0 to the first value and calculate as if a bi
error is
occurrin
.
• The PID instruction is not interrupt processed. It is scan dependent and as such the
samplin
can not occur faster the FX scan time. It is recommended that T
S
is set to a
multiple of the pro
ram scan time.
• To keep timin
errors to a minimum it is recommended that constant scan is used.
• To improve samplin
rates it is possible to put the PID instruction inside a timer interrupt
routine.
• It is better to have the PID onl
perform P until the input value (PV) reaches the workin
ran
e.
• When settin
up it is a
ood idea to monitor the input and output of the PID instruction and
check that the
are about the expected values.
• If the PID s
stem is not operatin
properl
check the error fla
s for PID errors (D8067).