![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414573.webp)
9-6
Section
Error Log
555
9-6
Error Log
The error log function registers the error code of any fatal or non-fatal error that
occurs in the PC. The date and time at which the error occurred are registered
along with the error code. Refer to page 553 for error codes.
In CPM1/CPM1A PCs, the error log is stored in DM 1000 through DM 1021.
DM1000
Error log pointer
DM1001
Error log record 0
DM1002
DM1003
DM1019
Error log record 9
DM1020
DM1021
to
Error classification
Error code
00
00
00
00
Leading word
Leading word + 1
Leading word + 2
The location for storing the next error record is shown. (0 to 6)
Error classification: 00: Nonfatal
80: Fatal
Bit 15
8 7
0
Each error log record is configured as follows:
Error Log Storage Methods
The error log storage method is set in the PC Setup (DM 6655). Set any of the
following methods.
1, 2, 3...
1. You can store the most recent 10 error log records and discard older re-
cords. This is achieved by shifting the records as shown below so that the
oldest record (record 0) is lost whenever a new record is generated.
Error log record 6
Error log record 7
Error log record 1
Error log record 2
Lost
New record added
All records shifted
2. You can store only the first 10 error log records, and ignore any subsequent
errors beyond those 10.
3. You can disable the log so that no records are stored.
The default setting is the first method. Refer to
Error Log Settings
on page 21 for
details on the PC Setup for the error log.
Clearing the Error Log
To clear the entire error log, turn ON SR 25214 from a Programming Device. (Af-
ter the error log has been cleared, SR 25214 will turn OFF again automatically.)
In CPM2A/CPM2C PCs, the error log is stored in DM 2000 through DM 2021. Up
to 7 error records can be stored.
DM 2000
Error log pointer
DM 2021
Error log record 1
(3 words used.)
DM 2022
DM 2023
DM 2019
Error log record 7
(3 words used.)
DM 2020
DM 2021
to
Error classification
Error code
Min
Sec
Day
Hour
Leading word
Leading word + 1
Leading word + 2
Error classification: 00: Non-fatal
80: Fatal
Each stored in
2 digits BCD.
15
8 7
0
Each error log record is configured as follows:
Indicates the number of records stored in the log (0 to 7). A 0 indi-
cates no records.
CPM1/CPM1A Error Log
Area
CPM2A/CPM2C Error Log
Area