59
Board Management API Functions
Section 4-3
• Send timeout
A network error may occur if the other nodes in the network have a different
baud rate setting.
When connecting to slaves with an automatic baud rate recognition function, a
transmission timeout may occur. If this error occurs, perform SCAN_Online()
retry processing.
Leaving the Network (Offline): SCAN_Offline()
Application Range
Online status
Function
Removes the specified DeviceNet PCI Board from the network and puts it in
offline status.
Call Format
BOOL SCAN_Offline(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the specified Board was successfully switched to offline
status. FALSE is returned if an error occurred. Detailed error information can
be read with the GetLastError() function.
Resetting the Board: SCAN_Reset()
Application Range
Open status
Function
Resets the specified DeviceNet PCI Board.
Call Format
BOOL SCAN_Reset(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the processing was completed properly. FALSE is
returned if an error occurred. Detailed error information can be read with the
GetLastError() function.
Description
When this function is executed the Board will be reset and all of the informa-
tion that has been set will be cleared. It will be necessary to redo all of the
procedures that were executed since the Board was opened.
The TRUE return value is returned when initialization of the Board is com-
pleted, so other functions can be executed immediately after TRUE is
returned.
If remote I/O functions are being used and the Board is communicating with
other nodes as a client, a communications timeout will occur at the remote
node and the NS indicator will flash red when the Board is reset.
4-3-2
PC Board Interrupt Service API Functions
Reading the Interrupt Control Register: SCAN_GetIrqControl()
Application Range
Open status
Function
Reads the value of the interrupt control register that determines whether or
not the computer is notified of interrupts that occur in the specified DeviceNet
PCI Board.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
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 ...