43
Using the Explicit Message Client Function
Section 3-7
Procedure for Using Slave
Function
Use the procedure shown in the following diagram to use API functions when
using the Slave function of the Scanner SDK. Refer to
for details on how to use API functions.
3-7
Using the Explicit Message Client Function
There are two ways to detect response reception when using the explicit mes-
sage client function of the Scanner SDK. Each method uses API functions in
the procedures outlined in the following diagrams. Refer to
for details.
Note
Always execute retries with explicit message communications. Sometimes
messages cannot be received due to the status of the remote node or an error
response is returned.
Open Board
SCAN_Open( );
Register Slave Scan List
SCAN_RegisterSelfSlaveDevice( );
Join Network
SCAN_Online( );
Check status of Slave functions.
SCAN_GetSlaveModeStatus( );
Finished?
Get Slave Input Data
SCAN_SetSlaveInData( );
Get Slave Output Data
SCAN_GetSlaveOutData( );
Stop Slave Function
(Clear Slave Scan List)
SCAN_RemoveSelfSlave( );
Disconnect from Network
SCAN_Offline( );
Close Board
SCAN_Close( );
Refresh I/O Data
SCAN_SlaveIoRefresh( );
Error
processing
Error
Performing I/O communications
Other
(e.g., waiting
for connection
with Master)
No
Yes
Slave data input
Initialization
End processing
(There are several ways to register
scan lists. Refer to
for details.)
Содержание 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 ...