16 Other Functions
Autotuning Procedure
Automatically Executing Autotuning When PIDAT Is Executed
To automatically autotune the PID constants, turn ON the AT Command Bit when the PIDAT instruc-
tion is executed.
1
Set the PID parameter in words C to C+10. Word C is specified by the second operand.
Example: Place the set value (SV) in C and place the input range in bits 08 to 11 of C+6. Turn
ON bit 15 of C+9 (AT Command Bit).
2
Turn ON the PIDAT instruction's input condition.
The PIDAT instruction will execute autotuning. When it has finished, the AT Command Bit (bit 15
in C+9) will turn OFF. At the same time the proportional band (C+1), integral constant (C+2),
and derivative constant (C+3) calculated by autotuning will be stored and PID control will be
started.
Executing Autotuning for Other Conditions When PIDAT Is Executed
Here, the AT Command Bit is left OFF when the PIDAT instruction is being executed. Later it is
turned ON by some other condition to start autotuning.
1
Set the PID parameter in words C to C+10. Word C is specified by the second operand.
Example: Place the set value (SV) in C, the proportional band in C+1, the integral constant in
C+2, the derivative constant in C+3, and the input range in bits 08 to 11 of C+6. Turn OFF bit 15
of C+9 (AT Command Bit).
2
Turn ON the PIDAT instruction's input condition. PID control will be started with the specified
PID constants.
3
Turn ON bit 15 in C+9 (the AT Command Bit) while the input condition for the PID instruction is
ON. Autotuning will be performed. When it has finished, the AT Command Bit (bit 15 in C+9) will
turn OFF. The proportional band (C+1), integral constant (C+2), and derivative constant (C+3)
calculated by autotuning will be stored and PID control will be started with those PID constants.
16-1-3 Application Example
System Configuration
Inputs connected to terminal
blocks CIO 0 and CIO 1
CP1E CPU Unit with 30 I/O
Points
100.00
Transistor output
• A K thermocouple is used for the temperature input. Use a CP1W-TS001 Temperature Sensor Unit
(thermocouple input).
16-4
Inputs connected to
terminal block CIO 2
CP1W-TS001
Temperature Sensor Unit
COM
+
-
Stored in CIO 2 in
Temperature
input
the Input Area
terminals
Controlled device
Control
device
(SSR)
CP1E CPU Unit Software User's Manual(W480)
K thermocouple
Heater
Need help?
Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?