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 S
1
Flag Set
Error
(F110)
Error flag turns on when designating
area is over and the instruction isn’t
executed.
Designation
n
Registration No. at parameter(0~7)
S
1
Execution status registration area
Done : normal execution signal
D0000
b0
b6
b7
bF bE bD bC bB bA b9 b8
b1
b2
b5 b4 b3