Chapter 6 Usage of Various Functions
6-18
5) Instruction
(1) PID8
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
O O
PID8
S1
O
5 O
■ PID8 (PID operation)
a) Usage
• When the condition of execution is on, PID operation executes.
• ‘n’ is registration No.at parameter( 0 ~ 7)
b) Example Program
• When the input condition M0 turns on, PID operation executes at no.2 parameter.
• PID execution status registrates D0000 and the output value of control result registrates
D0001.
• If SV Ramp is designated, current SV is registrate D0005
PID8 n S1
Flag Set
Error
(F110)
Error flag turns on when designating
area is over and the instruction isn’t
executed.
Designation
n
Re
istration No. at
arameter
0~7
S1
Execution status re
istration area
Done : normal execution signal
D0000
b0b6b7bF bE bD bC bB bA b9 b8 b1b2b5 b4 b3