![background image](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611083.webp)
66
Master Function API Functions
Section 4-4
Note
When not specifying a connection path, set the connection path size to 0 and
the connection path to NULL.
Registering a Slave in the Scan List (Detailed): SCAN_RegisterSlaveDeviceEx()
Application Range
Open status
Function
Registers detailed information in the scan list for a Slave.
Call Format
BOOL SCAN_RegisterSlaveDeviceEx(DWORD
Handle
, WORD,
MacId
,
SCAN_DEV *
DeviceInfo
)
Arguments
Return Value
TRUE is returned if the specified Slave was successfully registered in the
scan list. FALSE is returned if an error occurred. Detailed error information
can be read with the GetLastError() function.
Description
Slave information that is already registered in the scan list will be overwritten.
Reading a Scan List Slave (Detaild): SCAN_GetSlaveDeviceEx()
Application Range
Open status
Function
Reads detailed Slave information registered in the scan list.
Call Format
BOOL SCAN_GetSlaveDeviceEx(DWORD
Handle
, WORD,
MacId
, SCAN_
DEV *
DeviceInfo
)
Arguments
Return Value
TRUE is returned if the specified Slave information was successfully read
from the scan list. FALSE is returned if an error occurred. Detailed error infor-
mation can be read with the GetLastError() function.
FSCAN_DEV
Structure
This structure defines the format of the individual Slave information used
when nodes are registered in the scan list as a group.
This structure is used within the FILE_SCAN_DEV structure and in the
SCAN_SetScanList() function.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Node address to register in the scan list.
Setting range: 0x00 to 0x3F (0 to 63)
SCAN_DEV *
Device
Buffer address where detailed Slave information is
stored.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Node address to register Slave information.
Setting range: 0x00 to 0x3F (0 to 63)
SCAN_DEV *
Device
Buffer address where detailed Slave information is
stored.
Type
Name
Contents
WORD
MacId
Node address to register
SCAN_DEV
ScanDevice
Slave information
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 ...