2. Programming Concepts

X20

X21

A-phase X0

B-phase X1

C251 presentvalue

4

5

6

5

4

3

2

1

0

Y0, C251contact

3

Counting up

3

2

Counting down

1

0

2.13 Special Data Register

The types and functions of special registers (special D) are listed in the table below. Care should be taken that some registers of the same No. may bear different meanings in different series MPUs. Special M and special D marked with “*” will be further illustrated in 2.13. Columns marked with “R” refers to “read only”, “R/W” refers to “read and write”, “-“ refers to the status remains unchanged and “#” refers to that system will set it up according to the status of the PLC. For detailed explanation please also refer to 2.13 in this chapter.

Special

Content

ES2

SS

SA

SX

OFF

STOP

RUN

Attrib.

Latch

Default

D

EX2

2

2

2

Ø

Ø

Ø

-ed

ON

RUN

STOP

 

 

 

 

 

 

 

 

 

 

 

D1000*

SV of program scan ning WDT (Unit: 1ms)

200

-

-

R/W

NO

200

 

 

 

 

 

 

 

 

 

 

 

 

D1001

Displaying the firmware version of DVP-PLC

-

-

-

R

NO

#

(initial factory setting)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1002*

Program capacity

-

-

-

R

NO

#

 

 

 

 

 

 

 

 

 

 

 

 

D1003

Sum of program memory (sum of the PLC internal

#

-

-

R

YES

15872

program memory.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1004*

Syntax check error code

0

0

-

R

NO

0

 

 

 

 

 

 

 

 

 

 

 

 

D1008*

Step address when WDT is ON

0

-

-

R

NO

0

 

 

 

 

 

 

 

 

 

 

 

 

D1009

Number of LV (Low voltage) signal occurrence

-

-

-

R

YES

0

 

 

 

 

 

 

 

 

 

 

 

 

D1010*

Current scan time (Unit: 0.1ms)

#

#

#

R

NO

0

 

 

 

 

 

 

 

 

 

 

 

 

D1011*

Minimum scan time (Unit: 0.1ms)

#

#

#

R

NO

0

 

 

 

 

 

 

 

 

 

 

 

 

D1012*

Maximum scan time (Unit: 0.1ms)

#

#

#

R

NO

0

 

 

 

 

 

 

 

 

 

 

 

 

D1015*

Value of accumulative high-speed timer

0

-

-

R/W

NO

0

(0~32,767, unit: 0.1ms)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1018*

πPI (Low byte)

H’

H’

H’

R/W

NO

H’

0FDB

0FDB

0FDB

0FDB

D1019*

πPI(High byte)

H’

H’

H’

R/W

NO

H’

4049

4049

4049

4049

 

 

 

 

 

 

 

 

D1020*

X0~X7 input filter (unit: ms) 0~20ms adjustable

10

-

-

R/W

NO

10

 

 

 

 

 

 

 

 

 

 

 

 

D1022

Counting mode selection (Double frequency/ 4

 

 

 

 

4

-

-

R/W

NO

4

times frequency) for AB phase counter (From X0,

 

X1 input)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 - 3 9

Page 71
Image 71
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Special Data Register, 0FDB