120
Error Log Function
Section 7-3
The error log data can be read from the Board with the SCAN_GetErrorLog()
function. (See page 95 for details.) The error log can be cleared with the
SCAN_ClearErrorLog() function. (See page 96 for details.)
Note
1.
Important error data in the error log is saved to non-volatile memory. Error
data not saved to non-volatile memory is held only while the Board is open.
All error data not saved to non-volatile memory is cleared when the Board
is closed, the power turned OFF, or the Board reset.
2.
Error data saved to non-volatile memory can be read once the Board is
opened or started again.
3.
Error logs saved to non-volatile memory can also be read with the Scanner
Error History Viewer utility that is included with the Board’s software.
Error Log Data
Each error log record has the following structure. The Board’s error log can
store up to 64 error records. If an error occurs when the error log is full, the
oldest record is erased to make room for the new record.
Note
The error log data is defined in the ERROR_INFO structure. (See page 95 for
details.)
Error Code Table
The following table shows the error codes that can be recorded by the error
log function and the corresponding errors. Refer to
for details on error processing.
Variable name
Data type
Contents (BCD)
ErrCode
WORD
Error code
DetailCode
WORD
Detail code
Second
BYTE
Second when error occurred
Minute
BYTE
Minute when error occurred
Hour
BYTE
Hour when error occurred
Day
BYTE
Day when error occurred
Month
BYTE
Month when error occurred
Year
BYTE
Year when error occurred
Error
code
(Hex)
Error
Detailed information
EEPROM
storage
1
st
byte
(Offset = 0002h)
2
nd
byte
(Offset = 0003h)
0001
PC watchdog timer error
A timeout occurred in the PC_WDT moni-
toring function.
00 Hex
00 Hex
Yes
0101
Can’t send response message when offline. 80 Hex
Bits 0 to 5:
Client device MAC ID
Bit 6: OFF
Bit 7: ON
No
0106
Can’t send response message because
MAC ID duplication error occurred.
80 Hex
Bits 0 to 5:
Client device MAC ID
Bit 6: OFF
Bit 7: ON
No
0107
Response message transmission failed
because connection is not established yet.
80 Hex
Bits 0 to 5:
Client device MAC ID
Bit 6: OFF
Bit 7: ON
No
0109
Destination node’s buffer full
80 Hex
Bits 0 to 5:
Client device MAC ID
Bit 6: OFF
Bit 7: ON
No
Содержание DeviceNet 3G8F7-DRM21-E
Страница 1: ...OPERATION MANUAL Cat No W381 E1 02 3G8F7 DRM21 E DeviceNet PCI Board ...
Страница 2: ...3G8F7 DRM21 E DeviceNet PCI Board Operation Manual Revised July 2005 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 29: ...12 Preparation for Operation Section 1 8 ...
Страница 67: ...50 PC Watchdog Timer Management Function Section 3 11 ...
Страница 115: ...98 Maintenance API Functions Section 4 7 ...
Страница 131: ...114 Remote I O Communications Characteristics Section 6 1 ...
Страница 145: ...Index 128 ...
Страница 147: ...130 Revision History ...