Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1175

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions store the PID control data by the number of loops used that is set in the device number specified by (s)
and later altogether in the CPU module to enable PID control. ( Page 1151 PID control data)
• The PID control data are assigned as follows.
Item
Common to all loops
For loop No.1 (10 words)
*1
For loop No.n (10 words)
*1 m = (n-1)  10 + 2
• The number of device points used for PID control data setting is calculated by the following formula.
Number of device points = 2 + 10  n (n: number of loops used)
• Specify each data in binary.
• If the total number of device points for the number of loops used exceeds the last device number, an error occurs and no
processing is performed.
• If the PIDINIT(P) instruction is executed at two or more locations during a single scan, the setting value of the PIDINIT(P)
instruction executed nearest to the PIDCONT(P) instruction will be valid.
• Execute the PIDINIT(P) instruction before execution of the PIDCONT(P) instruction. PID control is disabled unless the
PIDINIT(P) instruction has been executed.
Operation error
Error code
Description
(SD0)
3405H
Out-of-range data is set in the device specified by (s).
• The value set for the PID control data is out of the setting range.
• (Number of loops used) < (number of execution loops in one scan)
• (Manipulated value upper limit) < (Manipulated value lower limit)
PID control data
(s)+0
Number of loops used
(s)+1
Number of loops in one scan
(s)+2
Operational expression selection
(s)+3
Sampling period (T
(s)+4
Proportional constant (K
(s)+5
Integral constant (T
(s)+6
Derivative constant (T
(s)+7
Filter coefficient ()
(s)+8
Manipulated value lower limit (MVLL)
(s)+9
Manipulated value upper limit (MVHL)
(s)+10
Manipulated value variation rate limit (MVL)
(s)+11
Process value variation rate limit (PVL)
(s)+(m+0)
Operational expression selection
(s)+(m+1)
Sampling period (T
(s)+(m+2)
Proportional constant (K
(s)+(m+3)
Integral constant (T
(s)+(m+4)
Derivative constant (T
(s)+(m+5)
Filter coefficient ()
(s)+(m+6)
Manipulated value lower limit (MVLL)
(s)+(m+7)
Manipulated value upper limit (MVHL)
(s)+(m+8)
Manipulated value variation rate limit (MVL)
(s)+(m+9)
Process value variation rate limit (PVL)
)
S
)
P
)
I
)
D
)
S
)
P
)
I
)
D
10 PID CONTROL INSTRUCTIONS
10.3 PID Control Instructions (Exact Differential)
10
1173

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents