Chapter 7 Usage of Various Functions
7-31
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
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 regis tration area
PID8 n S1
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 registrate D0000 and the output value of control result registrate D0001
If SV Ramp is designated, current SV is registrate D0005
Done : normal execution signal
D0000
b0
b6
b7bF bE bD bC bB bA b9 b8 b1b2b5 b4 b3
PID8 PID Control
Desi
g
nation
Fla
g
set