Mitsubishi Electric melsec q00ujcpu User Manual page 533

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

Special
ACPU
Special
Register
Special
Register for
after
Register
Modification
Conversion
D9028
SD1028
D9035
SD1035
SD648
D9036
SD1036
D9037
SD1037
D9038
SD1038
SD207
D9039
SD1039
SD208
D9044
SD1044
D9049
SD1049
D9050
SD1050
D9051
SD1051
D9052
SD1052
*1: The relevant modules are as follows:
• The Universal model QCPU whose serial number (first five digits) is "10102" or later.
• Q00UJCPU, Q00UCPU, Q01UCPU
12 - 67
Table12.28 Special register
Name
Meaning
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
Priorities 1 to 4
LED display
priority ranking
Priorities 5 to 7
For sampling
Step or time during
trace
sampling trace
Work area for
Block number of
SFC
extension file register
SFC program
Error code generated
error number
by SFC program
Block number where
Error block
error occurred
Step number where
Error step
error occurred
Details
• The day of the week is stored as BCD code as shown below.
b15
to
b12
b11
to
b8
b7
to
b4
b3
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)
• 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.
b12 b11
b15
to
to
b8 b7
SD207
Priority 4
Priority 3
Priority 2
Priority 7
Priority 6
SD208
• For details, refer to the applicable CPUs User's Manual and the
ACPU Programming manual (Fundamentals).
• 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.
• 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.
• 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
• 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.
• 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.
Corresponding
CPU
to
b0
Example:
Friday
H0005
Day of the week
Qn(H)
0
Sunday
QnPH
1
Monday
QnU
2
Tuesday
3
Wednesday
4
Thursday
5
Friday
6
Saturday
Extension file register
0
Block No.1
to
area
16383
16384
Block No.2
area
to
to
to
b4 b3
to
b0
Priority 1
Priority 5
Qn(H)
QnPH
*1

Advertisement

Table of Contents
loading

Table of Contents