3. Instruction Set

 

 

 

 

 

 

 

 

 

 

 

 

 

Device

Function

Setup Range

Explanation

 

 

No.

 

 

 

 

 

 

 

 

 

Available range

The accumulated integral value is

 

 

S3+10,

Accumulated

usually for reference. Users can clear

 

 

of 32-bit floating

 

 

11:

integral value

or modify it (in 32-bit floating point)

 

 

point

 

 

 

 

 

 

 

according to specific needs.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The previous PV is usually for

 

 

S3 +12:

The previous PV

-32,768~32,767

reference. Users can clear or modify it

 

 

 

 

 

according to specific needs.

 

 

 

 

 

 

 

 

S3+13

 

 

 

 

 

~

For system use only..

 

 

 

 

S3+19

 

 

 

 

5.For S3+1~3, when parameter setting exceeds its range, the upper / lower bound will be selected as the set value.

6.If the direction setting (Forward / Reverse) exceeds its range, it will be set to 0.

7.PID instruction can be used in interruption subroutines, step ladders and CJ instruction.

8.The maximum error of sampling time TS = - (1 scan time + 1ms) ~ + (1 scan time). When the error affects the output, please fix the scan time or execute PID instruction in timer interrupt.

9.PV of PID instruction has to be stable before PID operation executes. If users need to take the value input from AIO modules for PID operation, care should be taken on the A/D conversion time of these modules

10.For 32-bit instruction, S3 occupies 21 registers. In the program example above, the area designated in S3 will be D100 ~ D120. 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.

11.Parameter table of 32-bit S3:

Device

Function

Set-point 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

(unit: 10ms)

program 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.

 

 

 

 

3 - 2 4 3

Page 359
Image 359
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Device Function Set-point range Explanation