Omron CJ1W-EIP21 用户手册

下载
页码 464
364
Error Log Function
Section 14-4
14-4 Error Log Function
Errors detected by the EtherNet/IP Unit or built-in EtherNet/IP port are stored
in the error log along with the date and time of their occurrence. The error log
can be read and cleared from the Network Configurator.
Some error log records are cleared when the CPU Unit’s power goes OFF,
and other records are not cleared.
14-4-1 Error Log Data Specifications
Each error is recorded as one record in the error log. 
Structure of Each Record
14-4-2 Error Log Registration
Error Log Storage Area
When an error occurs, information on the error and the time stamp are stored
in the Unit’s internal RAM as an error log record. Serious errors are recorded
in non-volatile EEPROM as well as RAM. The time read from the CPU Unit
during cyclic servicing is used for the time stamp.
The error log records stored in EEPROM are copied to RAM when the Unit
starts operating, so these records are retained even when the Unit’s power is
turned OFF or the Unit is restarted.
When the error log is read, the error log records in RAM are read. When the
error log is cleared, the error log records in both RAM and EEPROM are
erased.
Error Log Overflows
The error log can record up to 64 records. If another error occurs when the log
is full, the oldest record will be erased to make room for the new error record.
Power Interruptions when 
Saving to EEPROM
If the power supply is interrupted or the Unit is restarted while the error log is
being written to EEPROM, the error log may be corrupted. When the Unit
starts, it performs a checksum test on the error log data read from EEPROM
to detect corrupted data.
14-4-3 FINS Commands for Error Logs
The following FINS commands can be sent to the EtherNet/IP Unit or built-in
EtherNet/IP port to read or clear the error log.
Item
Specifications
Record length
10 bytes/record
Number of records
64 records max.
Data type
Binary (time information: BCD)
Bit 15
Bit 00
Error code
Detail code
Minutes
Seconds
Day of month
Hour
Year
Month
Command code
Function name
MRC
SRC
21
02
ERROR LOG READ
03
ERROR LOG CLEAR