![Omron DeviceNet 3G8F7-DRM21-E Скачать руководство пользователя страница 53](http://html.mh-extra.com/html/omron/devicenet-3g8f7-drm21-e/devicenet-3g8f7-drm21-e_operation-manual_743611053.webp)
36
Application Development Environments
Section 3-1
3-1
Application Development Environments
Recommended
Development
Environment
Microsoft Visual C++ (Ver. 6.0 or later)
Precautions when Using
Other Development
Environments
Microsoft Visual Basic
• API functions other than explicit messages can be used.
• Each API function must be declared to use the API functions from Visual
Basic. Refer to the Visual Basic manual for details.
Borland C++ Builder
• Create an import library for C++ Builder from the Scanner SDK API func-
tion library (DN3G8F7Scanner.DLL) and use this library.
DN3G8F7Scanner.DLL is installed in the Windows System folder.
• Use the C++ Builder implib.exe program to create the import library. Refer
to the C++ Builder manual for details.
3-2
API Functions
The PCI Board provides the following API functions.
API Functions for
Managing the Board
Board Service API Functions
Board Service API Functions check the Scanner SDK and driver versions,
open/close the Board, and connect/disconnect the Board to/from the network.
The PCI Board must be open and connected to the network to be used for
communications.
PCI Board Interrupt Service API Functions
Interrupt Service API functions detect interrupts from the PCI Board. Two
kinds of interrupts can be detected.
For interrupts to be detected, the interrupt control register must be set for the
Board to send interrupts to the computer. There are two ways the computer
can detect interrupts. Refer to
for detection methods.
Master API Functions
Scan List Operation API Functions
Slave information must be registered in a scan list to use the Master function
to perform I/O communications with Slaves. The Scan List Operation API
functions are used to create scan lists. Refer to
for information on the relationship between a scan list
and the Scan List Operation API functions.
I/O Communications Service API Functions
I/O Communications Service API functions are used to start and stop I/O
communications using the Master function, set the communications cycle
time, obtain real Slave information, etc.
Interrupt
Name
Function
BD_WDT
Board Watchdog Timer
Timeout Interrupt
This interrupt occurs when the Board stops
operation as a result of an error. The error
can be cleared by detecting this interrupt.
SCAN
One-scan (Communica-
tions Cycle) Completed
Interrupt
This interrupt occurs each time one com-
munications cycle is completed during I/O
communications. The latest input data (IN
data) can be retrieved when this interrupt
occurs.
Содержание 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 ...