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

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones National Instruments GPIB-COM. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica National Instruments GPIB-COM o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual National Instruments GPIB-COM se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales National Instruments GPIB-COM, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones National Instruments GPIB-COM debe contener:
- información acerca de las especificaciones técnicas del dispositivo National Instruments GPIB-COM
- nombre de fabricante y año de fabricación del dispositivo National Instruments GPIB-COM
- condiciones de uso, configuración y mantenimiento del dispositivo National Instruments GPIB-COM
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de National Instruments GPIB-COM no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de National Instruments GPIB-COM y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico National Instruments en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de National Instruments GPIB-COM, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo National Instruments GPIB-COM, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual National Instruments GPIB-COM. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

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

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 7

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

  • Página 8

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

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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:[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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:[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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:[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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).[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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/[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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 [...]

  • Página 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[...]