![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262394.webp)
16 Other Functions
16-4
CP2E CPU Unit Software User’s Manual(W614)
z
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 0
8
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.
z
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 0
8
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.
•
A K thermocouple is used for the temperature input. Use a CP1W-TS001 Temperature Sensor Unit
(thermocouple input).
Autotuning Procedure
16-1-3 Application Example
System Configuration
100.00
COM
-
Inp
u
t
s
connected to termin
a
l
b
lock
s
CIO 0
a
nd CIO 1
CP2E CPU Unit with 30 I/O
Point
s
Tr
a
n
s
i
s
tor o
u
tp
u
t
Inp
u
t
s
connected to
termin
a
l
b
lock CIO 2
CP1W-T
S
001
Temper
a
t
u
re
S
en
s
or Unit
Temper
a
t
u
re
inp
u
t
termin
a
l
s
S
tored in CIO 2 in
the Inp
u
t Are
a
Control
device
(
SS
R)
Controlled device
He
a
ter
K thermoco
u
ple
+
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......