hit counter script

Program Example 4 - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

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.
Item
*1
Target value (SV)
*1
Measured value (PV)
Parameter
Sampling time (TS)
Operation setting
(ACT)
Input filter constant (α)
Proportional gain (KP)
Integral time (TI)
Differential gain (KD)
Differential time (TD)
Input variation (incremental) alarm set value
Input variation (decremental) alarm set value
Output variation (incremental) alarm set value
Output upper limit set value
Output variation (decremental) alarm set value
Output lower limit set value
Alarm output
PV value threshold (hysteresis) width (SHPV)
Output value upper limit (ULV)
Output value lower limit (LLV)
Wait setting from end of tuning cycle to start of PID
control (KW)
*1
Output value (MV)
: This is an item not occupied.
*1 The setting is always necessary.
*2 When CH1 is used.
10 PID CONTROL FUNCTION
94
10.8 Examples of Program
*1
*1
Operation direction
Input variation alarm
Output variation alarm
Auto-tuning
Upper and lower limits of
output value
Select auto-tuning mode
Overshoot suppression setting
Hunting suppression setting
*1
*1
*1
Input variation (incremental) is
exceeded
Input variation (decremental)
is exceeded
Output variation (incremental)
is exceeded
Output variation (decremental)
is exceeded
Device
Setting value
During auto-tuning
(s1)
D500
5000 (50.0)
*2
(s2)
SD6022
According to input value
(s3)
D510
500 (500 ms)
(s3)+1 b0
D511.0
1 (Backward operation)
(s3)+1 b1
D511.1
0 (Alarm is not provided)
(s3)+1 b2
D511.2
0 (Alarm is not provided)
(s3)+1 b4
D511.4
1 (AT is provided)
(s3)+1 b5
D511.5
0 (Setting is not provided)
(s3)+1 b6
D511.6
1 (Limit cycle method)
(s3)+1 b7
D511.7
Not used
(s3)+1 b8
D511.8
Not used
(s3)+2
D512
0 (Input filter is not
provided)
(s3)+3
D513
According to auto-tuning
result
(s3)+4
D514
According to auto-tuning
result
(s3)+5
D515
0 (Differential gain is not
provided)
(s3)+6
D516
According to auto-tuning
result
(s3)+20
D530
Not used
(s3)+21
D531
Not used
(s3)+22
D532
Not used
(s3)+23
D533
Not used
(s3)+24 b0
D534.0
Not used
(s3)+24 b1
D534.1
Not used
(s3)+24 b2
D534.2
Not used
(s3)+24 b3
D534.3
Not used
(s3)+25
D535
500 (5.0)
(s3)+26
D536
2000 (2 second)
(s3)+27
D537
0 (0 second)
(s3)+28
D538
-50 (Wait is not provided)
(d)
D502
According to operation
During PID control
5000 (50.0)
According to input value
500 (500 ms)
1 (Backward operation)
0 (Alarm is not provided)
0 (Alarm is not provided)
1 (AT is provided)
1 (Setting is provided)
Not used
1 (Used)
Not used
0 (Input filter is not provided)
According to auto-tuning
result
According to auto-tuning
result
0 (Differential gain is not
provided)
According to auto-tuning
result
Not used
Not used
2000 (2 second)
0 (0 second)
Not used
Not used
Not used
Not used
Not used
Not used
Not used
Not used
According to operation

Advertisement

Table of Contents
loading

Table of Contents

Save PDF