Download  Print this page

Intel 80188EB User Manual

Based fieldbus round card
Hide thumbs

Advertisement

Quick Links

Intel 80188EB-Based
Fieldbus Round Card
User Manual
80188EB-Based Fieldbus Round Card User Manual
January 1998 Edition
Part Number 321019C-01
© Copyright 1996, 1998 National Instruments Corporation. All rights reserved.

Advertisement

loading

  Related Manuals for Intel Intel 80188EB

  Summary of Contents for Intel Intel 80188EB

  • Page 1 Intel 80188EB-Based Fieldbus Round Card User Manual 80188EB-Based Fieldbus Round Card User Manual January 1998 Edition Part Number 321019C-01 © Copyright 1996, 1998 National Instruments Corporation. All rights reserved.
  • Page 2 Korea 02 596 7456, Mexico 5 520 2635, Netherlands 0348 433466, 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, United Kingdom 01635 523545 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 Tel: (512) 794-0100...
  • Page 3: Important Information

    The Fieldbus Round Card is 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: Table Of Contents

    Developing Your Round Card Application............ 4-2 Writing Device Templates ............... 4-3 Converting a Device Template to C Code ........4-3 Writing Function Block Callbacks........... 4-4 Writing userStart and Registering Callbacks ........4-4 © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 5 Valid Variable Names and Values for the MIB Sections...... B-2 Table B-2. Valid Variable Names and Values for the FB Schedule Sections..B-2 Table C-1. Fieldbus Round Card Specifications ............. C-1 Table C-2. Fieldbus Round Card Components............C-1 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 6: About This Manual

    Fieldbus hardware, the Fieldbus Stack Interface Library, and the NI-FBUS Function Block Shell software. Use this Intel 80188EB-Based Fieldbus Round Card User Manual manual to install the Intel 80188EB-based Fieldbus Round Card. Use the MC68331-Based Fieldbus Round Card User Manual to install the Motorola MC68331-based Fieldbus Round Card.
  • Page 7: Organization Of This Manual

    Fieldbus Round Card. • Appendix D, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products and manuals. Conventions Used in This Manual The following conventions are used in this manual: <>...
  • Page 8: Related Documentation

    Function Block Application Process, Part 2 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 9: Introduction

    128 KB 8 SRAM device on the card provides volatile memory. The Intel 80188EB processor supports two serial ports. You can use one serial port as a debug port and connect it to the COM port of the host running the debugger software. A typical application for the other serial port would be to interface to a device running the serial HART protocol or other proprietary serial protocol.
  • Page 10: Software Overview

    Fieldbus protocol stack is also supplied. Link your Function Block application with the Function Block Shell and the protocol stack before downloading it to your Fieldbus Round Card. 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 11: Hardware Installation

    1A . Ensure that the Fieldbus cable is properly terminated. 2. Press the reset button on the Round Card, S1 (see Figure 2-1), to reset the processor. © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 12: Figure 2-1. Top Side Of 80188Eb-Based Fieldbus Round Card

    U9 shows where your Flash should be placed after burning. Chapter 4, Interfacing to Your Round Card, describes the signals on the user electronics connector and explains how to burn your Flash. 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 13 Pin 1 3VOUT DOUT Figure 2-2. Bottom Side of 80188EB-Based Fieldbus Round Card Your hardware is now installed. Proceed to Chapter 3, Software Installation, for instructions on installing the software. © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 14: Software Installation

    File menu in the Program Manager window. 3. Type the following command into the dialog box that appears: x :\setup where is the letter of the drive containing the distribution disk (usually a or b). © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 15 Software Installation 4. The interactive installation program installs the software into the directory of your choice. Your software installation is now complete. Proceed to Chapter 4, Interfacing to Your Round Card. 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 16: Interfacing To Your Round Card

    • Serial Port 1—The Transmit and Receive pins of the processor serial port 1 are available at the user electronics connector. This port cannot perform interrupt-driven serial communication. The © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 17: Using The Software

    3. Write your Function Block Callbacks, algorithms, and device interface code. 4. Write your function to register your callbacks. userStart 5. Write your Device Configuration. 6. Convert your Device Configuration to C code using the Configuration Code Generator. 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 18: Writing Device Templates

    C code using the Device Code Generator. The Device Code Generator resides in the subdirectory of your \utils installation directory. The Device Code Generator takes the following command line arguments: codegen deviceTemplate outputFile symbolFile © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 19: Writing Function Block Callbacks

    It is userStart your chance to perform your own initialization tasks. also userStart initializes the Function Block Shell and registers your callbacks with 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 20: Generating Your Device Configuration

    Borland C version 4.5. Use either the same compiler or a compatible compiler to ensure that your code works correctly with nistack.lib © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 21 Chapter 4 Interfacing to Your Round Card National Instruments recommends that you use Borland C version 4.5 for maximum compatibility with our library file. The first step in the final stage is compilation. The following files must be successfully compiled to format: .obj...
  • Page 22: Burn Your Flash

    NI Fieldbus niBurn niBurn program group on the host. When you launch the utility, niBurn it prompts you for the name of your binary file, and the COM port to use. © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 23 Flash on the Round Card. The utility informs you when it has completed. 4. After the application has downloaded, remove jumper B of W1 before resetting the Round Card. 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 24: Data Link Configuration Section Format

    Table A-1. Valid Variable Names and Values for the Data Link Configuration Variable Name Valid Values Default BASIC none devClass LINKMASTER 0x10–0xfb none nodeAddress indicates whether the device functions as a basic device or a devClass link master device. © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 25 If you specify a node address in the range 0xf8 through 0xfb, your device may show up on the bus at any default address. You may use a system configurator such as NI-FBUS Configurator to assign a fixed address to your device. 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 26: System Management Configuration Section Format

    Most of the variables in Table B-1 are optional. In fact, only the devID required. For other variables, default values are used if other values have not been defined in the configuration file © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 27: Table B-1. Valid Variable Names And Values For The Mib Sections

    Table B-2. Valid Variable Names and Values for the FB Schedule Sections Variable Name Valid Values Implied Units Default 32-bit 1/32 ms none offset unsigned integer 0–65535 none index 32-bit none vfdRef unsigned integer 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...
  • Page 28: Table C-1. Fieldbus Round Card Specifications

    Table C-1. Fieldbus Round Card Specifications Characteristic Specification Dimensions 1.52 cm (2.44 0.6 in.) Processor Intel 80188EB, 8 MHz system clock Fieldbus Interface Fuji Electric Frontier-1, bus-powered, 31.25 kb/s Fieldbus Power Supply 14–32 V at 20 mA at 8 MHz, terminated...
  • Page 29: Customer Communication

    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 30 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 31: Technical Support Form

    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 32 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 33 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: Intel 80188EB-Based Fieldbus Round Card User Manual Edition Date: January 1998 Part Number: 321019C-01 Please comment on the completeness, clarity, and organization of the manual.
  • Page 34 A binary digit; a digit (1 or 0) in the representation of a number in binary notation byte Eight related bits of data Device Description Direct-memory access EPROM Erasable programmable read-only memory Function Block File Transfer Protocol HART HART Field Communications Protocol © National Instruments Corporation 80188EB-Based Fieldbus Round Card User Manual...
  • Page 35 Personal computer PROM Programmable read-only memory Random-access memory Seconds snap Read from the communications stack SRAM Serial random-access memory Transistor-transistor logic volts Virtual Communication Relationship Virtual Field Device VOUT Volt output 80188EB-Based Fieldbus Round Card User Manual © National Instruments Corporation...