background image

©

 National Instruments Corporation

4-1

80188EB-Based Fieldbus Round Card User Manual

Chapter

4

Interfacing to Your 
Round Card

This chapter describes how to connect the Fieldbus Round Card to any 
external electronics, and how to develop your Field Device application 
to interface to the NI-FBUS Function Block Shell.

Interfacing to the Hardware

The 2 

×

 4 female connector on the bottom side of the Fieldbus Round 

Card, W2, is a user electronics connector that contains signals you can 
connect to any user-supplied electronics. There are three sets of signals: 
3VOUT, Serial Port 0, and Serial Port 1.

The three sets of signals have a common ground pin. See the W2 item 
in Figure 2-2, Bottom Side of 80188EB-Based Fieldbus Round Card, in 
Chapter 2, Hardware Installation, for the pinout of the user electronics 
connector. 

The signals are described as follows:

3VOUT—The Fieldbus Round Card has a 3.9 V at 8 mA output 
that you can use to power the user electronics. 

To activate the 3.9 V output on the W2 connector of the Round 
Card, place a 0 

 resistor on R18 and replace R35 with a 0

 

resistor. Doing this increases the current draw from the Fieldbus to 
32 mA in the quiescent state. R18 and R35 are located on the 
bottom side of the Round Card.

Serial Port 0—The Transmit and Receive pins of the 
microprocessor serial port 0 are available at the user electronics 
connector. You can use this port as an asynchronous serial link to 
the user electronics board. This port can perform interrupt-driven 
serial communication. The 3O pin is the Transmit pin and the 3I pin 
is the Receive pin. Both of these pins provide 3 V-compatible 
signals.

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 

Summary of Contents for Intel 80188EB

Page 1: ...0188EB 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 r...

Page 2: ...Denmark 45 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 520 2635 Nethe...

Page 3: ...PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of...

Page 4: ...Hardware Overview 1 1 Software Overview 1 2 Chapter 2 Hardware Installation Install the Hardware 2 1 Chapter 3 Software Installation Fieldbus Round Card Interface Kit Components 3 1 Install the Softwa...

Page 5: ...ppendix C Specifications Appendix D Customer Communication Glossary Figures Figure 2 1 Top Side of 80188EB Based Fieldbus Round Card 2 2 Figure 2 2 Bottom Side of 80188EB Based Fieldbus Round Card 2 3...

Page 6: ...n 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...

Page 7: ...ucture the Data Link Configuration section of your Device Configuration ini file Appendix B System Management Configuration Section Format explains how to structure the System Management Configuration...

Page 8: ...yntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions operations variables filenames and extensions and fo...

Page 9: ...us Foundation H1 specification The Fieldbus Round Card uses the Intel 80188EB embedded processor and a programmable 256 KB 8 Flash to run the Stack Interface Library Function Block Shell and user appl...

Page 10: ...the application that is loaded in the Flash Software Overview The software supplied with the Fieldbus Round Card Interface Kit includes the NI FBUS Function Block Shell which is an Application Progra...

Page 11: ...antistatic plastic package to a metal part of your computer chassis before removing the board from the package Install the Hardware Perform the following steps to install the Fieldbus Round Card 1 Co...

Page 12: ...ldbus Round Card In Figure 2 2 W2 shows the pinout of the user electronics connector and U9 shows where your Flash should be placed after burning Chapter 4 Interfacing to Your Round Card describes the...

Page 13: ...ed Fieldbus Round Card User Manual 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...

Page 14: ...ry for Borland C C 4 5 Sample function block templates for all standard Foundation Fieldbus function blocks Sample function block configuration files C language header files for interfacing to the NI...

Page 15: ...us Round Card User Manual 3 2 National Instruments Corporation 4 The interactive installation program installs the software into the directory of your choice Your software installation is now complete...

Page 16: ...ctor The signals are described as follows 3VOUT The Fieldbus Round Card has a 3 9 V at 8 mA output that you can use to power the user electronics To activate the 3 9 V output on the W2 connector of th...

Page 17: ...signed to isolate your application as much as possible from the specifics of the Fieldbus For more specific information about the Function Block Shell API consult the NI FBUS Function Block Shell Refe...

Page 18: ...the sample device templates using a text editor such as MS DOS Edit or Windows Notepad Choose the sample device template that most closely matches your device For example if the main function of your...

Page 19: ...izer Writing Function Block Callbacks The callback functions that you must develop are responsible for the following main functions Handling read and write requests from the network Executing your fun...

Page 20: ...ter you have generated your configuration ini file you must run the Configuration Generator to create a C source file that contains your configuration This step is described in the next section Conver...

Page 21: ...ow single byte enumeration where possible For the Borland C 4 5 compiler this option is b After you have compiled the files you must link them with the National Instruments Round Card library nistack...

Page 22: ...ing steps to burn the Flash with the niBurn utility 1 Power up the Round Card in PROG Mode see the Hardware Overview section of Chapter 1 Introduction for more information about PROG Mode 2 Make sure...

Page 23: ...OM port you specify See the Interfacing to the Hardware section earlier in this chapter for the connections of serial port 1 on the user electronics connector The niBurn utility contacts the Round Car...

Page 24: ...onfiguration Generator automatically configures your board When a parameter is changed over the Fieldbus the parameter is updated in nonvolatile memory Following is a description of the format of the...

Page 25: ...ddress Addresses between 0xf8 and 0xfb are temporary addresses A device with a temporary address on the bus is eventually assigned a fixed address to be operational Addresses between 0xfc and 0xff are...

Page 26: ...ile through the Configuration Generator automatically configures your card When a parameter is changed over the Fieldbus the parameter is updated in nonvolatile memory Following is a description of th...

Page 27: ...0 255 seconds 10 macrocycleDuration 32 bit unsigned integer 1 32 ms 0x8000 primaryTimeMaster 0 255 n a none devID ASCII string identifier of this device n a none pdTag ASCII string tag for this devic...

Page 28: ...2 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 50 terminated Power...

Page 29: ...these systems does not answer your questions we offer fax and telephone support through our technical support centers which are staffed by applications engineers Electronic Services National Instrume...

Page 30: ...to obtain support Telephone Fax Australia 03 9879 5166 03 9879 6277 Austria 0662 45 79 90 0 0662 45 79 90 19 Belgium 02 757 00 20 02 757 03 11 Brazil 011 288 3336 011 288 8528 Canada Ontario 905 785 0...

Page 31: ...______________________________________________ _______________________________________________________________________________ National Instruments hardware product model __________ Revision _________...

Page 32: ..._________________________________________________________ Microprocessor ___________________________________________________________________ Clock frequency or speed __________________________________...

Page 33: ..._________________________________________________________________ _______________________________________________________________________________ ______________________________________________________...

Page 34: ...or Information Interchange bit A binary digit a digit 1 or 0 in the representation of a number in binary notation byte Eight related bits of data DD Device Description DMA Direct memory access EPROM E...

Page 35: ...tes of memory MB megabytes of memory OD Object Dictionary PC Personal computer PROM Programmable read only memory RAM Random access memory s Seconds snap Read from the communications stack SRAM Serial...

Reviews: