
42
Using I/O Communications Functions
Section 3-6
3-6
Using I/O Communications Functions
Procedure for Using
Master Function
Use the procedure shown in the following diagram to use API functions when
using the Master function of the Scanner SDK. Refer to
for details on using API functions.
Note
Several seconds are required after SCAN_StartScan() is called until I/O com-
munications actually start.
Open Board
SCAN_Open( );
Register Scan List
SCAN_RegisterSlaveDevice( );
Join Network
SCAN_Online( );
Start I/O Communications
SCAN_StartScan( );
A
Check Network Status
SCAN_GetScannerStatus( );
A
Get Slave Status
SCAN_GetSlaveDeviceStatus( );
Get Slave Status
SCAN_GetSlaveDeviceStatus( );
Finished?
Output Data to Slave
SCAN_SetOutData( )
Get Slave Data
SCAN_GetInData( )
Stop I/O Communications
SCAN_StopScan( );
Disconnect from Network
SCAN_Offline( );
Close Board
SCAN_Close( );
Refresh I/O data.
SCAN_IoRefresh( );
Error
processing
Error
processing
Error
processing
Error
Normal
Performing I/O communications
Performing I/O communications
Other
Other
Repeat output
for number of
target slaves.
Error
Error
No
Yes
Initialization
Data I/O
p
rocessin
g
End
p
rocessin
g
Repeat for number
of input slaves.
(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 ...