LG MASTER-K 120S Series User Manual page 116

Programmable logic controller
Table of Contents

Advertisement

Chapter 7 Usage of Various Functions
(2) PID8AT
PID8AT
PID Auto Tuning
Instruction
M
n
S1
Flag set
Error
Error flag turns on when designating area is over
(F110)
and the instruction isn't executed.
■ 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)
D0000
Available device
P
K
L
F
T
bF bE bD bC bB bA b9 b8
Auto tuning end bit
C
S
D
D
integer
#
Designation
n
Registration No. at parameter(0~7)
S1
Execution status registration area
b7
b5 b4 b3
b2
b6
7-32
Flag
No. of
Error
Zero
steps
(F110)
(F111)
5
b1
b0
Done : normal execution signal
Carry
(F112)

Advertisement

Table of Contents
loading

Table of Contents