![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268814.webp)
775
Data Control Instructions
Section 3-18
Precautions
PIDAT(191) is executed as if the execution condition was a STOP-RUN signal.
PID calculations are executed when the execution condition remains ON for
the next cycle after C+11 to C+40 are initialized. Therefore, when using the
Always ON Flag (ON) as an execution condition for PIDAT(191), provide a
separate process where C+11 to C+40 are initialized when operation is
started.
If the C data is out of range, an error will occur and the Error Flag will turn ON.
If an error occurred during autotuning, the Error Flag will turn ON.
If the actual sampling period is more than twice the designated sampling
period, an error will occur and the Error Flag will turn ON. PID control will still
be executed, however.
The Carry Flag turns ON while PID control is being executed.
The Greater Than Flag turns ON if the manipulated variable after the PID
action exceeds the upper limit. At this time, the results are output at the upper
limit.
The Less Than Flag turns ON if the manipulated variable after the PID action
is below the lower limit. At this time, the results are output at the lower limit.
PID Parameter Settings
Control
data
Item
Contents
Setting range
Change with
ON input
condition
C
Set value (SV)
The target value of the process
being controlled.
Binary data (of the same number
of bits as specified for the input
range)
Allowed
C+1
Proportional band
The parameter for P action
expressing the proportional con-
trol range/total control range.
0001 to 270F hex (1 to 9999);
(0.1% to 999.9%, in units of
0.1%)
Can be
changed with
input condition
ON if bit 1 of
C+5 is 1.
C+2
Tik
Integral Constant
A constant expressing the
strength of the integral action. As
this value increases, the integral
strength decreases.
0001 to 1FFF hex (1 to 8191);
(9999 = Integral operation not
executed) (See note 1.)
C+3
Tdk
Derivative Constant
A constant expressing the
strength of the derivative action.
As this value increases, the
derivative strength decreases.
0001 to 1FFF hex (1 to 8191);
(0000 = Derivative operation not
executed) (See note 1.)
C+4
Sampling period (
τ
)
Sets the period for executing the
PID action.
0001 to 270F hex (1 to 9999);
(0.01 to 99.99 s, in units of
10 ms)
Not allowed
Bits 04 to 15
of C+5
2-PID parameter (
α
) The input filter coefficient. Nor-
mally use 0.65 (i.e., a setting of
000). The filter efficiency
decreases as the coefficient
approaches 0.
000 hex:
α
= 0.65
Setting from 100 to 163 hex
means that the value of the right-
most two digits is set from
α
=
0.00 to
α
= 0.99. (See note 2.)
Bit 03 of C+5 Manipulated vari-
able output designa-
tion
Designates the manipulated vari-
able output for when the PV
equals the SV.
0: Output 0%
1: Output 50%
Bit 01 of C+5 PID constant
change enable set-
ting
The timing of enabling changes
made to the proportional band
(P), integral constant (Tik), and
derivative constant (Tdk) for use
in PID calculations.
0: At start of PID instruction exe-
cution
1: At start of PID instruction exe-
cution and each sampling period
Allowed
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...