75
Slave Function API Functions
Section 4-5
Registering a Slave Scan List: SCAN_RegisterSelfSlaveDevice()
Application Range
Open status
Function
Registers Slave function information in the Slave scan list.
Call Format
BOOL SCAN_RegisterSelfSlaveDevice(DWORD
Handle
, SELF_DEV*
Devi-
ceInfo
)
Arguments
Return Value
TRUE is returned if the specified Slave information was successfully regis-
tered in the scan list. FALSE is returned if an error occurred. Detailed error
information can be read with the GetLastError() function.
Description
If connection is specified, I/O communications will automatically start if a
request to establish a connection is received from the Master after this func-
tion is completed.
Deleting a Slave Scan List: SCAN_RemoveSelfSlaveDevice()
Application Range
Open status
Function
Deletes the Slave scan list information.
Call Format
BOOL SCAN_RemoveSelfSlaveDevice(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the Slave scan list was successfully deleted. FALSE is
returned if an error occurred. Detailed error information can be read with the
GetLastError() function.
Reading a Slave Scan List: SCAN_GetSelfSlaveDevice()
Application Range
Open status
Function
Reads the Slave scan list information.
Call Format
BOOL SCAN_GetSelfSlaveDevice(DWORD
Handle
, SELF_DEV*
DeviceInfo
)
Arguments
Return Value
TRUE is returned if the Slave scan list was read successfully. FALSE is
returned if an error occurred. Detailed error information can be read with the
GetLastError() function.
Description
The Slave scan list information is stored in the SELF_DEV structure when this
function is completed.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
SELF_DEV*
DeviceInfo
Buffer address where Slave function information is
stored.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
SELF_DEV*
DeviceInfo
Buffer address for receiving the Slave function infor-
mation.
Содержание 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 ...