561
APPENDICES
A
Appendix 3 List of Special Register Areas
D9002 SD1002
I/O module
verify error
I/O module verify
error module
number
• If the status of the I/O modules changes from that
obtained at power-on, the lowest first I/O number of the
module is stored in hexadecimal. (Example: If a module
verification error is occurred on the output module with
output numbers Y50 to Y6F, "50" is stored in
hexadecimal.) To monitor the number by a programming
tool, monitor in hexadecimal. (This register is cleared
when contents in SD1116 to SD1123 are all reset to "0".)
• I/O module verification is conducted on I/O modules on
remote I/O stations.
Qn(H)
QnPH
QnU
*1
LCPU
D9005 SD1005 -
AC DOWN
counter
Number of times
for AC DOWN
• A value stored in this register is incremented by one
whenever the input voltage falls to or below 85% (AC
power) or 65% (DC power) of the rating during operation
of the CPU module.
• The counter starts the routine: counts up from 0 to 32767,
then counts down to -32768 and then again counts up to
0.
Qn(H)
QnPH
QnU
*1
LCPU
D9008 SD1008 SD0
Self-
diagnostic
error
Self-diagnostic
error number
This register stores the error code of an error detected by
self-diagnostics.
Qn(H)
QnPH
QnU
*1
LCPU
D9009 SD1009 SD62
Annunciator
detection
F number at which
external failure has
occurred
• When any of F0 to F2047 (default device setting) is
turned on by the OUT F or SET F instruction, the F
number that has been detected earliest among the F
numbers that have turned on is stored in BIN code.
• SD1009 can be cleared by RST F or LEDR instruction. If
another F number has been detected, the clearing of
SD1009 causes the next number to be stored in SD1009.
D9010 SD1010
Error step
Step number at
which operation
error has occurred.
If an operation error occurred during execution of an
application instruction, the number of the step having the
error is stored. The contents of SD1010 are updated upon
every operation error.
Qn(H)
QnPH
D9011 SD1011
Step number at
which operation
error has occurred.
If an operation error occurred during execution of an
application instruction, the number of the step having the
error is stored. Because the step number is stored in
SD1011 when SM1011 turns from off to on, the data in
SD1011 are not updated unless SM1011 is cleared by a
user program
D9014 SD1014
I/O control
mode
I/O control mode
number
The I/O control mode that has been set is returned in any of
the following numbers.
• 0:Both input and output in direct mode
• 1:Input in refresh mode, output in direct mode
• 3:Both input and output in refresh mode
Qn(H)
QnPH
D9015 SD1015 SD203
Operating
status of
CPU
Operating status of
CPU
Operation status of a CPU module is stored as shown
below.
*1 For the High Performance model QCPU and Process
CPU, if the CPU module is running and SM1040 is off,
the CPU module remains in the RUN status even
though it is set to the PAUSE status.
Qn(H)
QnPH
QnU
*1
LCPU
ACPU
special
register
Special
register
after
conversion
Special
register
after
modification
Name Meaning Explanation
Corresponding
CPU
b15 b12 b11 b8 b7 b4 b3 b0
0
1
2
0
1
2
0
1
2
3
0
1
to to to to
CPU module switch
Remote RUN/STOP
by parameter setting
Remains the same in
remote RUN/STOP
mode.
Remote RUN/STOP
by computer
Status in program
Except below
STOP
Instruction execution
RUN
STOP
PAUSE
*1
RUN
STOP
PAUSE
*1
RUN
STOP
PAUSE
*1
STEP RUN