3. Instruction Set

Points to note:

1.There is no limitation on the times of using this instruction. However, the register No. designated in S3~ S3+19 cannot be repeated.

2.For 16-bit instruction, S3 occupies 20 registers. In the program example above, the area designated in S3 is D100 ~ D119.

3.Before the execution of PID instruction, users have to transmit the parameters to the designated register area by MOV instruction. If the designated registers are latched, use MOVP instruction to transmit all parameters only once

4.Settings of S3 in the 16-bit instruction:

Device

Function

Setup Range

 

Explanation

No.

 

 

 

 

 

 

 

 

 

Time interval between PID

 

 

 

 

calculations and updates of MV. If TS

 

 

 

 

= 0, PID instruction will not be

S3:

Sampling time (TS)

1~2,000

 

enabled. If TS is less than 1 program

(unit: 10ms)

 

scan time, PID instruction sets S3 as 1

 

 

 

 

 

 

 

program scan time, i.e. the minimum

 

 

 

 

TS has to be longer than the program

 

 

 

 

scan time.

 

 

 

 

 

 

Propotional gain

 

 

The proportion for

S3+1:

0~30,000(%)

 

magnifying/minifying the error

(KP)

 

 

 

 

between SV and PV.

 

 

 

 

 

 

 

 

 

 

 

 

 

The proportion for

 

Integral gain (KI)

0~30,000(%)

 

magnifying/minifying the integral

 

 

value (The accumulated error). For

S3+2:

 

 

 

 

 

 

control mode K0~K5.

 

 

 

 

 

 

 

 

 

 

Integral time

0~30,000 (ms)

 

For control mode K10

 

constant (TI)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The proportion for

 

 

-30,000~30,000

 

magnifying/minifying the derivative

 

Derivative gain (KD)

 

value (The rate of change of the

 

(%)

 

S3+3:

 

 

process error). For control mode

 

 

 

 

 

 

 

K0~K5

 

 

 

 

 

 

Derivative time

-30,000~30,000

 

For control mode K10

 

constant (TD)

(ms)

 

 

 

 

 

 

 

 

 

S3+4:

Control mode

0: Automatic control

 

1: Forward control (E = SV - PV).

 

 

 

 

 

 

 

3 - 2 4 1

Page 357
Image 357
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Points to note, Device Function Setup Range Explanation