5-160
5.5 PID Control Instruction (Inexact Differential)
5.5.1 PIDINIT instruction
S_PIDINIT
(1) PID control data
*1 :
For the PID operational expressions to be set for Operational expression selection, refer to the following
manual.
QCPU (Q Mode)/QnACPU Programming Manual (PID Control Instructions)
Device
Data item
Description
Setting range
Setting
side
Processing when the
setting data are outside the
setting range
With PID limits
Without PID
limits
Common setting data (device:
+0 to
+1)
+0
Number of loops
Set the number of loops
for PID operation.
1 to 32
User
An error occurs and the PID
operation for all loops is not
performed.
+1
Number of loops
in one scan
Set the number of loops
for PID operation in one
scan if multiple loops
have reached the
sampling cycle time.
1 to 32
User
Setting data for No. 1 loop (device:
+2 to
+15)
+2
Operational
expression
selection
Select the PID
operational expression.
*1
0: Forward
operation
1: Reverse
operation
0: Forward
operation
1: Reverse
operation
User
An error occurs and the PID
operation for the
corresponding loop is not
performed.
+3
Sampling cycle
(TS)
Set the PID operation
cycle.
1 to 6000
(unit: 10ms)
1 to 6000
(unit: 10ms)
User
+4
Proportional
constant
(KP)
Proportional gain of PID
operation
1 to 10000
(unit: 0.01)
1 to 10000
(unit: 0.01)
User
+5
Integral
constant
(TI)
Constant that expresses
the magnitude of the
integral action (I action)
effect.
Increasing the integral
constant slows down the
manipulated value
change.
1 to 32767
(unit: 100ms)
If setting value
> 30000
T1 = Infinite
(
)
1 to 32767
(unit: 100ms)
If setting value
> 30000
T1 = Infinite
(
)
User
+6
Derivative
constant
(T
D
)
Constant that expresses
the magnitude of the
derivative action
(D action) effect.
Increasing the derivative
constant causes a
significant change in the
manipulated value even
with a slight change of
the control target.
0 to 30000
(unit: 10ms)
0 to 30000
(unit: 10ms)
User
+7
Filter coefficient
(
)
Set the degree of filtering
to be applied to the
process value.
The filtering effect
decreases as the value
gets closer to 0.
0 to 100
0 to 100
User
○
S
○
S
S
S
○
S
○
S
S
S
S
S
S
S
Summary of Contents for QCPU
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 28: ...2 10 MEMO ...
Page 32: ...3 4 MEMO ...
Page 38: ...4 6 MEMO ...
Page 234: ...5 196 MEMO ...
Page 238: ...Index 4 MEMO ...
Page 241: ......