![background image](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611065.webp)
48
Error Log Functions
Section 3-10
3-10 Error Log Functions
The PCI Board provides an error log function that records and holds error
information. When an error occurs, one record per error is stored in the
Board’s internal RAM error log table, up to a maximum of 64 records. When
the maximum number of 64 records has been stored in the error log table, the
oldest record will be discarded when another error occurs and the new error
data will be recorded in the table.
The following information is recorded in the error log table.
• Error code (Refer to
• Details code (Refer to
• Data and time of error (The computer time and data information is used.)
Saving Error Logs
When an error is detected, the error log and the date and time of the error are
recorded in the Board’s internal RAM.
Serious errors are also recorded in EEPROM. (Refer to
page 120.) Error logs stored in EEPROM are held even if the computer power
is turned OFF or the Board is reset. When the Board is started, the error log
recorded in EEPROM is copied to RAM.
API functions can be used to read the error logs held in RAM. When error logs
are cleared, the error logs held in both RAM and EEPROM are cleared.
Reading and Clearing
Error Logs
The functions listed in the following table are used to read and clear error logs
stored in the Board.
3-11 PC Watchdog Timer Management Function
The DeviceNet PCI Board is equipped with a PC watchdog timer function that
can stop remote I/O communications automatically if the application that con-
trols the Board stops for some reason. While the PC watchdog timer function
is running, remote I/O communications will be stopped automatically if the PC
watchdog timer value is not refreshed from the user application within the set
timeout detection period.
The Board’s PC watchdog timer is refreshed regularly from the computer
(application) to notify the Board that the application is operating normally. The
timeout detection period is 2
×
(the monitoring time + 10 ms).
Use the API functions as outlined in the following flowchart when using the PC
watchdog timer function.
Function
Name
Operation
Page
SCAN_GetErrorLog()
Read Error Log
Reads all of the error records stored in the Board.
SCAN_ClearErrorLog()
Clear Error Log
Clears all of the error records stored in the Board.
Summary of Contents for DeviceNet 3G8F7-DRM21-E
Page 1: ...OPERATION MANUAL Cat No W381 E1 02 3G8F7 DRM21 E DeviceNet PCI Board ...
Page 2: ...3G8F7 DRM21 E DeviceNet PCI Board Operation Manual Revised July 2005 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 29: ...12 Preparation for Operation Section 1 8 ...
Page 67: ...50 PC Watchdog Timer Management Function Section 3 11 ...
Page 115: ...98 Maintenance API Functions Section 4 7 ...
Page 131: ...114 Remote I O Communications Characteristics Section 6 1 ...
Page 145: ...Index 128 ...
Page 147: ...130 Revision History ...