App - 97
APPENDICES
Table App. 3.11. Special register
ACPU
Special
Register
Special
Register
after
Conversion
Special
Register for
Modification
Name Meaning Details
Corresponding
CPU
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.
QnA
D9021 SD1021 – Scan time
Scan time
(1 ms units)
• At every END, the scan time is stored in BIN code and always
rewritten.
QnA
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.
QnA
D9025 SD1025 – Clock data
Clock data
(year, month)
• The year (last two digits) and month are stored as BCD code as
shown below.
QnA
D9026 SD1026 – Clock data
Clock data
(day, hour)
• The day and hour are stored as BCD code as shown below.
QnA
D9027 SD1027 – Clock data
Clock data
(minute, second)
• The minute and second are stored as BCD code as shown below.
QnA
D9028 SD1028 – Clock data
Clock data
(day of week)
• The day of the week is stored as BCD code as shown below.
QnA
D9035 SD1035 SD648
Extension file
register
Use block No.
• Stores the block No. of the extension file register being used in
BCD code.
QnA
D9036 SD1036
Extension file
registerfor
designation of
device number
Device number when
individual devices
from extension file
register are directly
accessed
• Designate the device number for the extension file register for
direct read and write in 2 words at SD1036 and SD1037 in BIN
data.
Use consecutive numbers beginning with R0 of block No. 1 to
designate device numbers.
QnA
D9037 SD1037 QnA
b15
b12to b11
b8
to
b7
b4to
b3 b0
to
Example:
1987, July
H8707
Year
Month
b15
b12to b11
b8
to
b7
b4to
b3 b0
to
Example:
31st, 10 a.m.
H3110
Day
Hour
b15
b12to b11
b8
to
b7
b4to
b3 b0
to
Example:
35 min, 48 sec.
H3548
Minute
Second
b15 b12
to
b11 b8
to
b7 b4
to
b3 b0
to
0
1
2
3
4
5
6
H0005
Sunday
Saturday
Friday
Thursday
Wednesday
Tuesday
Monday
Day of the week
Example:
Friday
Always set "0".
Device No. (BIN data)
SD1037,SD1036
0
to
16383
16384
to
to
Extension file register
Block No.1
area
Block No.2
area