UTORIAL 2:ONE CB-7017 MODULE AND PASSING DATA TO EXCEL........................................43
UTORIAL 3:ONE CB-7021 MODULE THE OUTPUT VALUE CONTROLLED BY EXCEL ............... 48
UTORIAL 4:ONE CB-7012,CB-7017,CB-7021 AND CB-7044 MODULE................................51
UTORIAL 5:ONE CB-7012,CB-7017,CB-7021 AND CB-7044 MODULE WITH EXCEL ...........53
NAP7000D User Manual (Version 1.0) ---- 2
1 NAP7000D Introduction
The NAP7000D is a hot-link DDE(Dynamic Data Exchange) server. The DDE is a
communication protocol that enables to exchange data between windows application.
The NAP7000 pass the data acquired from CB-7000 module to other application by
means of the hot-link. Or a user can control the CB-7000 module using the
NAP7000D after establishing these hot-link conversation. The NAP7000D is a mouse
driven system that provides the ability of developing CB-7000 application by just
clicking mouse.
1.1 The Contents of NAP7000D package
The NAP7000D package includes one disk and one manual:
NAP7000D User Manual (Version 1.0) ---- 3
1.2 Installation
Before Installing, please comfirm the following requirements:
z Microsoft Windows 95/NT operation system.
z A PC-compatible computer with Pentium chips.
z 16 MB RAM Memory.
z 2 MB hard disk available space.
z Starting Installation
z Insert disk 1 or disk 2 into your disk drive according to what
platform(95/NT) you using.
z Then clicking Start in the task bar.
z Enter A:Setup as Fig 1-1 shown
z Click OK to start the install process.
Fig 1-1 install the NAP7000D.
NAP7000D User Manual (Version 1.0) ---- 4
1.3 Un-Installation
z Invoking Control Panel as Fig 1-2 shown.
Fig 1-2
zClick Add/Rem… Programs icon in Control Panel to invoke Add/Remove
Programs Properties.
z Select NAP7000D to uninstall.
NAP7000D User Manual (Version 1.0) ---- 5
Fig 1-3 Uninstallation the NAP7000D.
NAP7000D User Manual (Version 1.0) ---- 6
1.4 System Description
z NAP7000D
The NAP7000D is a software package that facility user to establish the DDE hotlink conversations between the NAP7000D and other Windows application. After
establishing these conversations, they can exchange information each other. For
example, a user can establish a conversation between NAP7000D to Excel. Then
he can pass the data from NAP7000D to a cell of a sheet in Excel. Further, the
user can analysis these data in this sheet by mean of Excel build in function. In
the following chapter, a tutorial with many examples are introduced that to guide
the user to familiar NAP7000D. With NAP7000D, a user take advantage of the
ability that to control the ICPCOM 7000 series module without having to code
the program.
z I7000.DLL and UART.DLL
The I7000.DLL and UART.DLL are the DLL(Dynamic Linking Library). These two
DLL consists of a set of functions for performing COM port operation. For more
detail information, please refer to NAP7000P User Manual.
z CB-7000 series module
The CB-7000 is a family of network data acquisition and control modules. They
provide A/D, D/A, DI/O, Timer/Counter and other function. For more detail
information, please refer various user manual for CB-7000 series.
NAP7000D User Manual (Version 1.0) ---- 7
2 The Operation of NAP7000D
2.1 Starting NAP7000D
To start the NAP7000D, click the Start in the task bar as Fig 2-1 shown.
Fig 2-1 Double the NAP7000D icon to start it.
NAP7000D User Manual (Version 1.0) ---- 8
When NAP7000D loading, a window pop up that show the startup information about
this software package. By default, the startup window will stay on about 3 second.
The user can disappear it by pressing the right button of the mouse. During the startup
time, the NAP7000D will detect automatically the COM port that the CB-7000
module attach to the computer. The startup information is shown as Fig 2-2.
Fig 2-2 The Startup information for NAP7000D.
NAP7000D User Manual (Version 1.0) ---- 9
After startup information window disappear, the NAP7000D’s main window will be
displayed as Fig 2-3. Also, the detected COM port that CB-7000 module attached to
the computer is displayed in the main window. The user may change the COM port
whenever he demand. For example, when pressing the right button of mouse during
startup time to quit the startup information. The displayed COM port may be wrong.
So the user must select the correct COM port that CB-7000 connected to the computer
before he going on.
Fig 2-3 The NAP7000D main window
NAP7000D User Manual (Version 1.0) ---- 10
2.2 The Menu of NAP7000D’s main
window
The NAP7000D’s main window contain 5 menus. Those are File, COM Port, Search,
Run DDE and Display.
Fig 2-4 The menu of NAP7000D’s main window.
And the File main menu contain three sub-menu. These sub-menu are Open, Save
and Exit.
Fig 2-5 The menu item in File menu.
The COM Port, Search and Run DDE do not contain any sub-menu.
The Display contains two sub-menu, those are Conv Setting Result and Search Result.
Fig 2-6 The menu item in Display menu.
The detail information about these menu described in the following section.
NAP7000D User Manual (Version 1.0) ---- 11
2.3 Determine All CB-7000 Module
Configurations
In order to understand the configuration your remote control network comprised by
CB-7000 module. The user have to remember every module’s configuration
information. The configuration information for a CB-7000 module includes module
type(ie, 7520, 7014 etc), module’s baud rate, the module address in this network. To
record every module’s configuration information would be a annoyed burden when
constructing the network with large number CB-7000 modules. Or it is necessary to
understand every module’s configuration information when adding a module into the
original network in order to avoid conflict. The NAP7000D facilitate the booking by
performing the search process by clicking Search menu in the main window. After
performing Search, a window titled To Find Out CB-7000 Module… will display, as
fig 2-7 shown. It is strongly recommended to perform search process firstly to easy
the setting configuration for CB-7000 module.
NAP7000D User Manual (Version 1.0) ---- 12
Fig 2-7 The search window of NAP7000D.
Some information is shown to indicate that the searching status. Initially, the search
range for module address is from 0 to FF[hex]. The default COM port is the attached
COM port detected in startup time as fig 2-3 shown. And the baud rate may be choose
among 115200, 57600, 38400, 19200, 9600, 4800, 2400. Please refer to sec 2-4 to
choose the COM Port and baud rate for searching process. During the search
processing, user can quit in any time by click the Stop or Exit button. And the
searching result display in a window that represent the found module. All the
configuration information for every CB-7000 module will be displayed. It is useful to
debug the remote control network. And when establishing the hot-link conversation.
NAP7000D User Manual (Version 1.0) ---- 13
2.4 Choose the COM Port and
Baud Rate for Search
Please following these steps to choose the COM port and baud rate that determine the
searching range.
Fig 2-8 Setting the COM Port and Baud Rates.
NAP7000D User Manual (Version 1.0) ---- 14
2.5 Control CB-7000 module with
NAP7000D
Basically, the NAP7000D divided the CB-7000 series module into six catalogues
according to its function. These six catalogues are listed as follows:
z Analog Input with one channel
These are CB-7011/D, CB-7012/D, CB-7013/D and CB-7014/D.
z Analog Input with eight channels
These are CB-7017 and CB-7018.
z Analog Output with one channel
These is CB-7021.
z Digital Input Only
These are CB-7041, CB-7052 and CB-7053.
z Digital Output Only
These are CB-7042, CB-7043 and CB-7067.
z Digital Input and Digital Output Both
These are CB-7044, CB-7050 and CB-7060.
The setting configuration step is different for setting CB-7000 in these six catalogues.
The setting configuration step will be introduced in following content.
Step1: Check a ConvN(here N means 0 to 31) to start the setting CB-7000 module
configuration. In this example, we check Conv0 for demos purpose as shown in fig 2-
9. A user can check any ConvN to start its module configuration setting. After
checked, a window titled setting CB-7000 Module Configuration will pop up. We
have to set the module type, baud rate, module address and checksum in this window
for this DDE conversation working properly.
Fig 2-9 Check a ConvN to start module configuration setting.
NAP7000D User Manual (Version 1.0) ---- 16
Fig 2-9 shown the state that hasn’t performed searching process.
Fig 2-9
NAP7000D User Manual (Version 1.0) ---- 17
Loading...
+ 39 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.