User data, User's manual – Toshiba T2N User Manual
Page 174
3.User Data
User's manual
161
*1)
The calendar data setting is performed by calendar setting instruction or by calendar
setting operation by programmer. (It is ineffective to write data directly to the special
registers)
*2)
When the data cannot be read correctly due to a calendar LSI fault, these registers
become H00FF.
*3)
Calendar accuracy is
±
30 seconds/month.
*1)
Becomes ON and is so maintained through the occurrence of a cause (it is re-set when
RUN starts-up)
*2)
Re-setting of warning flag executed by user program as required.
Special
Register
Name
Function
SW007
Calendar data (Year)
Last 2 digits of the calendar year (98, 99, 00, 01, ...)
The lower 8 bits are
stored in BCD code
SW008
Calendar data (Month)
Month (01-12)
SW009
Calendar data (Day)
Day (01-31)
SW010
Calendar data (Hour)
Hour (00-23)
SW011
Calendar data (Minute)
Minute (00-59)
SW012
Calendar data (Second)
Second (00-59)
SW013
Calendar data (Day of the week)
Day of the week (Sunday = 00, Monday =
01, ... Saturday = 06)
SW014
Reserved (for future use)
Special Device
Name
Function
S0060
Illegal instruction detection (Down)
ON when illegal instruction detected
S0061
Reserved (for future use)
S0062
S0063
S0064
Boundary error (Warning)
ON when address range exceeded by indirect address designation (operation
continues)
S0065
Address boundary error (Warning)
ON when destination (indirect) error by CALL instruction or JUMP instruction
(operation continues)
S0066
Reserved (for future use)
S0067
S0068
Division error (Warning)
ON when error occurs by division instruction (operation continues)
S0069
BCD data error (Warning)
ON when fault data detected by BCD instruction (operation continues)
S006A
Table operation error (Warning)
ON when table limits exceeded by table operation instruction (operation
continues)
S006B
Encode error (Warning)
ON when error occurs by encode instruction (operation continues)
S006C
Address registration error
(Warning)
ON when destination by CALL instruction or JUMP instruction unregistered
(operation continues)
S006D
Nesting error (Warning)
ON when nesting exceeded by CALL instruction, FOR instruction or MCSn
instruction (operation continues)
S006E
Reserved (for future use)
S006F