App
- 55
Appendix 2 Special Register List
APPENDICES
*9: Function version is B or later.
(3) System clocks/counters
Number
Name
Meaning
Explanation
Set by
(When Set)
Corres-
ponding
ACPU
D9
Corresponding
CPU
SD393
Multiple CPU
system
information
Number of
multiple CPUs
• The number of CPU modules that comprise the multiple CPU system is
stored. (1 to 3, Empty also included)
S (Initial)
New
Q00/Q01
*9
QnU
SD394
CPU mounting
information
• The CPU module types of No. 1 CPU to 3 and whether the CPU
modules are mounted or not are stored.
Q00/Q01
*9
SD395
Multiple CPU
number
• In a multiple CPU system configuration, the CPU number of the host
CPU is stored.
CPU No. 1: 1, CPU No. 2: 2, CPU No. 3: 3, CPU No. 4: 4
S (Initial)
New
Q00/Q01
*9
Qn(H)
*9
QnPH
QnU
SD396
No. 1 CPU
operation status
The operation information of each CPU No. is stored.
(The information on the number of multiple CPUs indicated in SD393 is
stored.)
S (END
processing
error)
New
Q00/Q01
*9
QnU
SD397
No. 2 CPU
operation status
SD398
No. 3 CPU
operation status
SD399
No. 4 CPU
operation statu
QnU
TableApp.22 Special register
Number
Name
Meaning
Explanation
Set by
(When Set)
Corres-
ponding
ACPU
D9
Corresponding
CPU
SD412
1 second
counter
Number of counts
in 1-second units
• Following programmable controller CPU module RUN, 1 is added each
second
• Count repeats from 0 to 32767 to -32768 to 0
S (Status
change)
D9022
SD414
2n second clock
setting
2n second clock
units
• Stores value n of 2n second clock (Default is 30)
• Setting can be made between 1 and 32767
U
New
SD415
2nms clock
setting
2nms clock units
• Stores value n of 2nms clock (Default is 30)
• Setting can be made between 1 and 32767
U
New
Qn(H)
QnPH
QnPRH
QnU
SD420
Scan counter
Number of counts
in each scan
• Incremented by 1 for each scan execution after the CPU module is set to
RUN.
(Not counted by the scan in an initial execution type program.)
• Count repeats from 0 to 32767 to -32768 to 0
S (Every END
processing)
New
QnA
Qn(H)
QnPH
QnPRH
QnU
• Incremented by 1 for each scan execution after the CPU module is set to
RUN.
• Count repeats from 0 to 32767 to -32768 to 0
S (Every END
processing)
New
Q00J/Q00/Q01
SD430
Low speed scan
counter
Number of counts
in each scan
• Incremented by 1 for each scan execution after the CPU module is set to
RUN.
• Count repeats from 0 to 32767 to -32768 to 0
• Used only for low speed execution type programs
S (Every END
processing)
New
QnA
Qn(H)
QnPH
b15
b8 b7
b12 b11
b4 b3
b0
Vacancy (0)
to
to
to
to
CPU No.2
CPU No.3
CPU No.1
SD394
CPU module mounted or
not mounted
0: Not mounted
1: Mounted
CPU module type
0: PLC CPU
1: Motion CPU
2: PC CPU
b15
b8 b7
b4 b3
b0
to
to
to
b14
Vacancy
Classification Operation status
4: Initial
F
H
: Reset
F
H
: Reset
0: Normal
1: Minor fault
2: Medium fault
3: Major fault
0: RUN
1: STEP RUN
2: STOP
3: PAUSE
mounted
0: Not mounted
1: Mounted