Mitsubishi Q00JCPU User Manual page 865

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

APPENDICES
Special
ACPU
Special
Register
Special
Register for
after
Register
Modification
Conversion
D9016
SD1016
D9017
SD1017
SD520
D9018
SD1018
SD524
D9019
SD1019
SD526
D9020
SD1020
D9021
SD1021
D9022
SD1022
SD412
D9025
SD1025
D9026
SD1026
D9027
SD1027
TableApp.28 Special register
Name
Meaning
0: Main program
(ROM)
1: Main program
(RAM)
2: Subprogram 1
(RAM)
3: Subprogram 2
(RAM)
4: Subprogram 3
(RAM)
5: Subprogram 1
(ROM)
Program
6: Subprogram 2
number
(ROM)
7: Subprogram 3
(ROM)
8: Main program
2
(E
PROM)
9: Subprogram 1
2
(E
PROM)
A: Subprogram 2
2
(E
PROM)
B: Subprogram 3
2
(E
PROM)
Minimum scan time
Scan time
(10 ms units)
Scan time
Scan time
(10 ms units)
Maximum scan time
Scan time
(10 ms units)
Constant scan time
Constant scan
(User sets in 10 ms
units)
Scan time
Scan time
(1 ms units)
1 second
Count in units of 1s.
counter
Clock data
Clock data
(year, month)
Clock data
Clock data
(day, hour)
Clock data
Clock data
(minute, second)
Details
• Indicates which sequence program is run presently. One value of 0
to B is stored in BIN code.
• 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.
• At every END, the scan time is stored in BIN code and always
rewritten.
• 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.
• 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.
• At every END, the scan time is stored in BIN code and always
rewritten.
• 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.
• The year (last two digits) and month are stored as BCD code as
shown below.
b15
b8
b7
b3
to
b12
b11
to
to
b4
to
Year
Month
• The day and hour are stored as BCD code as shown below.
b15
to
b12
b11
to
b8
b7
to
b4
b3
to
Day
Hour
• The minute and second are stored as BCD code as shown below.
b15
to
b12
b11
to
b8
b7
to
b4
b3
to
Minute
Second
Appendix 2 Special Register List
Corresponding
CPU
QnA
Qn(H)
QnPH
Example:
b0
1987, July
H8707
Example:
b0
31st, 10 a.m.
H3110
Example:
b0
35 min, 48 sec.
H3548
App
- 76
9
10
11
12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents