APPENDICES
Appendix 4 Special Registers
431
A
Appendix 4 Special Registers
Special registers are internal registers whose applications are fixed in the Motion CPU. For this reason, it is not possible to
use these registers in Motion SFC programs in the same way that normal registers are used. However, data can be written as
needed in order to control the Motion CPU. Data stored in the special registers are stored as BIN values if no special
designation has been made to the contrary.
The headings in the table that follows have the following meanings.
Item Explanation
No. Indicates the No. of the special register.
Name Indicates the name of the special register.
Data stored Indicates the nature of the special register.
Details Indicates detailed information about the nature of the special register.
Set by (setting timing) Indicates whether the register is set by the system or user, and, if it is set by system, when setting is performed.
<Set by>
• S: Set by system (Motion CPU).
• U: Set by user (Motion SFC program or test operation using MT Developer2).
• U/S: Set by both user and system (Motion CPU).
<Setting timing>
• Main process: Set during main processing (free time processing of the CPU).
• Initial process: Set only during initial processing (when power supply is turned ON, or when reset).
• Status change: Set only when there is a change in status.
• Error: Set when error has occurred.
• Request: Set only when there is a user request (Special relay, etc.).
• Switch change: Set when switch changes.
• Remove card: Set when SD memory card is removed.
• Write: Set when there is writing from a user.
• Operation cycle: Set during each operation cycle of the Motion CPU.
• Low speed operation cycle: Set during each low speed operation cycle of the Motion CPU.
• Task execution: Set when executing Motion SFC event task.
• STOP to RUN: Data is set when the operating status changes from STOP to RUN.
No. Name Data stored Details Set by
(setting
timing)
SD0 Latest self
diagnostics error
code
Latest self diagnostic error
code
• Error codes for errors found by diagnosis are stored as hexadecimal
notation data.
• After confirming the error details, clear SD0 to SD26 by "Error reset
(SM50)" OFF to ON except for the stop error.
S (Error)
SD1 Clock time for latest
self-diagnostic error
occurrence
Clock time for latest self-
diagnostic error occurrence
The year (four digits) that SD0 data was updated is stored as BIN code.
SD2 The month that SD0 data was updated is stored as BIN code.
SD3 The day that SD0 data was updated is stored as BIN code.
SD4 The hour that SD0 data was updated is stored as BIN code.
SD5 The minute that SD0 data was updated is stored as BIN code.
SD6 The second that SD0 data was updated is stored as BIN code.
SD7 The day of the week that SD0 data was updated is stored as BIN code.
(0:Sunday,1:Monday,2:Tuesday,3:Wednesday,4:Thursday,5:Friday,
6:Saturday)