National Instrumentsメーカー6508 PCI-DIO-96の使用説明書/サービス説明書
ページ先へ移動 of 93
PCI-DIO-96 User Manual A 96-Bit Parallel Digital I/O Interface for PCI Bus Computers January 1997 Edition Part Number 320938B-01 © Copyright 1996, 1997 National Instruments Corporation.
support@natinst.com E-mail: info@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com BBS United States: (512) 794-5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59.
Important Information Warranty The PCI-DIO-96 is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period.
.
© National Instruments Corporation v PCI-DIO-96 User Manual Table of Contents About This Manual Organization of This Manual ........................................................................................ ix Conventions Used in This Manual ..
T able of Contents PCI-DIO-96 User Manual vi © National Instruments Corporation Mode 1 Input Timing ....................................................................... 3-10 Mode 1 Output Timing ....................................................
T able of Contents © National Instruments Corporation vii PCI-DIO-96 User Manual Single Bit Set/Reset Feature ............................................................ 6-8 Mode 0–Basic I/O.........................................................
T able of Contents PCI-DIO-96 User Manual viii © National Instruments Corporation Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware ............................................................... 1-4 Figure 3-1.
© National Instruments Corporation ix PCI-DIO-96 User Manual About This Manual This manual describes the electrical and mechanical aspects of the PCI-DIO-96 and contains information concerning its installation, operation, and programming. The PCI-DIO-96 is a member of the National Instruments PCI Series of expansion boards for PCI bus computers.
About This Manual PCI-DIO-96 User Manual x © National Instruments Corporation • Appendix B, MSM82C55A Data Sheet , contains a manufacturer data sheet for the MSM82C55A CMOS programmable peripheral interface (OKI Semiconductor). This device is used on the PCI-DIO-96.
About This Manual © National Instruments Corporation xi PCI-DIO-96 User Manual SCXI SCXI stands for Signal Conditioning eXtensions for Instrumentation and is a National Instruments product line designed to perform front-end signal conditioning for National Instruments plug-in DAQ boards.
About This Manual PCI-DIO-96 User Manual xii © National Instruments Corporation • Accessory installation guides or manuals—If you are using accessory products, read the terminal block and cable assembly installation guides or accessory board user manuals.
© National Instruments Corporation 1-1 PCI-DIO-96 User Manual Chapter 1 Introduction This chapter describes the PCI-DIO-96; lists what you need to get started, software programming choices, optional equipment; describes custom cabling options; and explains how to unpack the PCI-DIO-96.
Chapter 1 Introduction PCI-DIO-96 User Manual 1-2 © National Instruments Corporation What You Need to Get Started To set up and use your PCI-DIO-96 board, you will need the following: ❑ PCI-DIO-96 .
Chapter 1 Introduction © National Instruments Corporation 1-3 PCI-DIO-96 User Manual LabWindows/CVI features interactive graphics, a state-of-the-art user interface, and uses the ANSI standard C programming language.
Chapter 1 Introduction PCI-DIO-96 User Manual 1-4 © National Instruments Corporation Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware Register-Level Programming The final option for programming any National Instruments DAQ hardware is to write register-level software.
Chapter 1 Introduction © National Instruments Corporation 1-5 PCI-DIO-96 User Manual Optional Equipment National Instruments offers a variety of products to use with your PCI-DIO-96 board, including .
Chapter 1 Introduction PCI-DIO-96 User Manual 1-6 © National Instruments Corporation Unpacking Your PCI-DIO-96 board is shipped in an antistatic package to prevent electrostatic damage to the board. Electrostatic discharge can damage several components on the board.
© National Instruments Corporation 2-1 PCI-DIO-96 User Manual Chapter 2 Installation and Configuration This chapter describes how to install and configure your PCI-DIO-96 board.
Chapter 2 Installation and Configuration PCI-DIO-96 User Manual 2-2 © National Instruments Corporation Board Configuration The PCI-DIO-96 is completely software configurable. The PCI-DIO-96 is fully compliant with the PCI Local Bus Specification , Revision 2.
© National Instruments Corporation 3-1 PCI-DIO-96 User Manual Chapter 3 Signal Connections This chapter describes how to make input and output signal connections to your PCI-DIO-96 via the board I/O connector. I/O Connector The I/O connector for the PCI-DIO-96 has 100 pins that you can connect to 50-pin accessories with the R1005050 cable.
Chapter 3 Signal Connections PCI-DIO-96 User Manual 3-2 © National Instruments Corporation Figure 3-1. PCI-DIO-96 Cable-Assembly Connector Pinout for Pins 1 through 50 with the R1005050 Ribbon Cable .
Chapter 3 Signal Connections © National Instruments Corporation 3-3 PCI-DIO-96 User Manual Figure 3-2. PCI-DIO-96 Cable-Assembly Connector Pinout for Pins 51 through 100 with the R1005050 Ribbon Cabl.
Chapter 3 Signal Connections PCI-DIO-96 User Manual 3-4 © National Instruments Corporation Table 3-1 lists the signal descriptions for the PCI-DIO-96 I/O connector pins. Table 3-1. Signal Descriptions for PCI-DIO-96 I/O Connector Pins Pin Signal Name Description 1, 3, 5, 7, 9, 11, 13, 15 APC<7.
Chapter 3 Signal Connections © National Instruments Corporation 3-5 PCI-DIO-96 User Manual Port C Pin Assignments The signals assigned to port C depend on how the 82C55A is configured. In mode 0, or no handshaking configuration, port C is configured as two 4-bit I/O ports.
Chapter 3 Signal Connections PCI-DIO-96 User Manual 3-6 © National Instruments Corporation Digital I/O Signal Connections Pins 1 through 48 and pins 51 through 98 of the I/O connector are digital I/O signal pins. The following specifications and ratings apply to the digital I/O lines.
Chapter 3 Signal Connections © National Instruments Corporation 3-7 PCI-DIO-96 User Manual Figure 3-3 depicts signal connections for three typical digital I/O applications. Figure 3-3. Digital I/O Connections Block Diagram In Figure 3-3, PPI A, port A, is configured for digital output, and PPI C, port B, is configured for digital input.
Chapter 3 Signal Connections PCI-DIO-96 User Manual 3-8 © National Instruments Corporation Power Connections Pins 49 and 99 of the I/O connector supply +5 V from the computer’s power supply via a self-resetting fuse. The fuse will reset automatically within a few seconds after the overcurrent condition is removed.
Chapter 3 Signal Connections © National Instruments Corporation 3-9 PCI-DIO-96 User Manual INTR Output Interrupt Request—This signal becomes high when the 82C55A requests service during a data transfer. The appropriate interrupt enable bits must be set to generate this signal.
Chapter 3 Signal Connections PCI-DIO-96 User Manual 3-10 © National Instruments Corporation Mode 1 Input Timing The timing specifications for an input transfer in mode 1 are as follows: Figure 3-4.
Chapter 3 Signal Connections © National Instruments Corporation 3-11 PCI-DIO-96 User Manual Mode 1 Output Timing The timing specifications for an output transfer in mode 1 are as follows: Figure 3-5.
Chapter 3 Signal Connections PCI-DIO-96 User Manual 3-12 © National Instruments Corporation Mode 2 Bidirectional Timing The timing specifications for bidirectional transfers in mode 2 are as follows: Figure 3-6.
© National Instruments Corporation 4-1 PCI-DIO-96 User Manual Chapter 4 Theory of Operation This chapter contains a functional overview of the PCI-DIO-96 and explains the operation of each functional unit comprising the PCI-DIO-96.
Chapter 4 Theory of Operation PCI-DIO-96 User Manual 4-2 © National Instruments Corporation Figure 4-1. PCI-DIO-96 Block Diagram PCI Interface Circuitry The PCI-DIO-96 uses the MITE ASIC to communicate with the PCI bus. The MITE ASIC was designed by National Instruments specifically for data acquisition.
Chapter 4 Theory of Operation © National Instruments Corporation 4-3 PCI-DIO-96 User Manual 82C55A Programmable Peripheral Interface The four 82C55A PPI chips are the heart of the PCI-DIO-96. Each of these chips has 24 programmable I/O pins that represent three 8-bit ports: PA, PB, and PC.
Chapter 4 Theory of Operation PCI-DIO-96 User Manual 4-4 © National Instruments Corporation The block diagram in Figure 4-2 illustrates the PCI-DIO-96 interrupt control circuitry.
© National Instruments Corporation 5-1 PCI-DIO-96 User Manual Chapter 5 Register Map and Description This chapter describes in detail the address and function of each PCI-DIO-96 register.
Chapter 5 Register Map and Description PCI-DIO-96 User Manual 5-2 © National Instruments Corporation Register Map Table 5-1 lists the address map for the PCI-DIO-96.
Chapter 5 Register Map and Description © National Instruments Corporation 5-3 PCI-DIO-96 User Manual Register Descriptions The register descriptions for the devices used on the PCI-DIO-96 are given on the pages that follow. The register description bits labeled with an X indicate don’t care bits .
Chapter 5 Register Map and Description PCI-DIO-96 User Manual 5-4 © National Instruments Corporation is 1, bits 6 through 0 select the I/O characteristics of the 82C55A ports. These bits also select the mode in which the ports are operating; that is, mode 0, mode 1, or mode 2.
Chapter 5 Register Map and Description © National Instruments Corporation 5-5 PCI-DIO-96 User Manual Table 5-2 shows the control words for setting or resetting each bit in port C. Notice that bit 7 of the control word is cleared when programming the set/reset option for the bits of port C.
Chapter 5 Register Map and Description PCI-DIO-96 User Manual 5-6 © National Instruments Corporation Figure 5-2. Control Word Format for the 82C53 Register Description for the Interrupt Control Registers There are two interrupt control registers on the PCI-DIO-96.
Chapter 5 Register Map and Description © National Instruments Corporation 5-7 PCI-DIO-96 User Manual Interrupt Control Register 1 Address: Base address + 14 (hex) Type: Write-only Word Size: 8-bit Bi.
Chapter 5 Register Map and Description PCI-DIO-96 User Manual 5-8 © National Instruments Corporation Bit Name Description (Continued) 3 BIRQ1 PPI B Port B Interrupt Enable Bit—If this bit and the INTEN bit in Interrupt Control Register 2 are both set, PPI B sends an interrupt, INTRB, to the computer.
Chapter 5 Register Map and Description © National Instruments Corporation 5-9 PCI-DIO-96 User Manual Interrupt Control Register 2 Address: Base address + 15 (hex) Type: Write-only Word Size: 8-bit Bit Map: Bit Name Description 7–3 X Don’t care bit.
Chapter 5 Register Map and Description PCI-DIO-96 User Manual 5-10 © National Instruments Corporation Interrupt Clear Register The interrupt clear register has no bits associated with it. Use this register to reset the state of the interrupt request signal once the interrupt routine has been entered.
© National Instruments Corporation 6-1 PCI-DIO-96 User Manual Chapter 6 Programming This chapter contains instructions on how to operate the PCI-DIO-96 circuitry, and examples of the programming steps necessary to execute an operation. If you are not using NI-DAQ, you must first initialize your board.
Chapter 6 Programming PCI-DIO-96 User Manual 6-2 © National Instruments Corporation Before you can implement any of the examples into a real application, you must know the base memory address for your board. To generate and process any interrupts, you must write and install an applicable interrupt service routine.
Chapter 6 Programming © National Instruments Corporation 6-3 PCI-DIO-96 User Manual PCI Initialization for the PC To program at the register level without NI-DAQ, you must know the PCI-DIO-96 base memory address and install an interrupt handler to generate interrupts.
Chapter 6 Programming PCI-DIO-96 User Manual 6-4 © National Instruments Corporation 4. Create the window data value by masking the new board address: window data value = ((0xffffff00 and new board address) or (0x00000080)) If you are not remapping the board, then the new board address is the value in BAR1 .
Chapter 6 Programming © National Instruments Corporation 6-5 PCI-DIO-96 User Manual system. When you develop a driver using the toolkit, your driver plug-in has access to all the information and support functions it needs to control the device and respond to interrupts.
Chapter 6 Programming PCI-DIO-96 User Manual 6-6 © National Instruments Corporation ) { unsigned short pciCommandRegister; unsigned long cardBaseAddress, miteBaseAddress; // configure the i/o space of the board such // that it is memory mapped.
Chapter 6 Programming © National Instruments Corporation 6-7 PCI-DIO-96 User Manual This manual also differs from the NI-DAQ, ComponentWorks, LabWindows/CVI, and LabVIEW documentation by using different terminology to describe the 82C55A configurations.
Chapter 6 Programming PCI-DIO-96 User Manual 6-8 © National Instruments Corporation Mode 0 has the following features: • Two 8-bit ports (A and B) and two 4-bit ports (upper and lower nibbles of port C). • Any port can be input or output. • Outputs are latched, but inputs are not latched.
Chapter 6 Programming © National Instruments Corporation 6-9 PCI-DIO-96 User Manual Table 6-2. Mode 0 I/O Configurations Number Control Word Bit 76543210 Group A Group B Port A Port C 1 Port B Port C.
Chapter 6 Programming PCI-DIO-96 User Manual 6-10 © National Instruments Corporation Mode 0 Basic I/O Programming Example The following example shows how to configure PPI A for mode 0 input and output.
Chapter 6 Programming © National Instruments Corporation 6-11 PCI-DIO-96 User Manual Figure 6-2 shows the control word written to the Configuration Register to configure port B for input in mode 1. Notice that port B does not have extra input or output lines from port C.
Chapter 6 Programming PCI-DIO-96 User Manual 6-12 © National Instruments Corporation Port C Status-Word Bit Definitions for Input (Ports A and B) Address: Base address + 03 (hex) for PPI A Base addre.
Chapter 6 Programming © National Instruments Corporation 6-13 PCI-DIO-96 User Manual At the digital I/O connector, port C has the pin assignments shown in Figure 6-3 when in mode 1 input. Notice that the status of STBA* and the status of STBB* are not included in the port C status word.
Chapter 6 Programming PCI-DIO-96 User Manual 6-14 © National Instruments Corporation Figure 6-4. Control Word to Configure Port A for Mode 1 Output The control word written to the Configuration Register to configure port B for output in mode 1 is shown in Figure 6-5.
Chapter 6 Programming © National Instruments Corporation 6-15 PCI-DIO-96 User Manual Port C Status-Word Bit Definitions for Output (Ports A and B) Address: Base address + 03 (hex) for PPI A Base addr.
Chapter 6 Programming PCI-DIO-96 User Manual 6-16 © National Instruments Corporation At the digital I/O connector, port C has the pin assignments shown in Figure 6-6 when in mode 1 output. Notice that the status of ACKA* and ACKB* are not included when port C is read.
Chapter 6 Programming © National Instruments Corporation 6-17 PCI-DIO-96 User Manual Figure 6-7. Control Word to Configure Port A as Mode 2 Bidirectional Data Bus During a mode 2 data transfer, you can obtain the status of the handshaking lines and interrupt signals by reading port C.
Chapter 6 Programming PCI-DIO-96 User Manual 6-18 © National Instruments Corporation Port C Status-Word Bit Definitions for Bidirectional Data Path (Port A Only) Address: Base address + 03 (hex) for .
Chapter 6 Programming © National Instruments Corporation 6-19 PCI-DIO-96 User Manual Bit Name Description (Continued) 2-0 I/O Input/Output—Use these bits for general-purpose I/O lines if group B is configured for mode 0. If group B is configured for mode 1, refer to the bit explanations shown in the preceding mode 1 sections.
Chapter 6 Programming PCI-DIO-96 User Manual 6-20 © National Instruments Corporation Interrupt Handling You must set the INTEN bit of Interrupt Control Register 2 to enable interrupts from the PCI-DIO-96. Clear this bit first to disable unwanted interrupts.
Chapter 6 Programming © National Instruments Corporation 6-21 PCI-DIO-96 User Manual Mode 1 Strobed Input Programming Example The following example shows how to set up interrupts for mode 1 input for port A.
Chapter 6 Programming PCI-DIO-96 User Manual 6-22 © National Instruments Corporation Programming Considerations for the 82C53 A general overview of the 82C53 and how it is configured on the PCI-DIO-96 follows. General Information The 82C53 contains three counter/timers, each of which can operate in one of six different modes.
Chapter 6 Programming © National Instruments Corporation 6-23 PCI-DIO-96 User Manual The counter begins counting as soon as the most significant byte is written. When you are ready to exit your program, disable the counter and interrupts as shown below.
.
© National Instruments Corporation A-1 PCI-DIO-96 User Manual Appendix A Specifications This appendix lists the specifications for the PCI-DIO-96. These specifications are typical at 25 ° C unless otherwise noted. Digital I/O Number of channels ....
Appendix A Specifications PCI-DIO-96 User Manual A-2 © National Instruments Corporation Transfer rate 1 (1 word = 8 bits), absolute max Handshaking ....................................3 wire, two port Data transfers .................................
© National Instruments Corporation B-1 PCI-DIO-96 User Manual Appendix B MSM82C55A Data Sheet * This appendix contains a manufacturer data sheet for the MSM82C55A CMOS programmable peripheral interface (OKI Semiconductor). This interface is used on the PCI-DIO-96.
© National Instruments Corporation C-1 PCI-DIO-96 User Manual Appendix C MSM82C53 Data Sheet * This appendix contains a manufacturer data sheet for the MSM82C53 CMOS programmable interval timer (OKI Semiconductor). This timer is used on the PCI-DIO-96.
© National Instruments Corporation D-1 PCI-DIO-96 User Manual Appendix D Customer Communication For your convenience, this appendix contains forms to help you gather the information necessary to help us solve your technical problems and a form you can use to comment on the product documentation.
Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide range of technical information. You can access Fax-on-Demand from a touch-tone telephone at (512) 418-1111. You can submit technical support questions to the applications engineering team through e-mail at the Internet address listed below.
Technical Support Form Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration.
PCI-DIO-96 Hardware and Software Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration.
Documentation 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.
© National Instruments Corporation G-1 PCI-DIO-96 User Manual Glossary Numbers/Symbols ˚ degrees > greater than ≥ greater than or equal to < less than - negative of, or minus Ω ohms / per .
Glossary PCI-DIO-96 User Manual G-2 © National Instruments Corporation ± plus or minus + positive of, or plus +5 V +5 Volts signal A A amperes ACK* acknowledge input signal AIRQ0 PPI A port A interr.
Glossary © National Instruments Corporation G-3 PCI-DIO-96 User Manual C C Celsius CIRQ0 PPI C port A interrupt enable bit CIRQ1 PPI C port B interrupt enable bit cm centimeters CPA PPI C port A CPB .
Glossary PCI-DIO-96 User Manual G-4 © National Instruments Corporation F ft feet G GND ground signal H hex hexadecimal I IBF input buffer full signal in.
Glossary © National Instruments Corporation G-5 PCI-DIO-96 User Manual M m meters max maximum MB megabytes of memory min. minutes min minimum MSB most significant bit O OBF* output buffer full signal P PA, PB, PC <0.
Glossary PCI-DIO-96 User Manual G-6 © National Instruments Corporation S S samples s seconds SCXI Signal Conditioning eXtensions for Instrumentation—the National Instruments product line for condit.
© National Instruments Corporation I -1 PCI-DIO-96 User Manual Index Numbers +5 V supply pin connecting directly to ground or other voltage source (warning), 3-8 description (table), 3-4 82C53 Progra.
Index PCI-DIO-96 User Manual I -2 © National Instruments Corporation Mode 2 bidirectional timing (figure), 3-12 AIRQ0 bit, 5-8 AIRQ1 bit, 5-8 APA<7.
Index © National Instruments Corporation I -3 PCI-DIO-96 User Manual DPA<7..0> signal (table), 3-5 DPB<7..0> signal (table), 3-4 DPC<7.
Index PCI-DIO-96 User Manual I -4 © National Instruments Corporation Mode 1 strobed output, 6-15 Mode 2 bidirectional bus, 6-19 I/O connector cable assembly connector pinouts (figure) pins 1 through .
Index © National Instruments Corporation I -5 PCI-DIO-96 User Manual overview, 1-3 to 1-4 relationship to programming environment (figure), 1-4 toolkit for writing PCI driver, 6-4 to 6-5 O OBF* signa.
Index PCI-DIO-96 User Manual I -6 © National Instruments Corporation I/O, 6-19 OBFA*, 6-18 port identification, 6-6 to 6-7 power connections, 3-8 power requirement specifications, A-2 programming, 6-.
Index © National Instruments Corporation I -7 PCI-DIO-96 User Manual using other software instead, 1-4 registers 82C53 Register Group address map (table), 5-3 control word format (figure), 5-6 Interr.
Index PCI-DIO-96 User Manual I -8 © National Instruments Corporation signal names used in timing diagrams (table), 3-8 to 3-9 U unpacking the PCI-DIO-96, 1-6 W WR* signal description (table), 3-9 Mod.
デバイスNational Instruments 6508 PCI-DIO-96の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
National Instruments 6508 PCI-DIO-96をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはNational Instruments 6508 PCI-DIO-96の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。National Instruments 6508 PCI-DIO-96の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。National Instruments 6508 PCI-DIO-96で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
National Instruments 6508 PCI-DIO-96を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はNational Instruments 6508 PCI-DIO-96の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、National Instruments 6508 PCI-DIO-96に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちNational Instruments 6508 PCI-DIO-96デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。