69
Master Function API Functions
Section 4-4
Arguments
Return Value
TRUE is returned if the communications cycle time was read successfully.
FALSE is returned if an error occurred. Detailed error information can be read
with the GetLastError() function.
Description
This function gets the set value (in ms).
Use SCAN_GetCycleTime(), SCAN_GetMaxCycleTime(), or SCAN_GetMin
CycleTime() to get the real cycle time.
Storing the Communications Cycle Time: SCAN_StoreScanTimeValue()
Application Range
Open status
Function
Saves the set communications cycle time to non-volatile memory.
Call Format
BOOL SCAN_StoreScanTimeValue(DWORD
Handle
)
Arguments
Return Value
TRUE is returned if the communications cycle time was successfully written to
non-volatile memory. FALSE is returned if an error occurred. Detailed error
information can be read with the GetLastError() function.
Description
The value for the communications cycle time saved to non-volatile memory is
enabled when SCAN_LoadScanTimeValue() is used.
Loading the Communications Cycle Time: SCAN_LoadScanTimeValue()
Application Range
Open status
Function
Loads the communications cycle time from non-volatile memory and uses it
as the set value.
Call Format
BOOL SCAN_LoadScanTimeValue(DWORD Handle)
Arguments
Return Value
TRUE is returned if the communications cycle time was successfully loaded
from non-volatile memory. FALSE is returned if an error occurred. Detailed
error information can be read with the GetLastError() function.
Description
If this function is used without executing SCAN_SetScanTimeValue(), the
communications cycle time will be the default (automatic).
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
WORD
ScanTime
Buffer address for receiving the communications cycle
time
Receiving range:
0x0000 (0): Automatic (Always executed at the fast-
est speed.)
0x0001 to 0x01F4 (1 to 500): 1 to 500 ms
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
Type
Name
Contents
DWORD
Handle
Device handle obtained by SCAN_Open()
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 ...