Pid (Fnc 88) - Mitsubishi FX1S Series Programming Manual

Melsec-f
Hide thumbs Also See for FX1S Series:
Table of Contents

Advertisement

FX Series Programmable Controlers
5.9.8

PID (FNC 88)

Mnemonic
PID
FNC 88
(PID
control loop)
register each
16 BIT OPERATION
correction factor which also takes into account previous iterations and trends of the calculated
error. The PID process calculates a correction factor which is applied to the current output
value and stored as a corrected output value in destination device (D). The setup parameters
for the PID control loop are stored in 25 consecutive data registers S
Points to note:
a) Every PID application is different. There will be a certain amount of "trial and error"
necessary to set the variables at optimal levels.
b) On FX
2N,
initial values for the PID process. Refer to page 10-28 for more details.
c) The FX
1S
communications to achieve basic PID operation.
d) As 25 data register are required for the setup parameters for the PID loop, the head address
of this data stack cannot be greater than D975. The contents of this data stack are
explained later in this section. Multiple PID instructions can be programmed, however each
PID loop must not have conflicting data registers.
e) There are control limits in the PLC intended to help the PID controlled machines operate in
a safe manner. If it becomes necessary to reset the Set Point Value (S
is recommended to turn the PID command Off and restore the command after entering the
new Set Point Value. This will prevent the safety control limits from stopping the operation of
the PID instruction prematurely.
f) The PID instruction has a special set of error codes associated with it. Errors are identified in
the normal manner. The error codes associated with the PID loop will be flagged by M8067
with the appropriate error code being stored in D8067. These error devices are not
exclusive to the PID instruction so care should be taken to investigate errors properly.
Please see chapter 6, 'Diagnostic Devices' for more information.
g) A full PID iteration does not have to be performed. By manipulation of the setup parameters
P (proportional), I (Integral) or D (derivative) loops may be accessed individually or in a user
defined/selected group. This is detailed later in this section.
Function
)
Receives a data
D
input and
calculates a
Note: S
corrective action
use a single
to a specified
data register
level based on
PID control
32 BIT OPERATION
FX
& FX
MPUs a Pre-tuning feature is available that can quickly provide
2NC
1N
does not have analog capabilities, it is therefore necessary to use RS232
Operands
S
S
S
1
2
3
)
D
and S
Note: S
1
2
3
uses 25
consecutive
data registers
Operation:
This instruction takes a current value (S
compares it to a predefined set value (S
difference or error between the two values is then
processed through a PID loop to produce a
Applied Instructions 5
FX
FX
1S
1N
Program steps
D
)
PID:
D
9 steps
Note: D
uses a single
data register
PULSE-P
+0 through S
3
) during operation, it
1
FX
FX
2N
2NC
) and
2
). The
1
+24.
3
5-126

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx1n seriesFx2nc seriesFx2n series

Table of Contents