National Instruments GPIB-COM manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments GPIB-COM, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of National Instruments GPIB-COM one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of National Instruments GPIB-COM. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of National Instruments GPIB-COM should contain:
- informations concerning technical data of National Instruments GPIB-COM
- name of the manufacturer and a year of construction of the National Instruments GPIB-COM item
- rules of operation, control and maintenance of the National Instruments GPIB-COM item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of National Instruments GPIB-COM alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of National Instruments GPIB-COM, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the National Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of National Instruments GPIB-COM.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the National Instruments GPIB-COM item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    © Copyright 1989, 1991 National Instruments Corporation. All Rights Reserved. GPIB-COM User Manual June 1990 Edition Part Number 320197-01[...]

  • Page 2

    National Instruments Corporation 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 (800) IEEE-488 (toll-free U.S. and Canada) Technical support fax: (512) 794-5678[...]

  • Page 3

    Limited Warranty The GPIB-COM is warranted against defects in materials and workmanship for a period of two years from date of shipment. National Instruments will repair or replace equipment which proves to be defective during the warranty period. This warranty includes parts and labor. A Return Material Authorization (RMA) number must be obtained [...]

  • 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. This equipment has been tested and found to comply with (1) the limits for a Class B computing de[...]

  • Page 5

    © National Instruments Corporation v GPIB-COM User Manual Preface Introduction to the GPIB-COM The GPIB-COM is a high-performance talk/listen interface board that makes communication possible between IEEE-488 devices and IBM personal computers and compatibles (hereafter referred to as PCs) equipped with software that uses the serial ports. Organiz[...]

  • Page 6

    Preface GPIB-COM User Manual v i © National Instruments Corporation Abbreviations Used in This Manual The following abbreviations are used in the text of this manual. ≤ is less than or equal to ≥ is greater than or equal to ± plus or minus A ampere C Celsius hex hexadecimal in. inch I/ O input/output kbyte 1000 bytes m meter Mbyte megabyte M [...]

  • Page 7

    © National Instruments Corporation v i i GPIB-COM User Manual Contents Section One Introduction .......................................................................................................................... 1-1 GPIB-COM Characteristics ............................................................................................ 1-1 What[...]

  • Page 8

    Contents GPIB-COM User Manual viii © National Instruments Corporation Line Control Register .......................................................................................... 5-8 Modem Control Register .................................................................................... 5-10 Line Status Register ............................[...]

  • Page 9

    Contents © National Instruments Corporation i x GPIB-COM User Manual Figures Figure 1-1. GPIB-COM Board ................................................................................................ 1-2 Figure 2-1. GPIB-COM Parts Locator Diagram ...................................................................... 2-1 Figure 2-2. Possible Setti[...]

  • Page 10

    © National Instruments Corporation 1- 1 GPIB-COM User Manual Section One Introduction This section contains a brief description of the GPIB-COM interface and a list of its characteristics and components. GPIB-COM Characteristics The National Instruments GPIB-COM is a high-performance talk/listen interface that converts data between a standard seri[...]

  • Page 11

    Introduction Section One GPIB-COM User Manual 1 -2 © National Instruments Corporation Figure 1-1 shows the GPIB-COM interface board. Figure 1-1. GPIB-COM Board What Your Kit Should Contain Your kit should contain the following components: Item Part Number GPIB-COM interface board 180750-01 GPIB-COM User Manual 320197-01 GPIB-COM Diagnostic Test Di[...]

  • Page 12

    Section One Introduction © National Instruments Corporation 1- 3 GPIB-COM User Manual Optional Equipment Item Part Number Double-Shielded Cables: GPIB Type X2 Cable - 1 m 763061-01 GPIB Type X2 Cable - 2 m 763061-02 GPIB Type X2 Cable - 4 m 763061-03 * In order to meet FCC emission limits for a Class B device, you must use a shielded GPIB cable. O[...]

  • Page 13

    © National Instruments Corporation 2- 1 GPIB-COM User Manual Section Two Configuration and Installation This section contains information on how to configure and install the GPIB-COM into your system. Configuration Figure 2-1 shows the locations of the GPIB-COM configuration jumpers and switches. Figure 2-1. GPIB-COM Parts Locator Diagram[...]

  • Page 14

    Configuration and Installation Section Two GPIB-COM User Manual 2 -2 © National Instruments Corporation When installing the GPIB-COM you must determine which serial port the GPIB-COM board will respond to and select the appropriate base address and interrupt level. The GPIB-COM can be configured to one of four base addresses: • 3F8 for Serial Po[...]

  • Page 15

    Section Two Configuration and Installation © National Instruments Corporation 2- 3 GPIB-COM User Manual Table 2-1 shows the standard base I/O address and interrupt level for each serial port. Table 2-1. IBM PC Serial Port Adapters Name of Port Base I/O Address (hex) Interrupt Level Serial Port 1 3F8 4 Serial Port 2 2F 8 3 Serial Port 3 3 E 8 Not U[...]

  • Page 16

    Configuration and Installation Section Two GPIB-COM User Manual 2 -4 © National Instruments Corporation Figure 2-2 shows the four possible combinations of jumper settings. • • • XF8 3X8 IRQ4 XE8 2X8 IRQ3 W5 W2 a. COM1: Jumpers Set to Base I/O Address 3F8 hex and Interrupt Level 4 (Default) • • • XF8 3X8 IRQ4 XE8 2X8 IRQ3 W5 W2 b. COM2:[...]

  • Page 17

    Section Two Configuration and Installation © National Instruments Corporation 2- 5 GPIB-COM User Manual Talk/Listen Address and Special Function Selection The GPIB-COM interface board has eight onboard DIP switches you can use to configure the GPIB controller responsibilities. In the talk/listen mode, the first five switches set the talk or listen[...]

  • Page 18

    Configuration and Installation Section Two GPIB-COM User Manual 2 -6 © National Instruments Corporation Figure 2-5 shows the switch configuration needed when using a device with listen address 10 hex. The listen address varies with each device so check the listen address of your device and set these five bits accordingly. Key = side you must press[...]

  • Page 19

    Section Two Configuration and Installation © National Instruments Corporation 2- 7 GPIB-COM User Manual Figure 2-6 shows the switch configuration for REN* asserted, IFC* disabled, and SRQ* disabled. Key = side you must press down for REN* ON, IFC* OFF, and SRQ* OFF; Off = 1; On = 0. This side down for logic 1 This side down for logic 0 U13 = used [...]

  • Page 20

    Configuration and Installation Section Two GPIB-COM User Manual 2 -8 © National Instruments Corporation 7. Check the installation. 8. Replace the expansion slot cover of your computer. 9. Connect the GPIB cable to the GPIB-COM. Special Considerations When Using the GPIB-COM The GPIB-COM does not support XON/XOFF protocols. If your application soft[...]

  • Page 21

    © National Instruments Corporation 3- 1 GPIB-COM User Manual Section Three Function Description This section contains a block diagram of the GPIB-COM, followed by a description of each of its functional components. The GPIB-COM Interface The GPIB-COM is a completely transparent interface between GPIB devices and any IBM PC software that uses seria[...]

  • Page 22

    Function Description Section Three GPIB-COM User Manual 3 -2 © National Instruments Corporation Figure 3-1 shows a block diagram of the GPIB-COM. Address Bus Interrupt Control Address Decoding INS8250A Compatible Registers IRQ3 IRQ4 AEN IOW* IOR* Data Bus GPIB Config. Jumpers Config. Jumpers PC I/O Channel Directio n Buffer Directio n Buffer Mode [...]

  • Page 23

    Section Three Function Description © National Instruments Corporation 3- 3 GPIB-COM User Manual GPIB-COM Components The interface consists of the following functional components: • Address Decoding • Configuration Jumpers • INS8250A Compatible Registers • GPIB Acceptor and Source Handshaking • Mode Control Logic • Interrupt Control Log[...]

  • Page 24

    Function Description Section Three GPIB-COM User Manual 3 -4 © National Instruments Corporation Direction Buffers These buffers control the direction in which data information travels. GPIB Transceivers The GPIB-COM is interfaced to the IEEE-488 bus by National Semiconductor 75160A and 75162A transceivers. These integrated circuits are specificall[...]

  • Page 25

    © National Instruments Corporation 4- 1 GPIB-COM User Manual Section Four Running Diagnostic Tests The GPIB-COM Test Commands The GPIB-COM Diagnostic Tests can be used to verify the configuration of the GPIB-COM and its connection to a GPIB printer or plotter. To run a GPIB-COM diagnostic test, connect a printer or plotter to the GPIB and run the [...]

  • Page 26

    Running Diagnostic Tests Section Four GPIB-COM User Manual 4 -2 © National Instruments Corporation The printer should begin printing a string of characters. To stop the test, press any key. The following message then appears: Printer test finished. Please check output to printer with user manual instructions. The output on the printer should read:[...]

  • Page 27

    Section Four Running Diagnostic Tests © National Instruments Corporation 4- 3 GPIB-COM User Manual When it is finished, the following message appears on the screen: Plotter test finished. Please check output to plotter with user manual instructions. If the plotter does not respond or the output on the plotter does not match Figure 4-1, check again[...]

  • Page 28

    © National Instruments Corporation 5- 1 GPIB-COM User Manual Section Five Programming the GPIB-COM This section presents a description of the GPIB-COM Serial Port Emulator registers and information on programming the GPIB-COM. You need to use this section only if you are writing your own serial port device driver. The GPIB-COM Registers IBM's[...]

  • Page 29

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -2 © National Instruments Corporation Transmitter Holding Register Offset from Base I/O Address = 0 Register Address = XF8 DLAB bit in Line Control Register = 0 7 6 54 32 1 0 D6 D5 D7 D4 D3 D2 D1 D0 W The Transmitter Holding Register contains the character to be sent to the serial output[...]

  • Page 30

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 3 GPIB-COM User Manual Receive Buffer Register Offset from Base I/O Address = 0 Register Address = XF8 DLAB bit in Line Control Register = 0 7 6 54 32 1 0 D6 D5 D7 D4 D3 D2 D1 D0 R The Receive Buffer Register contains the character received from the serial input, with bit [...]

  • Page 31

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -4 © National Instruments Corporation Divisor Latch Least Significant Byte (LSB) Register Offset from Base I/O Address = 0 Register Address = XF8 DLAB bit in Line Control Register = 1 7 6 54 32 1 0 DL6 DL5 DL7 DL4 DL3 DL2 DL1 DL0 R / W Bi t Mnemonic Description 7-0r/w DL[7-0] Data Bits 7[...]

  • Page 32

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 5 GPIB-COM User Manual Interrupt Enable Register Offset from Base I/O Address = 1 Register Address = XF9 DLAB bit in Line Control Register = 0 7 6 54 32 1 0 00 0 0 MS RLS T HR R D A R/W The Interrupt Enable Register is a read/write register that allows the programmer to se[...]

  • Page 33

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -6 © National Instruments Corporation Bi t Mnemonic Description 1r/w THR Transmitter Holding Register Interrupt Enable Bit This bit enables a transmitter holding register empty interrupt when set. The transmitter holding register empty interrupt occurs when the INS8250 becomes ready to s[...]

  • Page 34

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 7 GPIB-COM User Manual Interrupt Identification Register Offset from Base I/O Address = 2 Register Address = XFA 7 6 54 32 1 0 00 0 0 0 ID1 ID0 INT R The Interrupt Identification Register is a read-only register which tells you when an interrupt is pending and if so, what [...]

  • Page 35

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5 -8 © National Instruments Corporation Line Control Register Offset from Base I/O Address = 3 Register Address = XFB 7 6 54 32 1 0 SBRK STP DLAB EVEN PEN STB WL1 WL0 R / W The Line Control Register is a read/write register that allows the programmer to set the RS-232 parameters for the IN[...]

  • Page 36

    Section Five Programming the GPIB-COM © National Instruments Corporation 5- 9 GPIB-COM User Manual Bi t Mnemonic Description 3r/w P E N Parity Enable Bit If this bit is set, the INS8250 will generate and check parity according to the values of the STP and EVEN bits (bits 4 and 5). If this bit is clear, the INS8250 will not generate or check parity[...]

  • Page 37

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-10 © National Instruments Corporation Modem Control Register Offset from Base I/O Address = 4 Register Address = XFC 7 6 54 32 1 0 00 0 LOOP OUT2 OUT1 R T S DT R R/W The Modem Control Register is a read/write register that controls RS-232 output lines for communication with a modem or mo[...]

  • Page 38

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-11 GPIB-COM User Manual Bi t Mnemonic Description 0r/w DTR Data Terminal Ready Bit The DTR serial port output is the inverse of this bit. This bit is set when the Controller is ready to communicate. On the GPIB-COM, this bit is used along with the RTS bit to control the CTS[...]

  • Page 39

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-12 © National Instruments Corporation Line Status Register Offset from Base I/O Address = 5 Register Address = XFD 7 6 54 32 1 0 TEMT THRE 0 BI FE PE O E D R R The Line Status Register provides information about the status of the data transfer. On the GPIB- COM this register is implement[...]

  • Page 40

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-13 GPIB-COM User Manual Bi t Mnemonic Description 3r F E Framing Error Bit This bit is set when the received character does not have a valid stop bit. On the GPIB-COM, this bit is always clear. 2r P E Parity Error Bit This bit is set when the received character does not hav[...]

  • Page 41

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-14 © National Instruments Corporation Modem Status Register Offset from Base I/O Address = 6 Register Address = XFE 7 6 54 32 1 0 R I DSR DCD C T S DDCD TERI DDSR DCTS R The Modem Status Register gives the state of the modem control lines and tells whether any of these lines have changed[...]

  • Page 42

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-15 GPIB-COM User Manual Bi t Mnemonic Description 2r TERI Trailing Edge Ring Indicator Bit This bit is set when the serial port RI input signal changes from a logical 1 to a logical 0 and cleared when the processor reads the Modem Status Register. On the GPIB-COM, this bit [...]

  • Page 43

    Programming the GPIB-COM Section Five GPIB-COM User Manual 5-16 © National Instruments Corporation Programming the Serial Adapter The operation of the serial adapter is controlled by software, either IBM BIOS or an application. To transfer data to and from the serial port, the communications parameters must first be set up in the following manner:[...]

  • Page 44

    Section Five Programming the GPIB-COM © National Instruments Corporation 5-17 GPIB-COM User Manual The GPIB-COM Controller Function Because most serial port applications involve communication with only one serial line, the GPIB- COM imposes some restrictions on the GPIB in order to be compatible with existing serial port software. The GPIB-COM mus[...]

  • Page 45

    © National Instruments Corporation A- 1 GPIB-COM User Manual Appendix A Specifications This appendix lists the specifications of the GPIB-COM board. Power Requirement +5 VDC ( ± 5% ) 0.75 A typical Physical Dimensions 4.2 in. by 8.75 in. I/O Connector IEEE-488 Standard 24-pin Operating Environment Component Temperature 0 ° to 70 ° C Relative Hu[...]

  • Page 46

    © National Instruments Corporation B- 1 GPIB-COM User Manual Appendix B Multiline Interface Command Messages The following tables are multiline interface messages (sent and received with ATN TRUE).[...]

  • Page 47

    Multiline Interface Command Messages Appendix B GPIB-COM User Manual B -2 © National Instruments Corporation Multiline Interface Messages H e x O ct D e c ASCII M sg H e x O ct D e c ASCII M sg 00 0 00 0 NUL 20 0 40 32 S P MLA0 01 00 1 1 S O H G TL 2 1 041 33 ! MLA1 02 0 02 2 STX 22 0 42 34 " MLA2 03 00 3 3 E T X 23 04 3 35 # MLA3 04 00 4 4 E[...]

  • Page 48

    Appendix B Multiline Interface Command Messages © National Instruments Corporation B- 3 GPIB-COM User Manual Multiline Interface Messages H e x Oct D e c ASCII Ms g H e x Oct D e c ASCII M s g 40 10 0 64 @ MTA0 60 14 0 96 ` MSA0,PPE 41 10 1 65 A MTA1 61 141 97 a MSA1,PPE 42 10 2 66 B MTA2 62 142 98 b MSA2,PPE 43 10 3 67 C MTA3 63 143 99 c MSA3,PPE[...]

  • Page 49

    © National Instruments Corporation C-1 GPIB-COM User Manual Appendix C Operation of the GPIB History of the GPIB The GPIB is a link, bus, or interface system through which interconnected electronic devices communicate. Hewlett-Packard invented the GPIB, which they call the HP-IB, to connect and control programmable instruments manufactured by them[...]

  • Page 50

    Operation of the GPIB Appendix C GPIB-COM User Manual C-2 © National Instruments Corporation The Controller usually addresses a Talker and a Listener before the Talker can send its message to the Listener. After the message is transmitted, the Controller usually unaddresses both devices. Some bus configurations do not require a Controller. For exa[...]

  • Page 51

    Appendix C Operation of the GPIB © National Instruments Corporation C-3 GPIB-COM User Manual Figure C-1 shows the arrangement of these signals on the GPIB cable connector. DIO1* DIO2* DIO3* DIO4* EOI* DAV* NRFD* NDAC* IFC* SRQ* ATN* SHIELD DIO5* DIO6* DIO7* DIO8* REN* GND (TW PAIR W/DAV*) GND (TW PAIR W/NRFD*) GND (TW PAIR W/NDAC*) GND (TW PAIR W/[...]

  • Page 52

    Operation of the GPIB Appendix C GPIB-COM User Manual C-4 © National Instruments Corporation DAV (data valid) DAV tells when the signals on the data lines are stable (valid) and can be accepted safely by devices. The Controller drives DAV when sending commands, and the Talker drives it when sending data messages. The way in which NRFD and NDAC are[...]

  • Page 53

    Appendix C Operation of the GPIB © National Instruments Corporation C-5 GPIB-COM User Manual Physical and Electrical Characteristics Devices are usually connected with a cable assembly consisting of a shielded 24-conductor cable with both a plug and receptacle at each end. This design enables devices to be connected in either a linear or a star co[...]

  • Page 54

    Operation of the GPIB Appendix C GPIB-COM User Manual C-6 © National Instruments Corporation Figure C-3. Star Configuration of GPIB Devices The standard connector is the Amphenol or Cinch Series 57 MICRORIBBON or AMP CHAMP type. An adapter cable using non-standard cable and/or connector is used for special interconnect applications. The GPIB uses [...]

  • Page 55

    Appendix C Operation of the GPIB © National Instruments Corporation C-7 GPIB-COM User Manual Configuration Restrictions To achieve the high data transfer rate that the GPIB is designed for, the physical distance between devices and the number of devices on the bus is limited. The following restrictions are typical: • A maximum separation of 4 m [...]

  • Page 56

    User 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: GPIB-COM User Manual Edition Date June 1990 Part Number: 320197-01 Please comment on the completeness, clarity, and organization of the manual. If you find er[...]