11 TROUBLESHOOTING

MELSEC-Q

Special Register List (Continued)

ACPU

Special

Special

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Corresponding

Special

Register after

Register for

Name

Meaning

 

 

 

 

 

Details

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CPU

Conversion

Conversion

Modification

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Maximum scan

• If scan time is larger than the content of SD526, the

 

D9019

SD1019

SD526

Scan time

value is newly stored at each END. Namely, the

 

time (10 ms units)

maximum value of scan time is stored into SD526 in

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BIN code.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Sets the interval between consecutive program starts

 

 

 

 

 

 

 

Constant scan time

in multiples of 10 ms.

 

 

 

 

 

 

 

 

 

 

D9020

SD1020

 

 

 

Constant scan

(User sets in 10 ms

0:

 

No setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

units)

1 to 200: Set. Program is executed at intervals of

 

 

 

 

 

 

 

 

 

 

(set value) 10 ms.

 

 

 

 

 

 

D9021

SD1021

 

 

 

Scan time

Scan time

• Scan time is stored and updated in BIN code after

 

 

 

 

(1 ms units)

every END.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 second

Count in units of

• When the PC CPU starts running, it starts counting 1

 

D9022

SD1022

SD412

every second.

 

 

 

 

 

 

 

 

 

 

 

 

counter

1sec.

• Count repeats changing from 0 to 32767 to -32768 to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Year (lower 2 digits) and month are stored into

 

 

 

 

 

 

 

 

SD1025 in BCD code as shown below.

 

 

 

 

D9025

SD1025

 

 

 

Clock data

Clock data

B15 to

B12 B11

to

B8 B7

to

B4 B3

to

 

B0

Example:

 

 

 

 

(year, month)

 

 

 

 

 

 

 

 

 

 

 

1987, July

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H8707

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year

 

 

 

 

Month

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Day and hour are stored into SD1026 in BCD code as

 

 

 

 

 

 

 

Clock data

shown below.

 

 

 

 

 

 

 

 

 

 

 

 

D9026

SD1026

 

 

 

Clock data

B15 to

B12 B11

to

B8 B7

to

B4 B3

to

B0

Example

 

 

 

 

(day, hour)

 

 

 

 

 

 

 

 

 

 

 

31th, 10 o'clock

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H3110

 

 

 

 

 

 

 

 

 

Day

 

 

 

 

Hour

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Minute and second are stored into SD1027 in BCD

 

 

 

 

 

 

 

 

code as shown below.

 

 

 

 

 

 

 

 

 

 

D9027

SD1027

 

 

 

Clock data

Clock data

B15 to

B12 B11

to

B8 B7

to

B4 B3

to

 

B0

Example:

 

 

 

 

(minute, second)

 

 

 

 

 

 

 

 

 

 

 

35 minutes,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

48 seconds

 

 

 

 

 

 

 

 

 

Minute

 

 

 

 

Second

 

 

H3548

 

 

 

 

 

 

 

 

• Day of week is stored into SD1028 in BCD code as

 

 

 

 

 

 

 

 

shown below.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B15 to

B12 B11

to

B8 B7

to

B4 B3

to

 

B0

Example:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Friday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H0005

 

D9028

SD1028

 

 

 

Clock data

Clock data

 

0 must be set.

 

 

 

 

 

Day of the week

 

 

 

 

 

 

 

 

 

 

 

 

 

0

Sunday

 

 

 

 

(day of week)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Monday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

Tuesday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

Wednesday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

Thursday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

Friday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

Saturday

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D9035

SD1035

SD648

Extension file

Use block No.

• Stores the block No. of the extension file register

 

register

being used in BCD code.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Designate the device number for the extension file

 

 

 

 

 

 

 

 

register for direct read and write in 2 words at SD1036

 

 

 

 

 

 

 

 

and SD1037 in BIN data.

 

 

 

 

 

 

 

 

 

D9036

SD1036

 

 

 

 

 

Use consecutive numbers beginning with R0 of block

 

 

 

 

 

Device number

No. 1 to designate device numbers.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Extension file

 

 

 

 

 

 

 

 

Exetension file register

 

 

 

 

 

 

when individual

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

registerfor

devices from

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to

 

Block No.1 area

 

 

 

 

 

 

 

 

designation of

extension file

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16383

 

 

 

 

 

 

 

 

 

 

 

device number

register are directly

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16384

 

 

 

 

 

 

 

 

 

 

 

 

accessed

 

 

 

 

 

 

 

Block No.2 area

 

 

 

 

 

 

 

 

 

SD1036,SD1037

 

 

 

 

 

to

 

 

 

 

D9037

SD1037

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Device No. (BIN data)

 

 

 

 

to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D9038

SD1038

SD207

 

Priorities 1 to 4

• Sets priority of ERROR LEDs which illuminate (or

 

 

 

 

 

 

 

 

flicker) to indicate errors with error code numbers.

 

 

 

 

 

 

 

 

• Configuration of the priority setting areas is as shown

 

 

 

 

 

 

 

 

below.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LED display

 

SD207

B15 to

B12 B11

to

B8 B7 to

 

B4 B3 to B0

 

D9039

SD1039

SD208

priority ranking

Priorities 5 to 7

Priority 4

 

Priority 3

Priority 2

Priority 1

 

 

 

 

 

 

 

 

 

SD208

 

 

 

Priority 7

Priority 6

Priority 5

 

 

 

 

 

 

 

 

• For details, refer to the applicable CPUs User’s

 

 

 

 

 

 

 

 

Manual and the ACPU Programming manual

 

 

 

 

 

 

 

 

(Fundamentals).

 

 

 

 

 

 

 

 

 

 

 

 

11 - 89

11 - 89