Chapter 7 Usage of Various Functions

5)instruction

(1)PID8

PID8

PID Control

 

Instruction

 

 

 

 

Available device

 

 

 

 

No. of

 

Flag

 

 

 

M

P

K

L

F

T

C

 

S

D

#D

integer

Steps

Error

Zero

Carry

 

 

 

(F110)

(F111)

(F112)

 

n

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flag set

Error

Error flag turns on when designating area is over

(F110)

and the instruction isn’t executed.

 

 

Designation

nRegistration No. at parameter(0~7)

S1 Execution status registration 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

bF bE bD bC bB bA b9 b8 b7 b6 b5 b4 b3 b2 b1 b0

D0000

Done : normal execution signal

7-31

Page 115
Image 115
LG Electronics 120S user manual PID8, PID Control Instruction Available device, Flag