Chapter 7 Usage of Various Functions
7-32
(2) PID8AT
Available device
Flag
Instruction
M P K L F T C S D
#
D integer
No. of
steps
Error
(F110)
Zero
(F111)
Carry
(F112)
n
S1
5
n Registration No. at parameter(0~7)
Error
(F110)
Error flag turns on when designating area is over
and the instruction isn’t executed.
S1 Execution status registration area
■ PID8AT n S1
a) Usage
• when the condition of execution is on, PID auto tuning operation executes 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 M0 turns 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 D002(P),D003(I),D004(D)
Done : normal execution signal
D0000
Auto tuning end bit
b0
b6
b7bF bE bD bC bB bA b9 b8 b1b2b5 b4 b3
PID8AT PID Auto Tuning
Desi
g
nation
Fla
g
set