National Instruments NI-FBUS User Manual
National Instruments NI-FBUS User Manual

National Instruments NI-FBUS User Manual

Hide thumbs Also See for NI-FBUS:
Table of Contents

Advertisement

Quick Links

TM
NI-FBUS
Monitor User
Manual
March 1997 Edition
Part Number 321018B-01
© Copyright 1995, 1997 National Instruments Corporation.
All Rights Reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NI-FBUS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments NI-FBUS

  • Page 1 NI-FBUS Monitor User Manual March 1997 Edition Part Number 321018B-01 © Copyright 1995, 1997 National Instruments Corporation. All Rights Reserved.
  • Page 2 Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200, U.K. 01635 523545 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 Tel: (512) 794-0100...
  • Page 3: Important Information

    The AT-FBUS and PCMCIA-FBUS hardware are warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
  • Page 4 FCC/DOC Radio Frequency Interference Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC).
  • Page 5 This device complies with the FCC rules only if used with shielded interface cables of suitable quality and construction. National Instruments used such cables to test this device and provides them for sale to the user. The use of inferior or nonshielded interface cables could void the user's authority to operate the equipment under the FCC rules.
  • Page 6: Table Of Contents

    Conventions Used in This Manual................xii Related Documentation....................xiii Customer Communication ...................xiii Chapter 1 Introduction NI-FBUS Monitor Overview ..................1-1 Windows of the NI-FBUS Monitor ................1-1 Recommended Minimum Platform................1-2 Chapter 2 Installation and Configuration Install the Software ......................2-1 Install the Hardware.......................2-1 Evaluating the Default Settings ...............2-2 Locating Conflict-Free Resources ..............2-2...
  • Page 7 Table of Contents Configuring Resources in Windows 95 (AT-FBUS Only) ................2-13 Using the NI-FBUS Configuration Utility........2-14 Starting the NI-FBUS Monitor Driver (Windows NT Only) ........2-14 Chapter 3 Windows and Menus List of Windows ......................3-1 About the NI-FBUS Monitor Interface ................. 3-2 Main Window........................
  • Page 8 Settings Dialog Box .......................3-19 Capture Settings Tab ..................3-20 Display Settings Tab..................3-21 Toolbar Settings Tab ..................3-22 Chapter 4 How to Use the Fieldbus Monitor Starting the NI-FBUS Monitor ..................4-1 Starting Capture ......................4-1 Stopping Capture ......................4-2 Saving Data........................4-2 Finding Data ........................4-2 Viewing Data .........................4-3 Improving Performance ....................4-4...
  • Page 9 Environmental Characteristics for the AT-FBUS ........A-1 Table A-4. Electrical Characteristic for the PCMCIA-FBUS ........A-2 Table A-5. Physical Characteristics for the PCMCIA-FBUS ........A-2 Table A-6. Environmental Characteristics for the PCMCIA-FBUS ......A-2 NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 10 Manual This manual describes the NI-FBUS Monitor utility, its features, and how to install and use it. The NI-FBUS Monitor utility is intended for use with Windows 95 or Windows NT. This manual assumes that you are already familiar with the Windows 95 or Windows NT operating systems.
  • Page 11: Conventions Used In This Manual

    NI-FBUS In this manual, the term NI-FBUS, when used alone, refers to the NI-FBUS Communications Manager. NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 12: Related Documentation

    Fieldbus Standard for Use in Industrial Control Systems, Part 2, ISA-S50.02.1992 Customer Communication National Instruments wants to receive your comments on our products and manuals. We are interested in the applications you develop with our products, and we want to help if you have problems with them. To make it easy for you to contact us, this manual contains comment and configuration forms for you to complete.
  • Page 13: Ni-Fbus Monitor Overview

    This chapter contains an overview of the NI-FBUS Monitor. NI-FBUS Monitor Overview The NI-FBUS Monitor is a Win32 application you can use to monitor, debug, and analyze fieldbus data packets. The NI-FBUS Monitor detects communication on the bus, capturing data packets that are passed between fieldbus devices.
  • Page 14: Recommended Minimum Platform

    The NI-FBUS Monitor uses a lot of processor time and memory resources during data captures. Therefore, the recommended minimum platform for the NI-FBUS Monitor is a 66 MHz 486 processor with 8 MB of RAM. If you want to run the NI-FBUS Monitor on a slower platform, see the Improving Performance section in Chapter 4, How to Use the NI-FBUS Monitor.
  • Page 15: Install The Software

    NI-FBUS Monitor software and your fieldbus interface. Install the Software Complete the following steps to run the software installation program: Insert the NI-FBUS Monitor software distribution disk into an unused drive. Choose Run... from the File menu in the Program Manager...
  • Page 16: Evaluating The Default Settings

    Skip this section if you are using a PCMCIA-FBUS card and Windows 95. Table 2-1 shows the default settings for the AT-FBUS board and the default resources the NI-FBUS software uses for PCMCIA-FBUS cards. Table 2-1. Default Settings Type of Setting...
  • Page 17: Installing The Pcmcia-Fbus Hardware

    If you cannot find a free IRQ line, you can configure your fieldbus interface to operate in polled mode, without an IRQ line. In polled mode, NI-FBUS polls your board periodically. When you reach the Configuring the Software section, you can configure your fieldbus interface to use polled mode.
  • Page 18: Figure 2-1. Inserting The Pcmcia-Fbus

    You kit contains one PCMCIA-FBUS cable. Refer to Appendix B, Pinout Information, if you need to make a longer cable than the PCMCIA-FBUS cable provided. Power on your computer. Skip to the Configuring the Software section. NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 19: Installing The At-Fbus Hardware

    16-bit ISA slot with the fieldbus connector sticking out of the opening on the back panel. It might be a tight fit, but do not force the board into place. Figure 2-2. Installing the AT-FBUS Board © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 20: Configuring The Hardware (Optional)

    Default Settings section at the beginning of this chapter for reasons to change the default settings of your AT-FBUS board. Figure 2-3 shows the location of the switches, jumpers, and connector on the AT-FBUS board. NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 21: Selecting The Memory Base Address

    AT-FBUS board, each board must use a unique memory base address. Your computer’s conventional DRAM and all other devices cannot use the memory space you assign to the AT-FBUS board. © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 22: Table 2-2. Memory Base Address Switch Settings

    Bold italic denotes the default setting. Table 2-2. Memory Base Address Switch Settings Switch Setting Base Address 0C0000 0C4000 0C8000 0CC000 0D0000 0D4000 0D8000 0DC000 0E0000 0E4000 0E8000 0EC000 0F0000 0F4000 0F8000 0FC000 8C0000 NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 23 Refer to Figure 2-3, AT-FBUS Parts Locator Diagram. Change the switch settings to configure the AT-FBUS board to the new memory base address as shown in Table 2-2. See Figure 2-4 for an example of the switch settings. © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 24: Selecting The Interrupt Request Line

    If there are no interrupt request lines available in your system, you can configure the AT-FBUS not to use interrupts by removing the jumper completely. If you remove the jumper, NI-FBUS periodically polls your board. By default, the AT-FBUS board uses interrupt request line 11. Figure 2-5 shows the setting for IRQ11.
  • Page 25: Configuring The Software

    If you are installing more than one AT-FBUS board, each board must be configured to use a unique IRQ level. The AT-FBUS requires the use of interrupts to work with your NI-FBUS Monitor software properly. Find the jumpers that set the interrupt request line. Refer to Figure 2-3, AT-FBUS Parts Locator Diagram.
  • Page 26: Configuration Steps For Windows Nt

    Start the NI-FBUS Configuration utility. If you are using Windows NT 3.51, double-click on the fbconf icon, which is part of the NI-FBUS program group, created in your Program Manager during installation. If you are using Windows NT 4.0, select Start»Programs»NI-FBUS»NI-FBUS Config.
  • Page 27: Configuring Resources In Windows 95 (At-Fbus Only)

    Chapter 2 Installation and Configuration Configuration Steps for Windows 95 Follow the steps in this section to configure your NI-FBUS software for Windows 95. Configuring Resources in Windows 95 (AT-FBUS Only) Skip this section if you are using a PCMCIA-FBUS.
  • Page 28: Using The Ni-Fbus Configuration Utility

    Configuration utility executable, which is located in the utils subdirectory of your NI-FBUS installation directory. In the NI-FBUS Config window, select the port you want to configure and click on the Edit button. Enter an interface name for the port.
  • Page 29: Windows And Menus

    Chapter Windows and Menus This chapter describes each of the menus and windows in the NI-FBUS Monitor utility. List of Windows Main Window Multiple Document Interface (MDI) window that contains all the other windows and toolbars. Filter Window Displays data packets and statistical information.
  • Page 30: About The Ni-Fbus Monitor Interface

    The NI-FBUS Monitor consists of windows and data objects. The main window is the large desktop window that contains all other windows of the NI-FBUS Monitor. It has a menu bar and various toolbars. The smaller windows inside the main window are filter windows. Each filter window uses a single filter to determine what data the NI-FBUS Monitor captures.
  • Page 31: Figure 3-1. Relationship Of Windows To Capture Documents

    Chapter 3 Windows and Menus cap1.mon cap1.mon Data cap1.mon Data Capture Document in Memory cap2.mon cap2.mon Data cap2.mon Data Capture Document in Memory Figure 3-1. Relationship of Windows to Capture Documents © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 32: Main Window

    Figure 3-2 shows the main window. Figure 3-2. Main Window When you start the NI-FBUS Monitor, it opens a new filter window and a new capture document. The capture document contains the actual data packets that are captured from the bus.
  • Page 33: Menus And The Standard Toolbar

    Windows and Menus Menus and the Standard Toolbar To see help for the NI-FBUS Monitor controls, browse through the menus or pause the cursor over the standard toolbar, shown in Figure 3-3. To see a short description of a menu or toolbar function, pause your cursor over the item.
  • Page 34: Main Menu Bar

    The main menu bar is at the top of the main window and lists all of the operations that you can perform in the NI-FBUS Monitor. When you select an item in the menu, a short help message describing the option appears in the Status Bar at the bottom of the main window.
  • Page 35: Capture Menu

    Recent File List the most recently saved files. Exit Exits the NI-FBUS Monitor. Capture Menu The Capture menu allows you to control the capture. To view this menu, click on the Capture option at the top of the main window, or right-click on the filter window.
  • Page 36: View Menu

    Tiles the open windows. Arrange Icons Arranges the icons. Window List List of the open windows. Toolbars Menu You can use the Toolbars menu to show or hide the toolbars of the NI-FBUS Monitor. NI-FBUS Monitor User Manual ©National Instruments Corporation...
  • Page 37: Help Menu

    Shows the Statistics View toolbar. Status Bar Shows the status bar. Help Menu You can use the Help menu to display information about the NI-FBUS Monitor. Filter Window The filter window displays the data in a capture document, and can display this data in different formats.
  • Page 38: Packet View

    The asterisk indicates that, after several attempts, the monitor on the fieldbus interface could not pass the packet to the host application (the NI-FBUS Monitor). This problem might happen on slow PCs, such as 386 computers, but it rarely happens on 486 computers. If you see an asterisk, read the Improving Performance section in Chapter 4, How to Use the NI-FBUS Monitor.
  • Page 39: Packet View Toolbar

    Chapter 3 Windows and Menus A pound sign (#) next to a packet number means that the NI-FBUS Monitor received the packet that arrived right before the indicated packet. The format of the time measurement is as follows: Hours:Minutes:Seconds.Microseconds The Simple format is a condensed version of the Decode format, and shows only the type of Protocol Data Units (PDUs) of the FDL, FMS, and FAS (Fieldbus Access Sublayer) layers in the packet.
  • Page 40: Radio Buttons

    Allows you to select the time calculation to perform on the packet. The options are as follows: Absolute—Shows the absolute time relative to the start of the NI-FBUS Monitor utility. Idle—Shows the idle time between packets. NI-FBUS Monitor User Manual 3-12...
  • Page 41: Statistics View

    FDL PDUs transmitted over the bus. The FDL PDUs chart is a breakdown of the FDL PDU section of the Bandwidth chart. Figure 3-7 shows the statistics view. Figure 3-7. Filter Window Showing Statistics View © National Instruments Corporation 3-13 NI-FBUS Monitor User Manual...
  • Page 42: Statistics View Toolbar

    The live list view shows what devices on the fieldbus are active. This view lists active devices as alive and inactive devices as dead. The live list view is only active during data capture. NI-FBUS Monitor User Manual 3-14 ©National Instruments Corporation...
  • Page 43: Filters

    Filter Operation During Capture During capture the filter is valid, and the NI-FBUS Monitor discards all data not matching the filter. However, if there are multiple filter windows, the NI-FBUS Monitor checks each filter to make sure that it retains the desired data.
  • Page 44: Filter Dialog Box

    FDL Filter, FMS Filter, and Filter by Address. You can open the Filter dialog box any time before, during, and after capture, or you can hide it from view. The following sections describe the tabs on the Filter dialog box. NI-FBUS Monitor User Manual 3-16 ©National Instruments Corporation...
  • Page 45: Fdl Filter Tab

    A data-transfer error can occur if a packet does not have the proper checksum attached to it, which can be caused by bus noise. The NI-FBUS Monitor displays protocol errors along with the packets. Figure 3-9 shows the FDL Filter tab.
  • Page 46: Fms Filter Tab

    PDU type in the FMS Services box. Click on a checkbox to enable capture of the corresponding packet type. Figure 3-10 shows the FMS Filter tab. Figure 3-10. FMS Filter Tab NI-FBUS Monitor User Manual 3-18 ©National Instruments Corporation...
  • Page 47: Filter By Address Tab

    The NI-FBUS Monitor detects and lists all the currently detected addresses in the Detected Addresses box of the Filter by Address tab. The NI-FBUS Monitor captures data only for the selected addresses, and no other addresses. If you want to capture data for all addresses, click on the Clear All button to ensure that no other addresses are selected.
  • Page 48: Capture Settings Tab

    The Capture Settings tab allows you to select the board to use, and to specify what you want the NI-FBUS Monitor to do after it receives the number of packets in the Max num of packets field. Figure 3-12 shows the Capture Settings tab.
  • Page 49: Display Settings Tab

    Display Settings Tab The Display Settings tab allows you to select the colors of packet portions and the font the NI-FBUS Monitor uses to display data. To change a color, click on the color next to the field name. To change the font, click on the Fonts...
  • Page 50: Toolbar Settings Tab

    Toolbar Settings Tab The Toolbar Settings tab allows you to select which toolbars the NI-FBUS Monitor displays. Click on the Big Buttons checkbox to enlarge the standard toolbar buttons. Click on the Show Tool Tips checkbox to activate the tool tip help for most controls. To view the tips, pause your cursor over a control.
  • Page 51: Starting The Ni-Fbus Monitor

    Chapter How to Use the NI-FBUS Monitor This chapter describes how to perform basic tasks with the NI-FBUS Monitor. Starting the NI-FBUS Monitor To launch the NI-FBUS Monitor application, double-click on the Fieldbus Monitor icon in the Fieldbus Software program group.
  • Page 52: Stopping Capture

    Find Data button ( ) on the standard toolbar. The Find dialog box, as shown in Figure 4-1, appears. If the NI-FBUS Monitor finds the data, it places an elliptical mark by the packet in which the data appears. NI-FBUS Monitor User Manual...
  • Page 53: Viewing Data

    Chapter 4 How to Use the NI-FBUS Monitor Figure 4-1. Find Dialog Box Viewing Data You can view data in a filter window, and switch between tabs to view all the information, or you can split the window and view all tabs at once.
  • Page 54: Improving Performance

    You might not want to collect all of these, particularly the Probe Node (PN) packets. No Split Windows In general, the fewer open windows the NI-FBUS Monitor has to update, the faster the NI-FBUS Monitor performs. NI-FBUS Monitor User Manual...
  • Page 55: Appendix A Hardware Specifications

    Specification Operating Environment: Component Temperature 0 to 70 C Relative Humidity 10% to 90%, Noncondensing Storage Environment: Temperature -40 to 125 C Relative Humidity 5% to 90% Noncondensing FCC Class B Verified © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 56: Table A-4. Electrical Characteristic For The Pcmcia-Fbus

    Specification Operating Environment: Component Temperature 0 to 70 C Relative Humidity 10% to 90% Noncondensing Storage Environment: Temperature -40 to 125 C Relative Humidity 5% to 90% Noncondensing FCC Class A Verified NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 57: Figure B-1. Fieldbus Connector Pinout

    The pinout of the fieldbus connector uses pins 6 and 7 of the J1 connector for the fieldbus signals, as specified in the Fieldbus Standard for Use in Industrial Control Systems, Part 2, ISA-S50.02.1992. © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 58: Figure B-2. Pcmcia-Fbus Cable

    9-pin DSUB. Pins 2 and 4 of the J2 screw terminal block provide an alternate connection to the fieldbus. The screw terminal block is not a second, independent link. National Instruments provides the Power+ and Power- connections as passive connections from the DSUB to the screw terminal.
  • Page 59 Electronic Services Bulletin Board Support National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of files and documents to answer most common customer questions. From these sites, you can also download the latest instrument drivers, updates, and example programs. For recorded instructions on how to use the bulletin board and FTP services and for BBS automated information, call (512) 795-6990.
  • Page 60 Telephone and Fax Support National Instruments has branch offices all over the world. Use the list below to find the technical support number for your country. If there is no National Instruments office in your country, contact the source from which you purchased your software to obtain support.
  • Page 61 National Instruments for technical support helps our applications engineers answer your questions more efficiently. If you are using any National Instruments hardware or software products related to this problem, include the configuration forms from their user manuals. Include additional pages if necessary.
  • Page 62 Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
  • Page 63 Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: NI-FBUS Monitor User Manual Edition Date: March 1997 Part Number: 321018B-01 Please comment on the completeness, clarity, and organization of the manual.
  • Page 64 Compatible with the 16-bit Industry Standard Architecture. Bytes. bandwidth The capacity of a bus to transmit data. binary format A file format composed of ones and zeroes for computer use. A pathway for data between devices. © National Instruments Corporation NI-FBUS Monitor User Manual...
  • Page 65 Imperfections in data transfer caused by cable length or interference from external factors. capture document An NI-FBUS monitor document in memory that contains all the settings and data of your capture. Compel Data. channel A pin or wire lead to which you apply or from which you read the analog or digital signal.
  • Page 66 A software screening device you configure to make the NI-FBUS Monitor capture only certain types of data that move across the fieldbus. Filter window A window inside the main window of the NI-FBUS Monitor that shows captured data with selected data filtered out. See Fieldbus Messaging Specification layer.
  • Page 67 The central controlling and computing part of a computer. protocol error An error in data transfer that has to do with the way the data is sent. Pass Token Random Access Memory Return Token. Time Distribution. NI-FBUS Monitor User Manual © National Instruments Corporation...
  • Page 68 FDL portions of packets, 3-12 new, 3-5, 3-6 filtering, 3-16 opening, 3-5, 3-6 finding, 3-6, 3-7, 4-2 opening a recent document, 3-7 FMS portions of packets, 3-12 printing, 3-6 formats, 3-10 saving, 3-5, 3-6 © National Instruments Corporation I -1 NI-FBUS Configurator User Manual...
  • Page 69 3-21 format of data. See data, formats format of packet data. See data, formats format of time information, 3-11 e-mail support, C-2 exiting the NI-FBUS Monitor, 3-7 FTP support, C-1 fax support, C-2 hardware FAS/SM portions of packets. See data,...
  • Page 70 Toolbars, 3-8 printer options. See Print Setup... View, 3-8 printing. See capture document, printing Window, 3-8 quitting the NI-FBUS Monitor. See exiting new capture document the NI-FBUS Monitor creating. See capture document, new nifb process. See NI-FBUS process NI-FBUS Monitor, 1-1 NI-FBUS process, 2-14 refreshing.
  • Page 71 See windows, live list, 3-14 splitting packet, 3-10 starting capture. See capture, starting statistics, 3-13 starting the NI-FBUS Monitor, 4-1 static electricity, 2-1 Statistics View (picture), 3-13 status bar, 3-9 windows stopping capture. See capture, stopping adding filter windows, 3-2, 3-6, 3-8 support.
  • Page 72 Index relationship of windows to capture documents, 3-3 splitting, 3-2, 3-5, 3-8 tiling, 3-8 Write to file field, 3-21 © National Instruments Corporation NI-FBUS Configurator User Manual...

Table of Contents