![background image](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611093.webp)
76
Slave Function API Functions
Section 4-5
Storing a Slave Scan List: SCAN_StoreSlaveScanlist()
Application Range
Open status
Function
Saves the Slave scan list information to non-volatile memory.
Call Format
BOOL SCAN_StoreSlaveScanlist(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the Slave scan list was successfully written to non-volatile
memory. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Description
The Slave scan list information saved to non-volatile memory can be regis-
tered as the Slave scan list by using SCAN_LoadSlaveScanlist().
Loading a Slave Scan List: SCAN_LoadSlaveScanlist()
Application Range
Open status
Function
Loads the Slave scan list information from non-volatile memory and registers
the information as the Slave scan list.
Call Format
BOOL SCAN_LoadSlaveScanlist(DWORD Handle)
Arguments
Return Value
TRUE is returned if the Slave scan list was successfully loaded from non-vola-
tile memory. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Description
Use SCAN_StoreSlaveScanlist() to save the Slave scan list to non-volatile
memory.
4-5-2
I/O Communications Service API Functions
Starting Master I/O Communications: SCAN_ConnectMasterDevice()
Application Range
Online status
Function
Starts I/O communications with the specified Master.
Call Format
BOOL SCAN_ConnectMasterDevice(DWORD
Handle
, WORD
ErrorOutData
)
Arguments
Return Value
TRUE is returned if the I/O communications with the specified Master were
started successfully. FALSE is returned if an error occurred. Detailed error
information can be read with the GetLastError() function.
Description
Starts I/O communications with Masters that have stopped communications.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
ErrorOutData
Holds/clears output data at communications errors
Hold output data: 0
×
FFFF (65535)
Clear: Any other value
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 ...