71
Master Function API Functions
Section 4-4
Use SCAN_GetSlaveDevice() or SCAN_GetSlaveDeviceEx() to get Slave
information for Slaves registered on the scan list.
Starting Slave I/O Communications: SCAN_ConnectSlaveDevice()
Application Range
I/O communications execution status
Function
Starts I/O communications with the specified Slave.
Call Format
BOOL SCAN_ConnectSlaveDevice(DWORD
Handle
, WORD
MacId
)
Arguments
Return Value
TRUE is returned if the I/O communications with the specified Slave were
started successfully. FALSE is returned if an error occurred. Detailed error
information can be read with the GetLastError() function.
Description
This function can be used in I/O communications execution status.
During execution of I/O communications, this function clears I/O communica-
tions stop status (withdrawal status) for a specific Slave and starts I/O com-
munications.
Use this function with SCAN_DisconnectSlaveDevice() when replacing Slaves
or to make reservations for expected additional Slaves (when registering to
the scan list but not performing I/O communications).
Stopping Slave I/O Communications: SCAN_DisconnectSlaveDevice()
Application Range
I/O communications execution status
Function
Stops I/O communications with the specified Slave.
Call Format
BOOL SCAN_ConnectSlaveDevice(DWORD
Handle
, WORD
MacId
)
Arguments
Return Value
TRUE is returned if the I/O communications with the specified Slave were
stopped successfully. FALSE is returned if an error occurred. Detailed error
information can be read with the GetLastError() function.
Description
This function can be used in I/O communications execution status.
During execution of I/O communications, this function clears I/O communica-
tions stop status (withdrawal status) for a specific Slave and stops I/O commu-
nications.
Use this function with SCAN_ConnectSlaveDevice() when replacing Slaves or
to make reservations for expected additional Slaves (when registering to the
scan list but not performing I/O communications).
Slaves for which I/O communications were stopped (withdrawn) using this
function will not have verification or communications errors.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Slave’s node address
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Slave’s node address
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 ...