Manual National Instruments 6508 PCI-DIO-96

93 pages 0.52 mb
Download

Go to site of 93

Summary
  • National Instruments 6508 PCI-DIO-96 - page 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. ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 4

    ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ................................................. ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ....................... ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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, ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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* ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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) ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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: ...

  • National Instruments 6508 PCI-DIO-96 - page 70

    ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ................................................... ...

  • National Instruments 6508 PCI-DIO-96 - page 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. ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

  • National Instruments 6508 PCI-DIO-96 - page 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 ...

Manufacturer National Instruments Category Network Card

Documents that we receive from a manufacturer of a National Instruments 6508 PCI-DIO-96 can be divided into several groups. They are, among others:
- National Instruments technical drawings
- 6508 PCI-DIO-96 manuals
- National Instruments product data sheets
- information booklets
- or energy labels National Instruments 6508 PCI-DIO-96
All of them are important, but the most important information from the point of view of use of the device are in the user manual National Instruments 6508 PCI-DIO-96.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals National Instruments 6508 PCI-DIO-96, service manual, brief instructions and user manuals National Instruments 6508 PCI-DIO-96. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product National Instruments 6508 PCI-DIO-96.

A complete manual for the device National Instruments 6508 PCI-DIO-96, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use National Instruments 6508 PCI-DIO-96 by users. Manuals are usually written by a technical writer, but in a language understandable to all users of National Instruments 6508 PCI-DIO-96.

A complete National Instruments manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual National Instruments 6508 PCI-DIO-96 - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the National Instruments 6508 PCI-DIO-96, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the National Instruments 6508 PCI-DIO-96, that we can find in the current document
3. Tips how to use the basic functions of the device National Instruments 6508 PCI-DIO-96 - which should help us in our first steps of using National Instruments 6508 PCI-DIO-96
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with National Instruments 6508 PCI-DIO-96
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of National Instruments 6508 PCI-DIO-96 in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning National Instruments 6508 PCI-DIO-96?

Use the form below

If you did not solve your problem by using a manual National Instruments 6508 PCI-DIO-96, ask a question using the form below. If a user had a similar problem with National Instruments 6508 PCI-DIO-96 it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)