Mitsubishi Electronics FX5 Manuale Utente
80
9 PID CONTROL FUNCTION
9.8 Examples of Program
9.8 Examples of Program
Program example 4
This is an example of the sample program for auto tuning (limit cycle method) + PID control.
Use device
The content of the devices used for the program is as follows.
: This is an item not occupied.
*1 The setting is always necessary.
*2 When CH1 is used.
*2 When CH1 is used.
Item
Device
Setting value
During auto-tuning
During PID control
Target value (SV)
(s1)
D500
5000 (50.0)
5000 (50.0)
Measured value (PV)
(s2)
SD6022
According to input value
According to input value
Parameter
Sampling time (TS)
(s3)
D510
500 (500 ms)
500 (500 ms)
Operation setting
(ACT)
(ACT)
Operation direction
(s3)+1 b0
D511.0
1 (Backward operation)
1 (Backward operation)
Input variation alarm
(s3)+1 b1
D511.1
0 (Alarm is not provided)
0 (Alarm is not provided)
Output variation alarm
(s3)+1 b2
D511.2
0 (Alarm is not provided)
0 (Alarm is not provided)
Auto-tuning
(s3)+1 b4
D511.4
1 (AT is provided)
1 (AT is provided)
Upper and lower limits of
output value
output value
(s3)+1 b5
D511.5
0 (Setting is not provided)
1 (Setting is provided)
Select auto-tuning mode
(s3)+1 b6
D511.6
1 (Limit cycle method)
Not used
Input filter constant (
)
(s3)+2
D512
0 (Input filter is not
provided)
provided)
0 (Input filter is not provided)
Proportional gain (KP)
(s3)+3
D513
According to auto-tuning
result
result
According to auto-tuning
result
result
Integral time (TI)
(s3)+4
D514
According to auto-tuning
result
result
According to auto-tuning
result
result
Differential gain (KD)
(s3)+5
D515
0 (Differential gain is not
provided)
provided)
0 (Differential gain is not
provided)
provided)
Differential time (TD)
(s3)+6
D516
According to auto-tuning
result
result
According to auto-tuning
result
result
Input variation (incremental) alarm set value
(s3)+20
D530
Not used
Not used
Input variation (decremental) alarm set value
(s3)+21
D531
Not used
Not used
Output variation (incremental) alarm set value
Output upper limit set value
Output upper limit set value
(s3)+22
D532
Not used
2000 (2 second)
Output variation (decremental) alarm set value
Output lower limit set value
Output lower limit set value
(s3)+23
D533
Not used
0 (0 second)
Alarm output
Input variation (incremental) is
exceeded
exceeded
(s3)+24 b0
D534.0
Not used
Not used
Input variation (decremental)
is exceeded
is exceeded
(s3)+24 b1
D534.1
Not used
Not used
Output variation (incremental)
is exceeded
is exceeded
(s3)+24 b2
D534.2
Not used
Not used
Output variation (decremental)
is exceeded
is exceeded
(s3)+24 b3
D534.3
Not used
Not used
PV value threshold (hysteresis) width (SHPV)
(s3)+25
D535
500 (5.0)
Not used
Output value upper limit (ULV)
(s3)+26
D536
2000 (2 second)
Not used
Output value lower limit (LLV)
(s3)+27
D537
0 (0 second)
Not used
Wait setting from end of tuning cycle to start of PID
control (KW)
control (KW)
(s3)+28
D538
-50 (Wait is not provided)
Not used
Output value (MV)
(d)
D502
According to operation
According to operation