B&B Electronics I-7060 Quick Start Guide

Getting Started
for I-7000 Series Modules
Getting Started
For I-7000 Series Modules
Warranty
All products manufactured by ICP DAS are warranted against defective materials
for a period of one year from the date of delivery to the original purchaser.
ICP DAS assumes no liability for damage con sequent to the use of this produ ct. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, ICP DAS assumes no responsibility for its use, or for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright 1999 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their
respective companies.
License
The user may not reproduce, transfer or distribute this manual, or any copy, in
whole or in part.
Date: Jan-08, 2002 Version 1.02 page: 1
Getting Started
for I-7000 Series Modules
Table of Contents
1 Connecting Modules......................................................................................................3
1.1 Connecting the first module .....................................................................................3
1.2 Connecting the second module................................................................................6
2 7000 Utility User’s Manual...........................................................................................10
2.1 Introduction to the 7000 Utility................................................................................10
2.2 Installing the 7000 Utility........................................................................................11
2.3 Uninstalling the 7000 Utility....................................................................................12
2.4 Starting the 7000 Utility..........................................................................................14
2.5 Operating the 7000 Utility.......................................................................................16
2.5.1 Main Window of the 7000 Utility............................................................ 16
2.5.2 Stopping Search.................................................................................... 16
2.5.3 Assigning COM Port, baud rate and checksum setting for Searching... 17
2.5.4 Invoking the Module Configuration Settings.......................................... 18
2.5.5 Testing for all found modules................................................................ 20
2.5.6 Command Testing for a Module............................................................ 21
2.5.7 .MAP File Operation.............................................................................. 23
2.6 Changing Baud Rate and Checksum.....................................................................24
2.7 Exiting the 7000 Utility............................................................................................25
3 NAP7000P...................................................................................................................26
3.1 Writing your first NAP7000P program....................................................................27
4 NAP7000X...................................................................................................................33
4.1 Writing your first NAP7000X program....................................................................34
5 Dual Watchdog ............................................................................................................37
5.1 Operating Principle ................................................................................................37
5.2 Host Watchdog ......................................................................................................38
5.3 Module Watchdog..................................................................................................41
5.3.1 Does the module reset very frequently?................................................ 43
5.4 Comparison of Host Watchdog and Module Watchdog..........................................44
5.5 Functions and Demo Programs .............................................................................45
5.5.1 Descriptions of Watchdog Demo........................................................... 46
6 FAQ .............................................................................................................................52
6.1 7000 FAQ...............................................................................................................52
6.2 MISC FAQ..............................................................................................................54
7 Reporting Problems.....................................................................................................56
Date: Jan-08, 2002 Version 1.02 page: 2
Getting Started
for I-7000 Series Modules
1 Connecting Modules
1.1 Connecting the first module
Figure 1-1-1. Connecting the first module
Date: Jan-08, 2002 Version 1.02 page: 3
Getting Started
for I-7000 Series Modules
Connect the first module as in Figure 1-1-1. (If needed, replace the I-7012
module with your own and follow the diagram.) Please do not connect more
than one module at a time.
Install the 7000 Utility software from the included CD. Please refer to
chapter 2 of “The 7000 Utility User’s Manual”.
Run the 7000 Utility software to search for the user’s modules.
It will automatically start searching when users run the 7000 Utility. Please
click the icon
to stop it. Refer to Figure 1-1-2.
Figure 1-1-2. Stop searching.
Click the menu item “COM Port” to select the COM port number you are connecting to. Select the baud rate “960 0” and click the “OK” button. Refer to Figure 1-1-3.
Figure 1-1-3. Selecting the COM port and Baud Rate.
Date: Jan-08, 2002 Version 1.02 page: 4
Getting Started
for I-7000 Series Modules
After reconfiguring, please click the icon to search again. See
Figure 1-1-4.
Figure 1-1-4. Search the modules.
Every module has the following default factory settings:
Address = 0x01
Baud rate = 9600
Checksum = disabled
See Figure 1-1-5. If the 7000 Utility lists the module-ID “xxxx” in the information window, congratulations! You have successfully connected the first module and communicated with it. (Please do not connect more than one
module at a time.)
Figure 1-1-5. Showing the default settings of the module.
Date: Jan-08, 2002 Version 1.02 page: 5
Getting Started
for I-7000 Series Modules
1.2 Connecting the second module
If you have two modules in the same RS-485 network and each module has the same address and baud rate; they will conflict with each other.
Due to the factory settings, each module has the same address and baud rate (address=0x01, baud rate=9600). Thus, users have to change the configuration settings for each module to prevent further conflict. To change the configuration on a specified module, double click on the module-ID that is listed in the information window of the 7000 Utility. Refer to figure 1-1-5 and 2-6-4. To add a second module, change the address of the first module to 0x02 and then click on the “Setting” button. Refer to figure 1-2-1.
Figure 1-2-1. Changing the configuration settings.
The configuration settings of the first module:
Address: 0x02 Baud rate: 9600 Checksum: disabled The configuration settings of the second module: (default factory settings)
Address: 0x01 Baud rate: 9600 Checksum: disabled
Now, users can connect the second module. See Figure 1-2-2.
Date: Jan-08, 2002 Version 1.02 page: 6
Getting Started
for I-7000 Series Modules
Figure 1-2-2. Connecting a second module
Date: Jan-08, 2002 Version 1.02 page: 7
Getting Started
for I-7000 Series Modules
Search for the connected module(s) again. Note the two modules at address 0x01 and 0x02 that will be found. See Figure 1-2-3.
Figure 1-2-3. Found two modules at 0x01 and 0x02.
To connect more modules in the same RS-485 network, change the address to prevent further conflict between modules. For example: change the address 0x01 of the second module to address 0x03. Now the configurations of the two modules are as follows:
Module 1: Address:0x02 Baud rate: 9600 Checksum: disabled
Module 2: Address:0x03 Baud rate: 9600 Checksum: disabled
Then connect the third module as in Figure 1-2-4. The configuration of third module contains the following pre-sets:
Module 3: Address:0x01 Baud rate: 9600 Checksum: disabled
Users can connect several modules one-by-one with the above steps. The important thing is that the modules cannot have the same address and baud
rate currently used in the same RS-485 network.
Date: Jan-08, 2002 Version 1.02 page: 8
Getting Started
for I-7000 Series Modules
Figure 1-2-4. Connecting multiple modules.
Date: Jan-08, 2002 Version 1.02 page: 9
Getting Started
for I-7000 Series Modules
2 7000 Utility User’s Manual
1.Introduction to the 7000 Utility
2.Installating the 7000 Utility
3.Uninstalling the 7000 Utility
4.Starting the 7000 Utility
5.Operating the 7000 Utility
6.Changing baud rate and checksum
7.Exiting the 7000 Utility
2.1 Introduction to the 7000 Utility
The 7000 Utility is a software utility for the I-7000 series modules. It works in multiple baud rate environments to meet the specifications of the “Self-Tuner” in our I-7000 series modules. The 7000 Utility provides all of the following functions:
Detects all I-7000 series modules connected to the Host PC. Sets the c onfigurat ion of the I-7000 series modules. Executes data input and/or output for every connected I-7000 series
module.
Saves all information for each detected I-7000 series module into a
file (with .map extension file name).
Before using the 7000 Utility, please install it first. Please refer to the
following contents to complete the installation procedures.
Date: Jan-08, 2002 Version 1.02 page: 10
Getting Started
for I-7000 Series Modules
2.2 Installing the 7000 Utility
Before installing, please note and confirm the following requirements:
Microsoft Windows 95/98/ME/NT4.0/2000/XP Operating System. 32 MB RAM Memory. 20 MB hard disk available space.
To start the Installation:
Insert the enclosed CD into the CD-ROM drive. Click the “Run” item from the "Start" menu. Enter the "[drive]:\NAPDOS\7000\7000Util\Setup.exe" as in Figure 2-
2-1.
Click the “OK” button to start the installation procedures. Follow the instructions in the installation procedures until completion.
D:\Napdos\7000\7000tuil\Setup.exe
Figure 2-2-1. Running "s etup.exe" to install the 7000 Utility.
Date: Jan-08, 2002 Version 1.02 page: 11
Getting Started
for I-7000 Series Modules
2.3 Uninstalling the 7000 Utility
To uninstall the 7000 Utility software, please follow the following steps:
Open the “Control Panel” shown in Figure 2-3-1.
Figure 2-3-1
Click the “Add/Remove Programs” icon from the “Control Panel”, as shown in Figure 2-3-2.
Select the “7000UTIL” item and click the “Add/Remove…” button to uninstall it, as shown in Figure 2-3-3.
Date: Jan-08, 2002 Version 1.02 page: 12
Getting Started
for I-7000 Series Modules
Figure 2-3-2. Double click on the “Add/Remove Programs” icon.
Figure 2-3-3. To uninstall the software, select “7000Util” and
click on the “Add/Remove” button.
Date: Jan-08, 2002 Version 1.02 page: 13
Getting Started
for I-7000 Series Modules
2.4 Starting the 7000 Utility
To start the 7000 Utility, click on “Start / Programs / 7000Util” from the
task bar as shown in Figure 2-4-1.
Figure 2-4-1. Click on “7000UTIL” to start.
When the 7000UTIL.EXE is loading, a window will pop up to show the startup picture (Figure 2-4-2). By default, the startup window will stay on­screen for about 3 seconds.
Figure 2-4-2. Startup picture.
Date: Jan-08, 2002 Version 1.02 page: 14
Getting Started
for I-7000 Series Modules
During startup, the 7000 Utility reads the “ICPCON.CFG” file to get the COM port, baud rate and checksum information. After startup, the main window of the 7000 Utility comes on and uses this information to automatically start the searching process.
The 7000 Utility tests for a range of COM ports and baud rates in order to search for the connected I-7000 series modules. If it fails to read the “ICPCON.CFG“ file (for example, if it does not exist), the default setting for the COM port is 2, the baud rate is 9600 and checksum is enabled. This means that the search process would be limited to COM2 and the baud rate speed would be 9600.
When quitting the 7000UTIL.EXE, the selected COM port numbers, baud rates and checksum settings are stored into the “ICPCON.CFG” file.
Date: Jan-08, 2002 Version 1.02 page: 15
Getting Started
for I-7000 Series Modules
2.5 Operating the 7000 Utility
2.5.1 Main Window of the 7000 Utility
The main window of the 7000 Utility is shown in Figure 2-5-1. All operations of the 7000 Utility are based on this main window.
Figure 2-5-1. The main window of the 7000 Utility
2.5.2 Stopping Search
This section describes how to stop running the program.
When starting the 7000Util.EXE, it will be in the searching process. Users can stop the search process by clicking the stop icon on the tool bar (Figure 2-5-2).
Figure 2-5-2. Stopping the search process.
Date: Jan-08, 2002 Version 1.02 page: 16
Getting Started
for I-7000 Series Modules
2.5.3 Assigning COM Port, baud rate and checksum setting for
Searching
This section describes how to change the search conditions for COM port, baud rate and checksum status.
Click on the “COM Port” menu item, and a window with the title “Select
the COM port and Baud Rate…” appears as in Fig 2-5-3. This window
prompts the user to assign the COM port, baud rate and checksum status. After configuration and clicking on the “OK“ button, the 7000 Utility starts the searching process again. Any module that meets these conditions will be recognized and shown in the information window.
These settings (include the COM port number, baud rate and checksum) of the search conditions will automatically be stored into the “ICPCON.CFG” when exiting the 7000 Utility.
Figure 2-5-3. Assigning the COM port, baud rate and checksum status for
the search process.
Date: Jan-08, 2002 Version 1.02 page: 17
Loading...
+ 39 hidden pages