National Instruments 6508 PCI-DIO-96 Bedienungsanleitung
- Schauen Sie die Anleitung online durch oderladen Sie diese herunter
- 93 Seiten
- 0.52 mb
Zur Seite of
Ähnliche Gebrauchsanleitungen
-
Network Card
National Instruments NI 9217
28 Seiten 0.44 mb -
Network Card
National Instruments SCXI-1163
103 Seiten 0.78 mb -
Network Card
National Instruments TPC-2012
49 Seiten 0.65 mb -
Network Card
National Instruments Graphical User Interface Ultiboard
281 Seiten 3.23 mb -
Network Card
National Instruments SCC-AI05
18 Seiten 0.2 mb -
Network Card
National Instruments NI 9476
24 Seiten 0.29 mb -
Network Card
National Instruments NI cDAQ-9172
84 Seiten 2.07 mb -
Network Card
National Instruments RS485
24 Seiten 0.43 mb
Richtige Gebrauchsanleitung
Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung National Instruments 6508 PCI-DIO-96 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 6508 PCI-DIO-96, 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 6508 PCI-DIO-96 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 6508 PCI-DIO-96. 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 6508 PCI-DIO-96 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts National Instruments 6508 PCI-DIO-96
- Den Namen des Produzenten und das Produktionsjahr des Geräts National Instruments 6508 PCI-DIO-96
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts National Instruments 6508 PCI-DIO-96
- 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 6508 PCI-DIO-96 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 6508 PCI-DIO-96 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 6508 PCI-DIO-96 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 6508 PCI-DIO-96, ü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 6508 PCI-DIO-96 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
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. All Rights Reserved.[...]
-
Seite 2
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 (512) 418-1111 Tel: (512) 795-8248 Fax: (512) 794-5678 Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Canada (Ontario) 905 78[...]
-
Seite 3
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. This warranty inclu[...]
-
Seite 4
[...]
-
Seite 5
© 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 ................................................................................ x National Instrumen[...]
-
Seite 6
T able of Contents PCI-DIO-96 User Manual vi © National Instruments Corporation Mode 1 Input Timing ....................................................................... 3-10 Mode 1 Output Timing .................................................................... 3-11 Mode 2 Bidirectional Timing .................................................[...]
-
Seite 7
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........................................................................................... 6-8 Mode 0 Basic I/O Programming Example .......................[...]
-
Seite 8
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. PCI-DIO-96 Cable-Assembly Connector Pinout for Pins 1 through 50 with the R1005050 Ribb[...]
-
Seite 9
© 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. T[...]
-
Seite 10
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. • Appendix C, MSM82C53 Data Sheet , contains a manufacturer data sheet for the[...]
-
Seite 11
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. < > Angle brackets containing numbers separated by an [...]
-
Seite 12
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. They explain how to physically connect the relevant pieces of the system. Consult these g[...]
-
Seite 13
© 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. About the PCI-DIO-96 Thank you for purchasing a National Instr[...]
-
Seite 14
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 board ❑ PCI-DIO-96 User Manual ❑ One of the following software packages and documentation: ComponentWorks LabVIEW for Macintosh LabVIEW for Window[...]
-
Seite 15
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. The LabWindows/CVI Data Acquisition Library, a series of functions for using LabWindows/CVI with National Instruments DAQ hardware, [...]
-
Seite 16
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. Writing register-level programming so[...]
-
Seite 17
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 cables, connector blocks, and other accessories, as follows: • Cables and cable assemblies • Connector blocks, 50-pin screw terminals • SCXI mod[...]
-
Seite 18
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. To avoid such damage in handling the board, take the following precautions. • Gr[...]
-
Seite 19
© 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. Software Installation If you are using NI-DAQ, ComponentWorks, LabWindows/CVI, or LabVIEW, refer to the installation instructions in your documentation to install and conf[...]
-
Seite 20
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.0. Therefore, all board resources are automatically allocated by the PCI system, includin[...]
-
Seite 21
© 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. Warning[...]
-
Seite 22
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 +5 V AP A0 AP A1 AP A2 AP A3 AP A4 AP A5 AP A6 AP A7 APB0 APB1 APB2 APB3 APB4 APB5 APB6 APB7 APC0 APC1 APC2 APC3 APC4 APC5 APC6 APC7 GND BP A1 BP A2 B[...]
-
Seite 23
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 Cable +5 V CP A0 CP A1 CP A2 CP A3 CP A4 CP A5 CP A6 CP A7 CPB0 CPB1 CPB2 CPB3 CPB4 CPB5 CPB6 CPB7 CPC0 CPC1 CPC2 CPC3 CPC4 CPC5 CPC6 CPC7 GND DP A1 DP A2[...]
-
Seite 24
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..0> Bidirectional data lines for port C of PPI A[...]
-
Seite 25
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. In modes 1 and 2, or handshaking configuration, port C is used for status a[...]
-
Seite 26
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. • Absolute maximum voltage rating -0.5 to +5.5 V with respect[...]
-
Seite 27
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. Digital in[...]
-
Seite 28
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. These pins are referenced to GN[...]
-
Seite 29
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. RD* Internal Read—This signal is the read signal generated from the[...]
-
Seite 30
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. Timing Specifications for Mode 1 Input Transfer Name Description Minimum Maximum T1 STB* Pulse Width 100 — T2 STB* = 0 to IBF = 1 — 150 T3 Data bef[...]
-
Seite 31
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. Timing Specifications for Mode 1 Output Transfer Name Description Minimum Maximum T1 WR* = 0 to INTR = 0 — 250 T2 WR* = 1 to Output — 200 T3 WR* [...]
-
Seite 32
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. Timing Specifications for Mode 2 Bidirectional Transfer Name Description Minimum Maximum T1 WR* = 1 to OBF* = 0 — 150 T2 Data before ST[...]
-
Seite 33
© 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. Functional Overview The block diagram in Figure 4-1 illustrates the key functional components of the PCI-DIO-96 board[...]
-
Seite 34
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. The PCI-DIO-96 is fully compliant with Loca[...]
-
Seite 35
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. Each port can be programmed as an input or output port. Th[...]
-
Seite 36
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. Figure 4-2. PCI-DIO-96 Interrupt Control Circuitry Block Diagram CLK0 GA TE0 OUT0 CLK1 GA TE1 OUT1 CLK2 GA TE2 OUT2 2 MHz +5 V +5 V 82C55A PPI A 82C55A PPI B 82C55[...]
-
Seite 37
© 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. Note: If you plan to use a programming software package such as ComponentWorks, LabVIEW, LabWindows/CVI, or NI-DAQ with your PCI-DIO-96 board, you need not read [...]
-
Seite 38
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. Table 5-1. PCI-DIO-96 Address Map Register Name Offset Address (Hex) Size Type 82C55A Register Group PPI A PORTA Register PORTB Register PORTC Register Configuration Register 00 01 02[...]
-
Seite 39
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 . Always write a 0 to these bits. Register Descrip[...]
-
Seite 40
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. When the control word flag is 0, bits 3 through 0 select the bit set/re[...]
-
Seite 41
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. Register Description for the 82C53 Figure 5-2 shows the co[...]
-
Seite 42
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. One of these registers has individual enable bits for the two interrupt lines from e[...]
-
Seite 43
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 Bit Map: Bit Name Description 7 DIRQ1 PPI D Port B Interrupt Enable Bit—If this bit and the INTEN bit in Interrupt Control Register 2 are both set, PP[...]
-
Seite 44
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. If this bit is cleared, PPI B does not send t[...]
-
Seite 45
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. 2 INTEN Interrupt Enable Bit—If this bit is set, the PCI-DIO-96 can interrupt the computer. If[...]
-
Seite 46
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. To clear the interrupt, perform an 8-bit write [...]
-
Seite 47
© 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. The initialization steps are unique for PC and[...]
-
Seite 48
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. Note: In this chapter all numbers[...]
-
Seite 49
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. Writing an interrupt handler is solely left to you and is not discussed in this [...]
-
Seite 50
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 . 5. Write the window data value to offset[...]
-
Seite 51
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. When you use the toolkit, your application is divided into two parts—a drive[...]
-
Seite 52
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. ExpMgrConfigReadWord(deviceNode, ((LogicalAddress) 0x00000004L), &pciCommandRegister); ExpMgrConfigW[...]
-
Seite 53
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. Refer to Port C Pin Assignments in Chapter 3, Signal Connections , for more information. Progra[...]
-
Seite 54
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. Mode 1 This mode transfers data that is synchronized [...]
-
Seite 55
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 2 0 10000000 Output Output Output Output 1 10000001 Output Output Output Input 2 10000010 Output Output Input Output 3 10000011 Output Output Input I[...]
-
Seite 56
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. Write (8255Cnfg,0x80) Set mode 0—ports A, B, and C are outputs Write (PortA, Data) Write data to port A Write (PortB, Data) Write data to port B [...]
-
Seite 57
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. Figure 6-2. Control Word to Configure Port B for Mode 1 Input During a mode 1[...]
-
Seite 58
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 address + 07 (hex) for PPI B Base address + 0B (hex) for PPI C Base address + 0F (hex) for PPI D Type: Read and write Word Size: 8-bit Bit Map: Bit Name De[...]
-
Seite 59
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. Figure 6-3. Port C Pin Assignments on I/O Connector when Port[...]
-
Seite 60
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. Notice that port B does not have extra input or output lines from port C. Figure [...]
-
Seite 61
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 address + 07 (hex) for PPI B Base address + 0B (hex) for PPI C Base address + 0F (hex) for PPI D Type: Read and write Word Size: 8-bit Bit Map: Bit Name D[...]
-
Seite 62
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. Figure 6-6. Port C Pin Assignments on I/O Connector when Port C Configured for M[...]
-
Seite 63
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. The port C status-word bit definitions for a mode 2 transfer ar[...]
-
Seite 64
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 PPI A Base address + 07 (hex) for PPI B Base address + 0B (hex) for PPI C Base address + 0F (hex) for PPI D Type: Read and write Word Size: 8-bit Bit [...]
-
Seite 65
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. Figure 6-8 shows th[...]
-
Seite 66
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. After all sources of interrupts have been disabled or placed in an inactive state, you can [...]
-
Seite 67
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. Write (8255Cnfg, 0xB0) Set mode 1-port A is an input Write (8255Cnfg, 0x09) Set PC4 to enable interrupts from the 82C55A Write (IREG2, 0x04) [...]
-
Seite 68
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. However, only counter[...]
-
Seite 69
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. Write(Cnfg, 0x30) Turn off counter 0 Write(IREG2, 0x00) Disable all PCI-DIO-96 interrupts Note:[...]
-
Seite 70
[...]
-
Seite 71
© 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 ............................... 96 I/O Compatibility ......................................... TTL Refe[...]
-
Seite 72
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 ...................................Interrupts, programmed I/O Bus Interface Type ...................................................[...]
-
Seite 73
© 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. * Copyright© OKI Semiconductor. 1993. Reprinted with permission of copyright owner.[...]
-
Seite 74
© 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. * Copyright© OKI Semiconductor. 1993. Reprinted with permission of copyright owner. All rights [...]
-
Seite 75
© 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. When you contact us, we need the information on the [...]
-
Seite 76
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. Remember [...]
-
Seite 77
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. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions m[...]
-
Seite 78
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. Completing this form accurately bef[...]
-
Seite 79
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. Title: PCI-DIO-96 User Manual Edition Date: January 1997 Part Number: 320938B-01 Please comment on the completeness, clarity, and organization of the manual[...]
-
Seite 80
© 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 % percent Prefix Meaning Value p- pico- 10 -12 n- nano- 10 -9 µ - micro- 10 -6 m- milli- 10 -3 k- kilo- 10 3 M- mega- 10 6 G- giga- 10 9[...]
-
Seite 81
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 interrupt enable bit AIRQ1 PPI A port B interrupt enable bit ANSI American National Standards Institute APA PPI A port A APB PPI A port B APC PPI A port C A[...]
-
Seite 82
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 PPI C port B CPC PPI C port C CTR1 counter select bit CTRIRQ counter interrupt enable bit D DAQ a system that uses the personal computer to collect, m[...]
-
Seite 83
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. inches INTE1 port A output interrupt enable bit INTE2 port A input interrupt enable bit INTEA port A interrupt enable bit INTEB port B interrupt enable bit INTEN interrupt enable bit INTRA port A[...]
-
Seite 84
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..7> port A, B, or C 0 through 7 lines PCI Peripheral Component Interconnect—a high-performance expansion bus architecture ori[...]
-
Seite 85
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 conditioning low-level signals within an external chassis near sensors so only high-level signals are sent to DAQ boards in the noisy PC environment signal [...]
-
Seite 86
© 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 Programmable Interval Timer data sheet, C-1 to C-12 theory of operation, 4-3 82C53 programming considerations, 6-22 to 6-23 general information, 6-22 interr[...]
-
Seite 87
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..0> signal (table), 3-4 APB<7..0> signal (table), 3-4 APC<7..0> signal (table), 3-4 ASIC (MITE Application specific Integrated Circuit) chip, 6-3 B BIRQ0 bit, 5-8 BIRQ1 bit, 5-8 bit d[...]
-
Seite 88
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..0> signal (table), 3-4 E electronic support services, D-1 to D-2 e-mail support, D-2 environment specifications, A-2 equipment, optional, 1-5 F fax and telephone support, D-2 FaxBack support, D-2[...]
-
Seite 89
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 50, 3-2 pins 51 through 100, 3-3 digital I/O connector pin assignments (figure), 3-2 to 3-3 exceeding maximum ratings (warning), 3-1 Port C pin assign[...]
-
Seite 90
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* signal description (table), 3-8 Mode 1 output timing (figure), 3-11 Mode 2 bidirectional timing (figure), 3-12 OBFA* bit Mode 1 strobed output, 6-15 Mode 2[...]
-
Seite 91
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-1 to 6-23 82C53 programming considerations, 6-22 to 6-23 82C55A considerations, 6-7 to 6-8 Mode 0 basic I/O, 6-8 to 6-10 Mode 1 strobed input, 6-10 to[...]
-
Seite 92
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 Interrupt Clear Register, 5-10 Interrupt Control Register 1, 5-7 to 5-8 Interrupt Control Register 2, 5-9 82C55A Register Group address map (table), 5-2 con[...]
-
Seite 93
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 Mode 1 output timing (figure), 3-11 Mode 2 bidirectional timing (figure), 3-12[...]