National Instruments GPIB-COM Bedienungsanleitung

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

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung National Instruments GPIB-COM an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von National Instruments GPIB-COM, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung National Instruments GPIB-COM die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung National Instruments GPIB-COM. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung National Instruments GPIB-COM sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts National Instruments GPIB-COM
- Den Namen des Produzenten und das Produktionsjahr des Geräts National Instruments GPIB-COM
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts National Instruments GPIB-COM
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von National Instruments GPIB-COM zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von National Instruments GPIB-COM und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service National Instruments finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von National Instruments GPIB-COM zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts National Instruments GPIB-COM, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von National Instruments GPIB-COM widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

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

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 7

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

  • Seite 8

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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:[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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:[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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:[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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).[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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/[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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[...]