11 - 88 11 - 88
MELSEC-Q
11 TROUBLESHOOTING
Special Register List (Continued)
ACPU
Special
Conversion
Special
Register after
Conversion
Special
Register for
Modification
Name Meaning Details
Corresponding
CPU
D9011 SD1011 Error step
Step number at
which operation
error has occurred.
• When operation error has occurred during execution
of application instruction, the step number, at which
the error has occurred, is stored in BIN code. Since
storage into SD1011 is made when SM1011 changes
from off to on, the contents of SD1011 cannot be
renewed unless SM1011 is cleared by user program.
D9014 SD1014 I/O control mode
I/O control mode
number
• The I/O control mode 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
D9015 SD1015 SD203
Operating status
of CPU
Operating status of
CPU
• The operation status of CPU as shown below are
stored in SD203.
CPU key switch
Remains the same in
remote RUN/STOP mode.
0
RUN
1
STOP
2
3
STEP RUN
Remote RUN/STOP
by parameter setting
PAUSE 1
Remote RUN/STOP
by computer
instruction
execution
STOP
Status in program
Except below
B15 B12 B11
B8 B7
B4 B3 B0
0
RUN
1
STOP
2
PAUSE 1
0
RUN
1
STOP
2
PAUSE 1
0
1
to to to to
1 When the CPU module is in RUN mode and
SM1040 is off, the CPU remains in RUN mode if
changed to PAUSE mode.
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.
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)
• Scan time is stored in BIN code at each END and
always rewritten.