693
Data Control Instructions
Section 3-18
Note
1.
When the unit is designated as 1, the range is from 1 to 8,191 times the
period. When the unit is designated as 9, the range is from 0.1 to 819.1 s.
When 9 is designated, set the integral and derivative times to within a
range of 1 to 8,191 times the sampling period.
2.
Setting the 2-PID parameter (
α
) to 000 yields 0.65, the normal value.
When the manipulated variable output limit control is enabled (i.e., set to
“1”), set the values as follows:
0000
≤
MV output lower limit
≤
MV output upper limit
≤
Max. value of output range
Example 1:
Interrupting PID Control to
Perform Autotuning
At the rising edge of CIO 000000 (OFF to ON), the work area in D00211 to
D00240 is initialized according to the parameters (shown below) set in
D00200 to D00208. After the work area has been initialized, PID control is
executed and the manipulated variable is output to CIO 0020.
While CIO 000000 is ON, PID control is executed at the sampling period
intervals according to the parameters set in D00200 to D00210. The manipu-
lated variable is output to CIO 0020.
The PID constants used in PID calculations will not be changed even if the
proportional band (P), integral constant (Tik), or derivative constant is
changed after CIO 000000 turns ON.
At the rising edge of W 000000 (OFF to ON), SETB(532) turns ON bit 15 of
D00209 (C+9) and starts autotuning. When autotuning is completed, the cal-
culated P, I, and D constants are written to C+1, C+2, and C+3. PID control is
then restarted with the new PID constants.
PIDAT
0010
D00200
0020
000000
S
C
D
C: D00200
C+1: D00201
C+2: D00202
C+3: D00203
C+4: D00204
C+5: D00205
C+6: D00206
C+7: D00207
C+8: D00208
C+9: D00209
C+10: D00210
C+11: D00211
C+40: D00240
0
1
2
C
0
0
6
4
0
4
B
0
0
1
9
0
0
0
3
2
0
0
0
8
0
4
9
4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W00000
SETB
D00209
#000F
Work area
Proportional band: 10.0%
Integral time: 120.0 s
Derivative time: 40.0 s
Sampling
period: 0.5 s
Reverse operation (bit 00: 0), PID constant change enable setting =
OFF (bit 01: 0), set value = manipulated variable output 50% (bit
03: 1), 2-PID parameter = 0.65 (bits 04 to 15: 000 hex)
Manipulated variable output range: 12 bits (bits 00 to 03: 4 hex),
Integral/derivative constant: time designation (bits 04 to 07: 9 hex)
Input range: 12 bits (bits 08 to 11: 4 hex),
Manipulated variable output limit control disabled (bit 12: 0)
AT Command Bit OFF (bit 15: 0),
AT Calculation Gain = 1.00 (bits 00 to 11: 000 hex)
Limit-cycle Hysteresis = 0.20%
Parameters
PV:
CIO 0010
MV output: CIO 0020
to
PID calculation
Set value: 300
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...