APPENDICES
Appendix 2 Special Register List
App
- 76
9
P
a
ra
met
e
rs
10
Device
Exp
la
n
at
ion
11
CP
U
M
odu
le
P
ro
cessi
ng
Ti
m
e
12
P
roc
e
d
ure
f
or W
rit
in
g
P
rog
ra
m t
o CP
U Mo
du
le
A
p
pe
nd
ic
e
s
In
de
x
ACPU
Special
Register
Special
Register
after
Conversion
Special
Register for
Modification
Name
Meaning
Details
Corresponding
CPU
D9016
SD1016
Program
number
0: Main program
(ROM)
1: Main program
(RAM)
2: Subprogram 1
(RAM)
3: Subprogram 2
(RAM)
4: Subprogram 3
(RAM)
5: Subprogram 1
(ROM)
6: Subprogram 2
(ROM)
7: Subprogram 3
(ROM)
8: Main program
(E
2
PROM)
9: Subprogram 1
(E
2
PROM)
A: Subprogram 2
(E
2
PROM)
B: Subprogram 3
(E
2
PROM)
• Indicates which sequence program is run presently. One value of 0
to B is stored in BIN code.
QnA
Qn(H)
QnPH
D9017
SD1017
SD520
Scan time
Minimum scan time
(10 ms units)
• If scan time is smaller than the content of SD520, the value is
newly stored at each END. Namely, the minimum value of scan
time is stored into SD520 in BIN code.
D9018
SD1018
SD524
Scan time
Scan time
(10 ms units)
• At every END, the scan time is stored in BIN code and always
rewritten.
D9019
SD1019
SD526
Scan time
Maximum scan time
(10 ms units)
• If scan time is larger than the content of SD526, the value is newly
stored at each END. Namely, the maximum value of scan time is
stored into SD526 in BIN code.
D9020
SD1020
Constant scan
Constant scan time
(User sets in 10 ms
units)
• Sets the interval between consecutive program starts in multiples
of 10 ms.
0
: No setting
1 to 200 : Set. Program is executed at intervals of (set
value) 10 ms.
D9021
SD1021
–
Scan time
Scan time
(1 ms units)
• At every END, the scan time is stored in BIN code and always
rewritten.
D9022
SD1022
SD412
1 second
counter
Count in units of 1s.
• When the PC CPU starts running, it starts counting 1 every
second.
• It starts counting up from 0 to 32767, then down to -32768 and
then again up to 0. Counting repeats this routine.
D9025
SD1025
–
Clock data
Clock data
(year, month)
• The year (last two digits) and month are stored as BCD code as
shown below.
D9026
SD1026
–
Clock data
Clock data
(day, hour)
• The day and hour are stored as BCD code as shown below.
D9027
SD1027
–
Clock data
Clock data
(minute, second)
• The minute and second are stored as BCD code as shown below.
b15
b12
to
b11
b8
to
b7
b4
to
b3
b0
to
Example:
1987, July
H8707
Year
Month
b15
b12
to
b11
b8
to
b7
b4
to
b3
b0
to
Example:
31st, 10 a.m.
H3110
Day
Hour
b15
b12
to
b11
b8
to
b7
b4
to
b3
b0
to
Example:
35 min, 48 sec.
H3548
Minute
Second