App-186
*1: The relevant modules are as follows:
• The Universal model QCPU whose serial number (first five digits) is "10102" or later.
• Q00UJCPU, Q00UCPU, Q01UCPU
TableApp.4.13 Special register
ACPU
Special
Register
Special
Register
after
Conversion
Special
Register for
Modification
Name Meaning Details
Corresponding
CPU
D9028 SD1028
–
Clock data
Clock data
(day of week)
• The day of the week is stored as BCD code as shown below.
Qn(H)
QnPH
QnU
*1
D9035 SD1035 SD648
Extension file
register
Use block No.
• Stores the block No. of the extension file register being used in
BCD code.
D9036 SD1036
Extension file
registerfor
designation of
device number
Device number when
individual devices
from extension file
register are directly
accessed
• 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.
Qn(H)
QnPH
D9037 SD1037
D9038 SD1038 SD207
LED display
priority ranking
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.
• For details, refer to the applicable CPUs User's Manual and the
ACPU Programming manual (Fundamentals).
D9039 SD1039 SD208 Priorities 5 to 7
D9044 SD1044
For sampling
trace
Step or time during
sampling trace
• Turned on/off with a peripheral device.
When STRA or STRAR instruction is executed, the value stored in
SD1044 is used as the sampling trace condition.
At scanning--------0
At time--------------Time (10 msec unit)
The value is stored into SD1044 in BIN code.
D9049 SD1049
Work area for
SFC
Block number of
extension file register
• Stores the block number of the expansion file register which is
used as the work area for the execution of a SFC program in a
binary value.
• Stores "0" if an empty area of 16K bytes or smaller, which cannot
be expansion file register No. 1, is used or if SM320 is OFF.
D9050 SD1050
SFC program
error number
Error code generated
by SFC program
• Stores error code of errors occurred in the SFC program in BIN
code.
0 : No error
80: SFC program parameter error
81: SFC code error
82: Number of steps of simultaneous execution exceeded
83: Block start error
84: SFC program operation error
D9051 SD1051 Error block
Block number where
error occurred
• Stores the block number in which an error occurred in the SFC
program in BIN code.
In the case of error 83 the starting block number is stored.
D9052 SD1052 Error step
Step number where
error occurred
• Stores the step number, where error code 84 occurred in an SFC
program, in BIN value.
• Stores "0" when error code 80, 81 or 82 occurred.
• Stores the block stating step number when error code 83 occurs.
b15 b12
to
b11 b8
to
b7 b4
to
b3 b0
to
0
1
2
3
4
5
6
H0005
Sunday
Saturday
Friday
Thursday
Wednesday
Tuesday
Monday
Day of the week
Example:
Friday
Always set "0"
Device No. (BIN data)
SD1037,SD1036
0
to
16383
16384
to
to
Extension file register
Block No.1
area
Block No.2
area
SD207
SD208
b15 b12
b11
b8 b7 b4 b3 b0to to to to
Priority 4 Priority 3
Priority 7Priority 6
Priority 2
Priority 5
Priority 1