Program Example 1 - Mitsubishi Electric FX5 User Manual

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

Advertisement

Program example 1

This is an example of the sample program for 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
88
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
Not used
*2
(s2)
SD6022
Not used
(s3)
D510
Not used
(s3)+1 b0
D511.0
Not used
(s3)+1 b1
D511.1
Not used
(s3)+1 b2
D511.2
Not used
(s3)+1 b4
D511.4
Not used
(s3)+1 b5
D511.5
Not used
(s3)+1 b6
D511.6
Not used
(s3)+1 b7
D511.7
Not used
(s3)+1 b8
D511.8
Not used
(s3)+2
D512
Not used
(s3)+3
D513
Not used
(s3)+4
D514
Not used
(s3)+5
D515
Not used
(s3)+6
D516
Not used
(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
(s3)+26
D536
(s3)+27
D537
(s3)+28
D538
(d)
D502
Not used
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)
0 (AT is not provided)
1 (Setting is provided)
Not used
1 (Used)
Not used
0 (Input filter is not provided)
3000 (3000 %)
2000 (2000×100 ms)
0 (Differential gain is not
provided)
5000 (5000×10 ms)
Not used
Not used
2000 (2 second)
0 (0 second)
Not used
Not used
Not used
Not used
According to operation

Advertisement

Table of Contents
loading

Table of Contents