![background image](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611081.webp)
64
Master Function API Functions
Section 4-4
Storing the Scan List: SCAN_StoreScanlist()
Application Range
Open status
Function
Saves the scan list information to non-volatile memory.
Call Format
BOOL SCAN_StoreScanlist(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the scan list was successfully written to non-volatile mem-
ory. FALSE is returned if an error occurred. Detailed error information can be
read with the GetLastError() function.
Description
The scan list information saved to non-volatile memory can be read using
SCAN_LoadScanlist() and registered as the scan list.
Loading the Scan List: SCAN_LoadScanlist()
Application Range
Open status
Function
Loads the scan list information from non-volatile memory and registers it as
the scan list.
Call Format
BOOL SCAN_LoadScanlist(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the scan list was successfully loaded from non-volatile
memory. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Description
Use SCAN_StoreScanlist() to save the scan list information to non-volatile
memory.
When scan list information is loaded, the previous scan list is overwritten and
the newly read scan list is enabled.
SCAN_DEV Structure
This structure defines the format of the registration information used when
registering a node (Master) in the scan list. This structure is used in the
SCAN_RegisterSlaveDeviceEx() and SCAN_GetSlaveDeviceEx() functions.
When nodes are registered in the scan list as a group, the FSCAN_DEV and
FILE_SCAN_DEV structures are used.
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
WORD
VendorID
Vendor ID
Scan list disabled mode:0xFFFF (65535)
Specify the vendor ID to be verified when perform-
ing a vender ID verification check.
WORD
ProductType
Product type
Scan list disabled mode:0xFFFF (65535)
Specify the product type to be verified when per-
forming a product type verification check.
WORD
ProductCode
Product code
Scan list disabled mode:0xFFFF (65535)
Specify the product code to be verified when per-
forming a product code verification check
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 ...