Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1163

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 (14 words)
*1
For loop No.n (14 words)
*1 m=(n-1)14+2
(1) Fixed to "0". An error results if a value other than "0" is specified.
• The number of device points used for PID control data setting is calculated by the following formula.
Number of device points = 2 + 14  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 S(P).PIDINIT instruction is executed at two or more locations during a single scan, the setting value of the
S(P).PIDINIT instruction executed nearest to the S(P).PIDCONT instruction will be valid.
• Execute the S(P).PIDINIT instruction before execution of the S(P).PIDCONT instruction. To perform PID control, the
S(P).PIDINIT instruction must be executed.
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)+12
Fixed to "0". (An error occurs if a value other than "0" is specified.)
(s)+13
Derivative gain (K
(s)+14
Fixed to "0". (An error occurs if a value other than "0" is specified.)
(s)+15
Fixed to "0". (An error occurs if a value other than "0" is specified.)
(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)+(m+10)
Fixed to "0". (An error occurs if a value other than "0" is specified.)
(s)+(m+11)
Derivative gain (K
(s)+(m+12)
Fixed to "0". (An error occurs if a value other than "0" is specified.)
(s)+(m+13)
Fixed to "0". (An error occurs if a value other than "0" is specified.)
)
S
)
P
)
I
)
D
)
D
)
S
)
P
)
I
)
D
)
D
10 PID CONTROL INSTRUCTIONS
10.2 PID Control Instructions (Inexact Differential)
10
1161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents