93
Maintenance API Functions
Section 4-7
Return Value
TRUE is returned if a connection has been established successfully with the
specified device. FALSE is returned if a connection has not been opened nor-
mally. Detailed error information can be read with the GetLastError() function.
Reading the Current Communications Cycle Time: SCAN_GetCycleTime()
Application Range
Open status
Function
Gets the present value of the communications cycle time.
Call Format
BOOL SCAN_GetCycleTime(DWORD
Handle
, WORD *
CycleTime
)
Arguments
Return Value
TRUE is returned if the communications cycle time was read successfully
from the specified Board. FALSE is returned if an error occurred. Detailed
error information can be read with the GetLastError() function.
Description
The present value of the communications cycle time will be stored in ms.
Reading the Maximum Communications Cycle Time: SCAN_GetMaxCycleTime()
Application Range
Open status
Function
Gets the maximum value of the communications cycle time.
Call Format
BOOL SCAN_GetMaxCycleTime(DWORD
Handle
, WORD *
CycleTime
)
Arguments
Return Value
TRUE is returned if the maximum communications cycle time was read suc-
cessfully from the specified Board. FALSE is returned if an error occurred.
Detailed error information can be read with the GetLastError() function.
Description
The maximum value after the SCAN-ClearCycleTime() function is executed,
power is turned ON, or the Board is reset is held as the maximum communi-
cations cycle time.
Reading the Minimum Communications Cycle Time: SCAN_GetMinCycleTime()
Application Range
Open status
Function
Gets the minimum value of the communications cycle time.
Call Format
BOOL SCAN_GetMinCycleTime(DWORD
Handle
, WORD *
CycleTime
)
Arguments
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD *
CycleTime
Buffer address for receiving the present value for the
communications cycle time.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD *
CycleTime
Buffer address for receiving the maximum communi-
cations cycle time.
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD *
CycleTime
Buffer address for receiving the minimum communi-
cations cycle time.
Содержание 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 ...