Mitsubishi Q2ACPU User Manual page 494

Qna series melsec
Table of Contents

Advertisement

APPENDICES
Special
ACPU
Special
Register
Special
Register for
after
Register
Modification
Conversion
D9020
SD1020
D9021
SD1021
D9022
SD1022
SD412
D9025
SD1025
D9026
SD1026
D9027
SD1027
D9028
SD1028
D9035
SD1035
SD648
D9036
SD1036
D9037
SD1037
Table App. 3.11. Special register
Name
Meaning
Constant scan time
Constant scan
(User sets in 10 ms
units)
Scan time
Scan time
(1 ms units)
1 second
Count in units of 1s.
counter
Clock data
Clock data
(year, month)
Clock data
Clock data
(day, hour)
Clock data
Clock data
(minute, second)
Clock data
Clock data
(day of week)
Extension file
Use block No.
register
Device number when
Extension file
individual devices
registerfor
from extension file
designation of
register are directly
device number
accessed
• Sets the interval between consecutive program starts in multiples
of 10 ms.
0
: No setting
1 to 200 : Set. Program is executed at intervals of (set
value) 10 ms.
• At every END, the scan time is stored in BIN code and always
rewritten.
• When the PC CPU starts running, it starts counting 1 every second.
• It starts counting up from 0 to 32767, then down to -32768 and then
again up to 0. Counting repeats this routine.
• The year (last two digits) and month are stored as BCD code as
shown below.
b15
to
b12
b11
to
b8
b7
Year
• The day and hour are stored as BCD code as shown below.
b15
to
b12
b11
to
b8
b7
Day
• The minute and second are stored as BCD code as shown below.
b15
to
b12
b11
to
b8
b7
Minute
• The day of the week is stored as BCD code as shown below.
b15
to
b12
b11
to
b8
b7
Always set "0".
• Stores the block No. of the extension file 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.
Use consecutive numbers beginning with R0 of block No. 1 to
designate device numbers.
SD1037,SD1036
Device No. (BIN data)
App - 97
Details
Example:
to
b4
b3
to
b0
1987, July
H8707
Month
Example:
to
b4
b3
to
b0
31st, 10 a.m.
H3110
Hour
Example:
to
b4
b3
to
b0
35 min, 48 sec.
H3548
Second
to
b4
b3
to
b0
Example:
Friday
H0005
Day of the week
0
Sunday
Monday
1
2
Tuesday
3
Wednesday
4
Thursday
5
Friday
6
Saturday
Extension file register
0
Block No.1
to
area
16383
16384
Block No.2
to
area
to
Corresponding
CPU
QnA
QnA
QnA
QnA
QnA
QnA
QnA
QnA
QnA
QnA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents