Chapter 7 Usage of Various Functions
7-
ొై
(2) PID8AT
Available device
Flag
Instruction
M
P
K
L
F
T
C
S
D
#
D
Integ
er
Step no.
Error
(F110)
Zero
(F111)
Carry
(F112)
n
O
O
PID8
S1
O
5
O
I
PID8AT(PID auto tuning Calculation)
a) Usage
•
when the condition of execution is on, PID auto tuning operation executes.(only rising edge condition)
and calculates P,I,D constant
•
‘ n’ is registration No.at parameter( 0 ~ 7)
•
S1 is execution status and P,I,D constant registration area
b) Example program
•
When the input condition F0093(1second clock) is rising edge(off
Á
on) PID operation executes at no.2 parameter.
•
PID execution status stores D0000 and the output value of control result stores D0001
and P,I,D constant sequentially store D003,D004,D005
PID8 n S
1
Flag Set
Error
(F110)
It turns ‘ on’ when designation area is over and
the instruction isn’ t executed.
Designation area
n
Registration No. at parameter(0~7)
S
1
execution status registration area
[ PID8AT 2 D0000
]
F0093
Done : normal execution signal
D0000
Auto tuning end bit
b0
b6
b7
bF bE bD bC bB bA b9 b8
b1
b2
b5 b4 b3