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.
Insert disk 1 or disk 2 into your disk drive according to what platform(95/NT) you using. Then clicking Start in the task bar. Enter A:Setup as Fig 1-1 shown Click OK to start the install process. Fig 1-1 install the NAP7000D. NAP7000D User Manual (Version 1.0) ---- 4...
Un-Installation Invoking Control Panel as Fig 1-2 shown. Fig 1-2 Click Add/Rem… Programs icon in Control Panel to invoke Add/Remove Programs Properties. Select NAP7000D to uninstall. NAP7000D User Manual (Version 1.0) ---- 5...
Page 6
Fig 1-3 Uninstallation the NAP7000D. NAP7000D User Manual (Version 1.0) ---- 6...
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.
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...
Page 9
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.
Page 10
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.
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.
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…...
Page 13
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.
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...
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: Analog Input with one channel These are CB-7011/D, CB-7012/D, CB-7013/D and CB-7014/D. Analog Input with eight channels These are CB-7017 and CB-7018.
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...
Page 17
Fig 2-9 shown the state that hasn’t performed searching process. Fig 2-9 NAP7000D User Manual (Version 1.0) ---- 17...
Page 18
Select the status of checksum(Disable or Enable) for your CB-7012D. Notice, the status of checksum must be exact to your physical CB-7012D module device. If you select Enable, you must to enable checksum status for CB-7012D. The NAP7000D User Manual (Version 1.0) ---- 18...
Page 19
Step 6: when Fig 2-11 display, click OK button to accept the setting or click Cancel button to cancel the setting. After OK button is clicked, the main window of NAP7000D display as Fig 2-12 to tell the user these setting step is completed.. NAP7000D User Manual (Version 1.0) ---- 19...
Page 20
Fig 2-12 The main window for NAP7000D when completing a setting. The user can move the mouse point to the checked Conv0. Then press the right button of mouse to retrieve the setting information. And a information window would be toggled on as Fig 2-13 shown.
Page 21
Fig 2-13 Toggle on the information window. NAP7000D User Manual (Version 1.0) ---- 21...
Or just push Select All button to select all eight channels. After check the desire channels then push OK button to complete the channel selection. Or pushing Cancel button to cancel the channel selection. Fig 2-14 The 7017/7018 Channel Selection window. NAP7000D User Manual (Version 1.0) ---- 22...
Page 23
CB-7000 series module is disable. After above six steps, the setting window shown as Fig 2-15. Fig 2-15 After setting the module configuration. Step 7: when Fig 2-15 display, click OK button to accept the setting. NAP7000D User Manual (Version 1.0) ---- 23...
Page 24
And a information window would be toggled on as fig 2-16 shown. Again pressing the right button may toggle off the information window. Fig 2-16 Toggle on the information window for Conv8. NAP7000D User Manual (Version 1.0) ---- 24...
Select the module type as Fig 2-10 shown. In this case, please select 7021. After selecting 7021, then a window titled setting 7021 will pop up as fig 2-17 shown. Fig 2-17 The setting 7021 window. NAP7000D User Manual (Version 1.0) ---- 25...
Page 26
C2 cell would be “R2C3”. Fig 2-19 show setting the DDE link to the Excel application. The value in the A1 cell of sheet1 would be passed to the NAP7000D. The NAP7000D controls the CB-7021 to output the desired voltage.
Page 27
CB-7000 series module device. If you select Enable, you must to enable checksum status for CB-7000 module. The default setting for CB-7000 series module is disable. After above six steps, the setting window shown as Fig 2-21. NAP7000D User Manual (Version 1.0) ---- 27...
In this example, the Conv1 is checked. Step 2: Select the desired module type as Fig 2-10 shown(method 1 or method 2). In this case, please select 7041, 7052 or 7053. In this examples, the 7041 is selected. NAP7000D User Manual (Version 1.0) ---- 28...
Page 29
Enable, you must to enable checksum status for CB-7000 module. The default setting for CB-7000 series module is disable. The Step 4, Step 5 and Step 6 can be skipped if invoking setting Configuration for NAP7000D User Manual (Version 1.0) ---- 29...
Page 30
7041 window with method 2.(please referring Fig 2-10) After above six steps, the setting window shown as Fig 2-23. Fig 2-23 Step 7: Clicking OK button to accept the setting. NAP7000D User Manual (Version 1.0) ---- 30...
And the portion of Digital Output show that there are 13 digital output channel. As the CB-7021, the user can decide the output value with 3 ways. Those are Output Assigned Value, Output ReadBack Value and Output via NAP7000D User Manual (Version 1.0) ---- 31...
Page 32
The Step 4, Step 5 and Step 6 can be skipped if invoking setting Configuration for 7042 window with method 2.(please referring Fig 2-10) Step 7: Clicking OK button to accept the setting. NAP7000D User Manual (Version 1.0) ---- 32...
4 digital input channels. Digital Output show that there are 8 digital output channels. When push Digital Input button in the Digital Input portion. When push one command button among Output Assigned Value, Output Read Back Value and NAP7000D User Manual (Version 1.0) ---- 33...
Page 34
The Step 4, Step 5 and Step 6 can be skipped if invoking setting Configuration for 7044 window with method 2.(please referring Fig 2-10) Step 7: Clicking OK button to accept the setting. NAP7000D User Manual (Version 1.0) ---- 34...
Setting Information will pop up as Fig 2-27 shown. The user can get whole information of all module setting. It is facility utility that understanding the configuration of your remote control system. Fig 2-27. Display DDE Conversation Setting Information window. NAP7000D User Manual (Version 1.0) ---- 35...
After searching the CB-7000 modules. The user can get the searching result by click Display / Search Result menu as fig 2-28 shown. Fig 2-28 After click Search Result menu, a window titled The searching Result will pop up as fig 2-29 shown. Fig 2-29. NAP7000D User Manual (Version 1.0) ---- 36...
.CON extension file name. And retrieved the setting configuration information by open the saved file. The Open and Save menu shown as fig 2-30. Fig 2-30 Open/Save the .con file. NAP7000D User Manual (Version 1.0) ---- 37...
2.15 To Exit the NAP7000D When want to exit NAP7000D, the user can click Exit menu to exit the NAP7000D as shown in Fig 2-31. Fig 2-31. NAP7000D User Manual (Version 1.0) ---- 38...
Working Software: NAP7000D. Function: To demonstrate how to control the CB-7017 by NAP7000D Working Steps: Step 1: Setting the configuration of the CB-7017, and select all channels as Fig 3-1 shown. Then click OK button to accept the channel selection.
Page 40
2: Enter the exact baud rate, module address and checksum according to your CB-7017 configuration(please referring Fig 2-10) as Fig 3-2 shown. Then click the OK button to accept the configuration setting Fig 3-2. Accept the setting CB-7017 configuration. NAP7000D User Manual (Version 1.0) ---- 40...
Page 41
1000 mSec. It mean the period that the CPU perform the NAP7000D function call. Then click Run DDE to activate the DDE hot-link. The main window of NAP7000D as shown in Fig 4-3.
Page 42
In this examples, the input value of channel 0 of CB-7017 is 3.674V, and the input value of channel 4 is 1.518V. Fig 3-4. Step 4: Click Quit command button to quit the DDE running. NAP7000D User Manual (Version 1.0) ---- 42...
Step 4: Activating Excel. Now we need establish DDE link between NAP7000D to Excel. Here, the NAP7000D act as DDE server that publishing the data. And the Excel act as DDE client that receiving the published data. The DDE client has the responsibility that creating the DDE link.
Page 44
NAP7000D. Now selecting a cell of Excel, for example, A1 cell. Then typing =NAP7000D|FORM5!TEXT1 into the cell as Fig 3-5 shown. Then pressing Enter to accept the typing, and the A1 will receive the data coming from NAP7000D as shown in Fig 3-6..
Page 45
Fig 3-6. Passing data from NAP7000D to Excel. NAP7000D User Manual (Version 1.0) ---- 45...
Page 46
=MID(A1,1,7) as Fig 3-7 shown. Fig 3-7 To retrieve channel 0’s value into a cell by mean of MID() function. The retrieved value shown as Fig 3-8 Fig 3-8 The retrieved value displayed in the cell. NAP7000D User Manual (Version 1.0) ---- 46...
Page 47
Fig 3-9 and Fig 3-10 show how to retrieve channel 1’s value and display its value in Excel. Fig 3-9 To retrieve channel 1’s value into a cell by mean of MID() function. Fig 3-10 The retrieved value displayed in the cell. NAP7000D User Manual (Version 1.0) ---- 47...
Step 1: Setting the configuration of the CB-7021 as Fig 3-11 shown. Please adjusting the baud rate and module address according to your CB-7021 module configuration. In this case, the A1 cell of Excel which contain the value passing to NAP7000D. Fig 3-11. NAP7000D User Manual (Version 1.0) ---- 48...
Page 49
Step 2: Activating Excel. Then entering a value in A1 cell, for examples, 1.23 as shown in Fig 3-12. It means the output voltage of CB-7021 will be 1.23V. Fig 3.12. NAP7000D User Manual (Version 1.0) ---- 49...
Page 50
Step 3: Click Run DDE menu to start NAP7000D function call. Step 4: Trying to change the value of A1 cell of Excel, then the value in first conversation channel may vary according to the value in A1 cell of Excel as shown in Fig 3-14.
To demonstrate how to control a remote control network consist of CB-7012, CB-7017, CB-7021 and CB-7044 in different baud rate speed. Working Steps: Step 1: Setting the configurations for these four CB-7000 modules as Fig 3-15 shown. NAP7000D User Manual (Version 1.0) ---- 51...
Page 52
1st Conv: the analog input value of CB-7012D. 2nd Conv: The assigned analog output value of CB-7021. 3rd Conv: The analog input value for each input channel of CB-7017. 4th Conv: The assigned output value of CB-7044. Fig 3-16 NAP7000D User Manual (Version 1.0) ---- 52...
CB-7017, CB-7021 and CB-7044. Here the CB-7021 and CB-7044 control by Excel. Working Steps: Step 1: Setting the configurations for these four CB-7000 modules as Fig 3-17 shown. Please adjusting the baud rate and module address according to your CB- 7000 module configuration. NAP7000D User Manual (Version 1.0) ---- 53...
Page 54
2.34 in A1. It means the analog output voltage of CB-7021 will be 2.34V. Then typing 15 in A2. It means the digital output value of CB-7044 is F[hex]. Please referring Fig 3-18. NAP7000D User Manual (Version 1.0) ---- 54...
Page 55
Step 4: Trying to change the value of A1 and A2 cell of Excel, then the value in second and fourth conversation channel vary according to the value in A1 and A2 cell of Excel as shown in Fig 3-20. NAP7000D User Manual (Version 1.0) ---- 55...
Need help?
Do you have a question about the NAP7000D and is the answer not in the manual?
Questions and answers