92
Maintenance API Functions
Section 4-7
Description
The following table shows the location and meaning of the Slave device status
flags.
Bit 0 is an OR of bits 1 and 10.
Bit 1 is an OR of bits 2 to 8. The details of the verification error are indicated
by bits 2 to 8.
Check that bit 15 is ON before performing I/O processing with Slaves using
the Master function.
Checking Slave Registration: SCAN_IsScanlistSlaveDeviceRegist()
Application Range
Open status
Function
Checks whether or not a Slave is registered in the scan list.
Call Format
BOOL SCAN_IsScanlistSlaveDeviceRegist(DWORD
Handle
, WORD
MacId
)
Arguments
Return Value
TRUE is returned if the specified Slave is registered in the scan list; FALSE is
returned if an error occurred or the Slave is not registered in the scan list.
Detailed error information can be read with the GetLastError() function.
Checking Slave Connection Established: SCAN_IsDeviceConnection()
Application Range
Open status
Function
Checks whether or not a connection has been established with a Slave.
Call Format
BOOL SCAN_IsDeviceConnection(DWORD
Handle
, WORD
MacId
)
Arguments
Bit
Code
Meaning
0
B00
Error occurred
1
B01
Verification error
2
B02
Invalid Slave
3
B03
Vendor ID discrepancy
4
B04
Product type discrepancy
5
B05
Product code discrepancy
6
B06
Unsupported connection
7
B07
I/O size discrepancy
8
B08
Connection path discrepancy
9
---
Not used
10
B10
I/O communications error
11 to 14
---
Not used
15
B15
I/O communications in progress
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Node address to check
Setting range: 0x00 to 0x3F (0 to 63)
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
MacId
Node address for which the connection is to be
checked.
Setting range: 0x00 to 0x3F (0 to 63)
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 ...