504
Error Log
Section 8-6
Note
** is 01 to 99 or 9F.
8-6
Error Log
The error log 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 501 for error codes.
Error Log Area
The error log is stored in DM 6569 through DM 6599 as shown below.
Error records will be stored even if pin 1 on the DIP switch on the CPU Unit is
turned ON to protect DM 6144 to DM 6655.
For details about error codes refer to
8-5 Operating Errors
.
If the settings in PC Setup (DM 6655, bits 00 to 03) are set to disable saving
records to the error history (2 to F Hex), DM 6569 to DM 6599 can be used as
general-purpose read-only DM words.
Error Log Storage
Methods
The error log storage method is set in the PC Setup (DM 6655, bits 00 to 03).
Set any of the following methods.
1.
0 Hex: You can store the most recent 10 error log records and discard older
records. 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.
2.
1 Hex: You can store only the first 10 error log records, and ignore any sub-
sequent errors beyond those 10.
DM6569
Error log pointer
DM6570
Error log record 1
(3 words used.)
DM6571
DM6572
DM6597
Error log record A
(3 words used.)
DM6598
DM6599
to
Error classification
Error code
Min
Sec
Day
Hour
Leading word
Leading word + 1
Leading word + 2
Error classification: 00 Hex: Nonfatal
80 Hex: Fatal
Each stored in
2 digits BCD.
15
8 7
0
Each error log record contains 3 words as follows:
Shows the number of error records (0 to 7) stored in the error log.
"0" means that there are no records stored.
Error log record 6
Error log record 7
Error log record 1
Error log record 2
Oldest record lost
New record added
All records shifted
Error log record 9
Error log record A
Error log record 1
Error log record 2
No changes after 10 records stored
Error generated
Error ignored