![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-prm21/sysmac-cj1w-prm21_operation-manual_743083155.webp)
141
Troubleshooting using the Error Log
Section 7-5
7-5
Troubleshooting using the Error Log
7-5-1
Error Log Overview
The PROFIBUS-DP Master Unit maintains an Error Log, which contains the
reports on specific error events.
Logged Errors
The following errors are recorded in the error log.
• Errors in network operation
• Errors in data transfers
• Error in the CPU Unit
Error Log Records
Each error is recorded as one record in an error log table. Each record con-
tains:
• A main error code (see
)
• A detailed error code (see
)
• A time stamp (from the clock in the CPU Unit)
Error Log Location
When an error is detected, the error codes and time stamp are recorded in an
error log record, which is stored in the error log in volatile memory (i.e. RAM
memory) inside the PROFIBUS-DP Master Unit. Serious errors are also
recorded in non-volatile memory (i.e. Flash ROM).
A total of 80 error records can be logged in volatile memory.
Up to 16 more serious system errors are also copied to non-volatile memory.
Adding Error Records to
the Error Log
When adding a new record to the error log and the error log is full, the latest
error will replace the oldest error in the log. At power up / reset, the non-vola-
tile error log will first be copied to the volatile error log.
The contents of the non-volatile error log will be corrupted if the Unit is inter-
rupted (i.e. power-down / reset), while writing to the error log.
If an error in the non-volatile error log is detected at power up / reset, the Unit:
1.
Will try to repair the contents of the error log.
2.
If the log remains corrupted, the Error Log Storage Error bit in the Unit Sta-
tus Word (CIO Word n+4, Bit 13) will be set. In this case, the error and the
flag can only be cleared through the FINS command ERROR LOG
CLEAR. The start-up procedure will be completed normally.
If, during normal operation, writing errors to the error log fails, the Unit will set
the Error Log Storage Error bit in the Unit Status Word (CIO Word n+4, Bit
13).
Note n = CIO 1500 + (25 x unit number).
Reading the Error Log
The error records in the error log can be read with the FINS command
ERROR LOG READ. The error log can be read from the PLC, via CX-Profi-
bus, and via CX-Programmer.
Clearing the Error Log
Sending the FINS command ERROR LOG CLEAR to the Unit clears both the
non-volatile and the volatile error logs.
(See
and
Summary of Contents for SYSMAC CJ1W-PRM21
Page 2: ...iv...
Page 36: ...22 Basic Operating Procedure Section 1 5...
Page 52: ...38 Defining PROFIBUS DP in the Software Section 2 5...
Page 112: ...98 Allocated CIO Area Words Section 4 2...
Page 122: ...108 Command Response Reference Section 5 2...
Page 160: ...146 Replacing the Unit Section 7 8...
Page 174: ...160 Appendix...
Page 180: ...166 I O Data Conversions Appendix D...
Page 186: ...172 Configurator Error and Warning Messages Appendix E...
Page 187: ...173 Index...
Page 188: ...174 Index...
Page 190: ...176 Revision History...