96
Maintenance API Functions
Section 4-7
Description
Refer to
for details on the error log function such as the
meaning of error codes.
Error logs not saved to non-volatile memory are held only in open status. The
error log is cleared when the Board is closed, the power turned OFF, or the
Board is reset. Error logs saved to non-volatile memory can be read again
even after the Board is re-opened or restarted.
Clearing an Error Log: SCAN_ClearErrorLog()
Application Range
Open status
Function
Clears the error log from the specified Board.
Call Format
BOOL SCAN_ClearErrorLog(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the error log data was successfully cleared from the spec-
ified Board. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Description
Clears the error log stored in non-volatile memory.
4-7-3
PC Watchdog Timer Service API Functions
Setting the PC WDT: SCAN_EnablePCWDTTimer()
Application Range
Open status
Function
Enables or disables the Board’s PC watchdog timer management function.
Call Format
BOOL SCAN_EnablePCWDTTimer(DWORD
Handle
, BOOL
Enable
, WORD
Timer
)
Arguments
Return Value
TRUE is returned if the processing was completed normally. FALSE is
returned if an error occurred. Detailed error information can be read with the
GetLastError() function.
Description
Refer to
3-11 PC Watchdog Timer Management Function
for details on the
PC watchdog timer management function.
Refreshing the PC WDT: SCAN_RefreshPCWDTTimer()
Application Range
Open status
Function
Refreshes the PC watchdog timer’s timer value in the specified Board.
Call Format
BOOL SCAN_RefreshPCWDTTimer(DWORD Handle)
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
BOOL
Enable
PC watchdog timer setting
TRUE: Enabled (PC-WDT is used.)
FALSE: Disabled (PC-WDT is stopped.)
WORD
Timer
Monitoring time setting
0x0 to 0xFFFF (0 to 65535) (Monitoring time = Set
value
×
10 ms)
Содержание 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 ...