Manuel d'utilisation / d'entretien du produit GPIB-COM du fabricant National Instruments
Aller à la page of 56
© Copyright 1989, 1991 National Instruments Corporation. All Rights Reserved. GPIB-COM User Manual June 1990 Edition Part Number 320197-01.
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.
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.
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.
© 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.
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.
© National Instruments Corporation v i i GPIB-COM User Manual Contents Section One Introduction .......................................................................................................................... 1-1 GPIB-COM Characteristics ..
Contents GPIB-COM User Manual viii © National Instruments Corporation Line Control Register .......................................................................................... 5-8 Modem Control Register ........................................
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 ..
© 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.
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 s.
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.
© 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.
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.
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.
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.
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.
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.
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.
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.
© 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.
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.
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.
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.
© 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.
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.
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.
© 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.
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 Lin.
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 Con.
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 Addres.
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 C.
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.
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 .
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.
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).
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 LO.
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.
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.
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.
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 .
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.
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.
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.
© 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.
© 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).
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 .
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 .
© 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.
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.
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.
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.
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.
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.
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.
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.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté National Instruments GPIB-COM c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du National Instruments GPIB-COM - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation National Instruments GPIB-COM, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le National Instruments GPIB-COM va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le National Instruments GPIB-COM, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du National Instruments GPIB-COM.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le National Instruments GPIB-COM. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei National Instruments GPIB-COM ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.