![background image](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611073.webp)
56
Board Management API Functions
Section 4-3
Closed State
All of the Board’s resources are disengaged in this status. Control operations
cannot be performed on the Board in this status.
The Board will be in this status after it is started or reset.
Open State
All of the Board’s resources are engaged in this status. Control operations can
be performed on the Board in this status.
The Board’s “device handle” is determined when the Board is switched to
open status by the SCAN_Open() function. Specify the Board with the device
handle to use the API functions while the Board is open.
Offline State
The Board is open but is not participating in the DeviceNet network.
Online State
The Board is open and participating in the DeviceNet network.
Remote I/O Stopped State
The Board is open and participating in the DeviceNet network but remote I/O
communications are stopped.
Remote I/O Active State
The Board is open, participating in the DeviceNet network, and performing
remote I/O communications.
4-3
Board Management API Functions
4-3-1
Board Service API Functions
Reading the DLL Version: SCAN_GetVersion()
Application Range
Unlimited (Can be executed in closed status.)
Function
Reads the version information for the API (DN 3G8F7 Scanner.DLL) that is
being used.
Call Format
BOOL SCAN_GetVersion(DWORD
*Version
)
Arguments
Return Value
TRUE is returned when the function is completed normally and FALSE is
returned when an error occurs during processing. Detailed error information
can be read with the GetLastError() function.
Description
Use this function when the DLL version needs to be checked.
The DLL version is stored in BCD in the following format:
For example, DLL version 1.13 will be represented as 0x00010013.
Reading the Driver Version: SCAN_GetDriverVersion()
Application Range
Open status
Type
Name
Contents
DWORD*
Version
Buffer address for obtaining version information.
31
16 15
0
Minor version
Major version
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 ...