2. Programming Concepts

012345

X21

X20

6

3

0

1

2

3

4

5

A-phase X0

B-phase X1

C251 present value

Y0, C251 contact

Counting up Counting down

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
D Content ES2
EX2 SS
2SA
2SX
2
OFF
Ø
ON
STOP
Ø
RUN
RUN
Ø
STOP Attrib. Latch Default
-ed
D1000* 200 - - R/W NO 200
SV of program scan ning WDT (Unit: 1ms) ○ ○ ○ ○
Displaying the firmware version of DVP-PLC
(initial factory setting)
D1001 - - - R NO #
○ ○ ○ ○
D1002* - - - R NO #
Program capacity ○ ○ ○ ○
Sum of program memory (sum of the PLC internal
program memory.
D1003 # - - R YES 15872
○ ○ ○ ○
D1004* 0 0 - R NO 0
Syntax check error code ○ ○ ○ ○
D1008* 0 - - R NO 0
Step address when WDT is ON ○ ○ ○ ○
D1009 - - - R YES 0
Number of LV (Low voltage) signal occurrence ○ ○ ○ ○
# # # D1010* R NO 0
Current scan time (Unit: 0.1ms) ○ ○ ○
# # # D1011* R NO 0
Minimum scan time (Unit: 0.1ms) ○ ○ ○ ○
# # # D1012* R NO 0
Maximum scan time (Unit: 0.1ms) ○ ○ ○ ○
Value of accumulative high-speed timer
(0~32,767, unit: 0.1ms)
D1015* 0 - - R/W NO 0
○ ○ ○ ○
H’
0FDB H’
0FDB H’
0FDB H’
0FDB
πPI (Low byte)
D1018* R/W NO
○ ○ ○ ○
H’
4049 H’
4049 H’
4049 H’
πPI(High byte)
D1019* R/W NO
○ ○ ○ ○ 4049
D1020* 10 - - R/W NO 10
X0~X7 input filter (unit: ms) 0~20ms adjustable ○ ○ ○
Counting mode selection (Double frequency/ 4
times frequency) for AB phase counter (From X0,
X1 input) 4 - - R/W NO 4
D1022 ○ ○ ○ ○
2-39