Error Log - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Error Log

9-6
Error Log
CPM1/CPM1A Error Log
Area
Error log pointer
DM1000
DM1001
Error log record 0
DM1002
DM1003
to
DM1019
Error log record 9
DM1020
DM1021
1, 2, 3...
CPM2A/CPM2C Error Log
Area
Error log pointer
DM 2000
DM 2021
Error log record 1
(3 words used.)
DM 2022
DM 2023
to
DM 2019
Error log record 7
(3 words used.)
DM 2020
DM 2021
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.
The location for storing the next error record is shown. (0 to 6)
Each error log record is configured as follows:
Leading word
Leading word + 1
Leading word + 2
Error Log Storage Methods
The error log storage method is set in the PC Setup (DM 6655). Set any of the
following methods.
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 1
Error log record 2
Error log record 6
Error log record 7
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.
Indicates the number of records stored in the log (0 to 7). A 0 indi-
cates no records.
Each error log record is configured as follows:
15
Leading word
Leading word + 1
Leading word + 2
Bit 15
Error classification
00
00
Error classification: 00: Nonfatal
Lost
All records shifted
New record added
8 7
Error classification
Error code
Min
Sec
Day
Hour
Error classification: 00: Non-fatal
80: Fatal
Section
9-6
8 7
0
Error code
00
00
80: Fatal
0
Each stored in
2 digits BCD.
555

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents