11 TROUBLESHOOTING

MELSEC-Q

Special Register List (Continued)

ACPU

Special

Special

 

 

 

Corresponding

Special

Register after

Register for

Name

Meaning

Details

CPU

Conversion

Conversion

Modification

 

 

 

 

 

 

 

 

 

 

 

 

• When operation error has occurred during execution

 

 

 

 

 

Step number at

of application instruction, the step number, at which

 

 

 

 

 

the error has occurred, is stored in BIN code. Since

 

D9011

SD1011

 

Error step

which operation

 

 

storage into SD1011 is made when SM1011 changes

 

 

 

 

 

error has occurred.

 

 

 

 

 

from off to on, the contents of SD1011 cannot be

 

 

 

 

 

 

 

 

 

 

 

 

renewed unless SM1011 is cleared by user program.

 

 

 

 

 

 

• The I/O control mode set is returned in any of the

 

 

 

 

 

I/O control mode

following numbers:

 

D9014

SD1014

 

I/O control mode

0. Both input and output in direct mode

 

 

 

 

 

number

1. Input in refresh mode, output in direct mode

 

 

 

 

 

 

 

 

 

 

 

 

3. Both input and output in refresh mode

 

 

 

 

 

 

• The operation status of CPU as shown below are

 

 

 

 

 

 

stored in SD203.

 

 

 

 

 

 

B15 to B12 B11 to B8 B7 to B4 B3 to B0

 

 

 

 

 

 

Remote RUN/STOP

 

CPU key switch

 

 

 

 

 

by computer

 

0

RUN

 

 

 

 

 

0

RUN

 

 

 

 

 

 

 

1

STOP

 

 

 

 

 

1

STOP

 

 

 

 

Operating status

Operating status of

 

2

PAUSE 1

D9015

SD1015

SD203

2

PAUSE

1

of CPU

CPU

3

STEP RUN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Remains the same in

 

 

 

 

 

 

 

 

remote RUN/STOP mode.

 

 

 

 

 

Status in program

 

Remote RUN/STOP

 

 

 

 

 

0

Except below

by parameter setting

 

 

 

 

 

0

RUN

 

 

 

 

 

 

STOP

 

 

 

 

 

 

 

 

1

STOP

 

 

 

 

 

1

instruction

 

 

 

 

 

 

 

execution

 

2

PAUSE 1

 

 

 

 

 

1 When the CPU module is in RUN mode and

 

 

 

 

 

 

SM1040 is off, the CPU remains in RUN mode if

 

 

 

 

 

 

changed to PAUSE mode.

 

 

 

 

 

 

 

0: Main program

 

 

 

 

 

 

 

 

 

 

(ROM)

 

 

 

 

 

 

 

 

 

 

1: Main program

 

 

 

 

 

 

 

 

 

 

(RAM)

 

 

 

 

 

 

 

 

 

 

2: Subprogram 1

 

 

 

 

 

 

 

 

 

 

(RAM)

 

 

 

 

 

 

 

 

 

 

3: Subprogram 2

 

 

 

 

 

 

 

 

 

 

(RAM)

 

 

 

 

 

 

 

 

 

 

4: Subprogram 3

 

 

 

 

 

 

 

 

 

 

(RAM)

 

 

 

 

 

 

 

 

 

 

5: Subprogram 1

 

 

 

 

 

 

D9016

SD1016

 

Program

(ROM)

• Indicates which sequence program is run presently.

 

number

6: Subprogram 2

One value of 0 to B is stored in BIN code.

 

 

 

 

 

 

 

(ROM)

 

 

 

 

 

 

 

 

 

 

7: Subprogram 3

 

 

 

 

 

 

 

 

 

 

(ROM)

 

 

 

 

 

 

 

 

 

 

8: Main program

 

 

 

 

 

 

 

 

 

 

(E2PROM)

 

 

 

 

 

 

 

 

 

 

9: Subprogram 1

 

 

 

 

 

 

 

 

 

 

(E2PROM)

 

 

 

 

 

 

 

 

 

 

A: Subprogram 2

 

 

 

 

 

 

 

 

 

 

(E2PROM)

 

 

 

 

 

 

 

 

 

 

B: Subprogram 3

 

 

 

 

 

 

 

 

 

 

(E2PROM)

 

 

 

 

 

 

 

 

 

 

 

• If scan time is smaller than the content of SD520, the

D9017

SD1017

SD520

Scan time

Minimum scan time

value is newly stored at each END. Namely, the

(10 ms units)

minimum value of scan time is stored into SD520 in

 

 

 

 

 

 

 

 

 

BIN code.

 

 

 

 

D9018

SD1018

SD524

Scan time

Scan time

• Scan time is stored in BIN code at each END and

(10 ms units)

always rewritten.

 

 

 

 

 

 

 

 

 

 

 

 

11 - 88

 

 

 

 

 

 

 

 

11 - 88