7 Application Instructions API 50-99
D V P - P L C A P P L I C AT I O N M A N U A L
7-109
of DVP04AD/04DA/06XA/04PT/04TC for PID operation, please be aware of the A/D conversion time of these
modules.
9. For the 32-bit instruction, If
S
3
designates the parameter setting area of PID instruction as D100 ~ D120,
S
3
occupies 21 registers. Before the execution of PID instruction, you have to use MOV instrction first to send the
setting value to the register area for setup. If the designated registers are latched one, use MOVP instruction to
send all the setting value at a time.
10. Settings of
S
3
in the 32-bit instruction
Device No.
Function
Setup range
Explanation
S
3
:
Sampling time (T
S
)
(unit: 10ms)
1 ~ 2,000
(unit: 10ms)
If T
S
is less than 1 program scan time, PID
instruction will be executed for 1 program
scan time. If T
S
= 0, PID instruction will not be
enabled. The minimum T
S
has to be longer
than the program scan time.
S
3
+1:
Proportional gain (K
P
) 0 ~ 30,000 (%)
The magnified error proportional value
between SV – PV.
S
3
+2:
Integral gain (K
I
)
0 ~ 30,000 (%)
The magnified proportional value of every
sampling time unit
× the accumulated value
of the error.
S
3
+3:
Differential gain (K
D
)
-30,000 ~ 30,000 (%)
The magnified proportional value of the
varied error in every samping timme unit.
S
3
+4:
Control direction (DIR)
0: automatic control
1: forward control (E = SV – PV)
2: inverse control (E = PV – SV)
S
3
+5, 6:
The range that 32-bit
error value (E) doesn’t
work
0 ~ 2,147,483,647
E = the error of SV – PV. When
S
3
+5,6 = K0,
the function will not be enabled, e.g. when
S
3
+5,6 is set as 5, MV of E between -5 and 5
will be 0.
S
3
+7, 8:
Upper bound of 32-bit
output value (MV)
-2,147,483,648 ~
2,147,483,647
Ex: if
S
3
+7,8 is set as 1,000, the output will
be 1,000 when MV is bigger than 1,000.
S
3
+7,8 has to be bigger or equal
S
3
+9,10;
otherwise the upper bound and lower bound
will switch.
S
3
+9, 10:
Lower bound of 32-bit
output value (MV)
-2,147,483,648 ~
2,147,483,647
Ex: if
S
3
+9,10 is set as -1,000, the output will
be -1,000 when MV is smaller than -1,000.
S
3
+11, 12:
Upper bound of 32-bit
integral value
-2,147,483,648 ~
2,147,483,647
Ex: if
S
3
+11,12 is set as 1,000, the output
will be 1,000 when the integral value is
bigger than 1,000 and the integration will
stop.
S
3
+11,12 has to be bigger or equal
S
3
+13,14; otherwier the upper bound and lower
bound will switch.
S
3
+13, 14:
Lower bound of 32-bit
integral value
-2,147,483,648 ~
2,147,483,647
Ex: if
S
3
+13,14 is set as -1,000, the output
will be -1,000 when the integral value is
smaller than -1,000 and the integration will
stop.
S
3
+15, 16:
32-bit accumulated
integral value
32-bit floating point
The accumulated integral value is only for
reference. You can still clear or modify it (in
32-bit floating point) according to your need.
S
3
+17, 18:
32-bit previous PV
-
The previous PV is only for reference. You
can still modify it according to your need.
S
3
+19:
~
S
3
+20:
For system use only.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...