![Omron DeviceNet 3G8F7-DRM21-E Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611084.webp)
67
Master Function API Functions
Section 4-4
FILE_SCAN_DEV
This structure defines the format of the grouped Slave information used when
nodes are registered in the scan list as a group.
This structure is used in the SCAN_SetScanList() function.
Registering Multiple Slaves in the Scan List: SCAN_SetScanlist()
Application Range
Open status
Function
Registers multiple Slaves in the scan list as a group.
Call Format
BOOL SCAN_SetScanlist(DWORD
Handle
, LPCTSTR
FilePath
,)
Arguments
Return Value
TRUE is returned if the scan list was registered successfully. FALSE is
returned if an error occurred. Detailed error information can be read with the
GetLastError() function.
4-4-2
I/O Communications Service API Functions
Starting Remote I/O Communications: SCAN_StartScan()
Application Range
Online status
Function
Starts remote I/O communications.
Call Format
BOOL SCAN_StartScan(DWORD
Handle
, BOOL
ErrStop
)
Arguments
Return Value
TRUE is returned if remote I/O communications started normally in the speci-
fied Board. FALSE is returned if an error occurred, such as the lack of a corre-
sponding event. Detailed error information can be read with the
GetLastError() function.
Description
Performs remote I/O communications with the Slaves registered in the scan
list.
Several seconds are required after this function is called before I/O communi-
cations will actually start.
Scan list operation API Functions must be used to create a scan list before
this function is called.
When TRUE has been specified for the ErrStop variable, remote I/O commu-
nications with all of the Slaves will be stopped if a communications error
occurs during remote I/O communications.
Type
Name
Contents
WORD
DeviceCount
Number of Slaves set
FSCAN_DEV
Device[DEVICE_MAX]
Scan Slave information
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
LPCTSTR
LPCTSTR
Buffer address of the scan list file path
(FILE_SCAN_DEV structure format file)
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
BOOL
ErrStop
Specifies whether to continue or stop remote I/O
when a communications error occurs.
TRUE: Stop after a communications error
FALSE: Continue after a communications error
Содержание 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 ...