National Instruments PC-DIO-24/PnP - Manuals
National Instruments PC-DIO-24/PnP – Manual in PDF format online.
Manuals:
Manual National Instruments PC-DIO-24/PnP
Summary
Important Information Warranty The PC-DIO-24 and PC-DIO-24PnP boards are 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 t...
© National Instruments Corporation v PC-DIO-24/PnP User Manual Contents About This Manual Organization of This Manual ........................................................................................ ixConventions Used in This Manual...............................................................
Contents © National Instruments Corporation vii PC-DIO-24/PnP User Manual Mode 1—Strobed Input .................................................................................. C-11 Mode 1 Input Programming Example.............................................. C-13 Mode 1—Strobed Output ..............
Contents PC-DIO-24/PnP User Manual viii © National Instruments Corporation Figure 3-7. Mode 2 Timing Specification for Bidirectional Transfers .................... 3-14 Figure 4-1. PC-DIO-24/PnP Block Diagram ........................................................... 4-1 Figure C-1. Control Word Fo...
© National Instruments Corporation ix PC-DIO-24/PnP User Manual About This Manual This manual describes the mechanical and electrical aspects of the PC-DIO-24/PnP and contains information concerning its operation and programming. The PC-DIO-24/PnP is a member of the National Instruments family of I/...
About This Manual PC-DIO-24/PnP User Manual x © National Instruments Corporation • Appendix C, Register-Level Programming, describes in detail the address and function of each of the PC-DIO-24/PnP control and status registers. • Appendix D, Using Your PC-DIO-24 (Non-PnP) Board, describes the differe...
About This Manual PC-DIO-24/PnP User Manual xii © National Instruments Corporation National Instruments Documentation The PC-DIO-24/PnP User Manual is one piece of the documentation set for your data acquisition (DAQ) system. You could have any of several types of manuals, depending on the hardware ...
About This Manual © National Instruments Corporation xiii PC-DIO-24/PnP User Manual Related Documentation The following documents contain information that you may find helpful as you read this manual: • Your computer technical reference manual • Plug and Play ISA Specification Customer Communication...
© National Instruments Corporation 1-1 PC-DIO-24/PnP User Manual Chapter 1 Introduction This chapter describes the PC-DIO-24/PnP, lists what you need to get started, describes software programming choices, optional equipment, and custom cables, and explains how to unpack the PC-DIO-24/PnP. About the...
Chapter 1 Introduction PC-DIO-24/PnP User Manual 1-2 © National Instruments Corporation What You Need to Get Started To set up and use your PC-DIO-24/PnP, you will need the following: ❑ PC-DIO-24PnP or PC-DIO-24 board ❑ PC-DIO-24/PnP User Manual ❑ One of the following software packages and documenta...
Chapter 1 Introduction © National Instruments Corporation 1-3 PC-DIO-24/PnP User Manual LabWindows/CVI features interactive graphics and 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 L...
Chapter 1 Introduction PC-DIO-24/PnP 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-l...
Chapter 1 Introduction © National Instruments Corporation 1-5 PC-DIO-24/PnP User Manual Optional Equipment National Instruments offers a variety of products to use with your PC-DIO-24/PnP board, including cables, connector blocks, and other accessories, as follows: • Cables and cable assemblies, shi...
Chapter 1 Introduction © National Instruments Corporation 1-7 PC-DIO-24/PnP User Manual Unpacking Your PC-DIO-24/PnP 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 han...
© National Instruments Corporation 2-1 PC-DIO-24/PnP User Manual Chapter 2 Installation and Configuration This chapter describes how to install and configure the PC-DIO-24/PnP. Installation Note: Install your driver software before installing your hardware. Refer to your NI-DAQ release notes for sof...
Chapter 2 Installation and Configuration PC-DIO-24/PnP User Manual 2-2 © National Instruments Corporation 1. Turn off and unplug your computer. 2. Remove the I/O channel top cover or access port. 3. Remove the expansion slot cover on the computer back panel. 4. Insert the PC-DIO-24/PnP into any 8- o...
Chapter 2 Installation and Configuration © National Instruments Corporation 2-3 PC-DIO-24/PnP User Manual Base I/O Address and Interrupt Selection To change base I/O address or interrupt selection, refer to the NI-DAQ Configuration Utility Help file. You can configure the PC-DIO-24PnP to use base ad...
© National Instruments Corporation 3-1 PC-DIO-24/PnP User Manual Chapter 3 Signal Connections This chapter includes timing specifications and signal connection instructions for the PC-DIO-24/PnP I/O connector. Caution: Connections that exceed any of the maximum ratings of input or output signals on ...
Chapter 3 Signal Connections © National Instruments Corporation 3-3 PC-DIO-24/PnP User Manual Signal Descriptions Table 3-1 describes the PC-DIO-24/PnP signals. The absolute maximum voltage input rating is –0.5 to +5.5 V with respect to GND. Port C Pin Assignments The signals assigned to port C depe...
Chapter 3 Signal Connections PC-DIO-24/PnP User Manual 3-4 © National Instruments Corporation Caution: During programming, note that each time you configure any port, output ports A and C are reset to 0, and output port B is undefined. Digital I/O Signal Connections The following specifications and ...
Chapter 3 Signal Connections © National Instruments Corporation 3-7 PC-DIO-24/PnP User Manual Power Connections Pin 49 of the I/O connector is connected to the +5 V supply from the PC power supply. This pin is referenced to GND and can be used to power external digital circuitry. This +5 V supply ha...
Chapter 3 Signal Connections © National Instruments Corporation 3-9 PC-DIO-24/PnP User Manual Low DIO Power-up State If you select pulled-low mode, each DIO line will be pulled to GND (0 VDC) using a 100 k Ω resistor. To pull a specific line high, connect a pull-up resistor that will give you a mini...
Chapter 3 Signal Connections PC-DIO-24/PnP User Manual 3-10 © National Instruments Corporation Therefore: R L = 5.6 k Ω ; 2.2 V / 39 µ A This resistor value, 5.6 k Ω , provides a minimum of 2.8 V on the DIO line at power up. You can substitute smaller resistor values but they will draw more current,...
Chapter 3 Signal Connections PC-DIO-24/PnP User Manual 3-12 © National Instruments Corporation Mode 1 Input Timing The following figure illustrates the timing specifications for an input transfer in mode 1. Figure 3-5. Mode 1 Timing Specification for Input Transfers Name Description Minimum Maximum ...
Chapter 3 Signal Connections © National Instruments Corporation 3-13 PC-DIO-24/PnP User Manual Mode 1 Output Timing The following figure illustrates the timing specifications for an output transfer in mode 1. Figure 3-6. Mode 1 Timing Specification for Output Transfers Name Description Minimum Maxim...
Chapter 3 Signal Connections PC-DIO-24/PnP User Manual 3-14 © National Instruments Corporation Mode 2 Bidirectional Timing The following figure illustrates the timing specifications for bidirectional transfers in mode 2. Figure 3-7. Mode 2 Timing Specification for Bidirectional Transfers Name Descri...
© National Instruments Corporation 4-1 PC-DIO-24/PnP User Manual Chapter 4 Theory of Operation This chapter contains a functional overview of the PC-DIO-24/PnP board and explains the operation of each functional unit making up the PC-DIO-24/PnP. Functional Overview The block diagram in Figure 4-1 il...
Chapter 4 Theory of Operation PC-DIO-24/PnP User Manual 4-2 © National Instruments Corporation Bus Transceivers The bus transceivers send and receive data lines and other signals to and from the PC I/O channel. Bus Interface The PC-DIO-24PnP Plug and Play circuitry automatically arbitrates and assig...
Chapter 4 Theory of Operation © National Instruments Corporation 4-3 PC-DIO-24/PnP User Manual Digital I/O Connector All digital I/O is transmitted through a standard, 50-pin, male connector. Pin 49 is connected to +5 V through a resettable protection fuse. You can use this +5 V supply to operate I/...
© National Instruments Corporation A-1 PC-DIO-24/PnP User Manual Appendix A Specifications This appendix lists the specifications for the PC-DIO-24/PnP board. These specifications are typical at 25° C, unless otherwise stated. The operating temperature range is 0° to 70° C. Digital I/O Number of cha...
Appendix A Specifications PC-DIO-24/PnP User Manual A-2 © National Instruments Corporation Output Signals Pin 49 (at 4.65 to 5.25 VDC) .............. 1.0 A max Power Requirement +5 VDC (±10%) ................................. 0.45 A typ, 1 A max Physical Dimensions .....................................
Appendix A Specifications © National Instruments Corporation A-3 PC-DIO-24/PnP User Manual Environment Operating temperature ........................0° to 70° C Storage temperature ............................–55° to 150° C Relative humidity ...............................5% to 90% noncondensing Tra...
Appendix C Register-Level Programming © National Instruments Corporation C-3 PC-DIO-24/PnP User Manual Register Map The following table lists the address map for the PC-DIO-24/PnP. Register Description for the 82C55A Figure C-1 shows the two control word formats used to completely program the 82C55A...
Appendix C Register-Level Programming © National Instruments Corporation C-5 PC-DIO-24/PnP User Manual Table C-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. Registe...
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-6 © National Instruments Corporation Interrupt Control Register 1 (PnP Board Only) Bit Name Description 2–7 x Reserved bit. 1 IRQ1 PPI Interrupt Request for Port B—If this bit and the INTEN bit in Interrupt Control Register 2 are both...
Appendix C Register-Level Programming © National Instruments Corporation C-7 PC-DIO-24/PnP User Manual Interrupt Control Register 2 (PnP Board Only) Bit Name Description 1–0, 3–7 X Reserved Bit. 2 INTEN Global Interrupt Enable Bit—If this bit is set, the PC-DIO-24PnP can interrupt the host computer....
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-8 © National Instruments Corporation Programming Considerations for the 82C55A Modes of Operation for the 82C55A The three basic modes of operation for the 82C55A are as follows: • Mode 0—Basic I/O • Mode 1—Strobed I/O • Mode 2—Bidire...
Appendix C Register-Level Programming © National Instruments Corporation C-9 PC-DIO-24/PnP User Manual Mode 2 Use this mode for communication over a bidirectional 8-bit bus. Handshaking signals are used in a manner similar to mode 1. Mode 2 is available for use in group A only (port A and the upper ...
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-10 © National Instruments Corporation Mode 0 Programming Example The following example shows how to configure the 82C55A for various combinations of mode 0 input and output. This code is strictly an example and is not intended to be u...
Appendix C Register-Level Programming © National Instruments Corporation C-11 PC-DIO-24/PnP User Manual outp(portc,0x56); /* Write data to port C. */ /* EXAMPLE 2*/ outp(cnfg,0x90); /* Port A is input; ports B and C are outputs. */ outp(portb,0x22); /* Write data to port B. */ outp(portc,0x55); /* W...
Appendix C Register-Level Programming © National Instruments Corporation C-13 PC-DIO-24/PnP User Manual 0 INTRB Interrupt Request Status for Port B—When INTEB and IBFB are high, this bit is high, indicating that an interrupt request is pending for port B. At the digital I/O connector, port C has the...
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-14 © National Instruments Corporation /* EXAMPLE 1–port A input */ outp(cnfg,0xB0); /* Port A is an input in mode 1. */ while (!(inp(portc) & 0x20)); /* Wait until IBFA is set, indicating that data has been loaded in port A. */ va...
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-16 © National Instruments Corporation Figure C-3. Port C Pin Assignments, Mode 1 Output Mode 1 Output Programming Example The following example shows how to configure PPI A for various combinations of mode 1 output. This code is stric...
Appendix C Register-Level Programming © National Instruments Corporation C-17 PC-DIO-24/PnP User Manual /* EXAMPLE 2–port B output */ outp(cnfg,0x84); /* Port B is an output in mode 1.*/ while (!(inp(portc) & 0x02)); /* Wait until OBFB* is set, indicating that the data last written to port B has...
Appendix C Register-Level Programming © National Instruments Corporation C-19 PC-DIO-24/PnP User Manual At the digital I/O connector, port C has the following pin assignments when in mode 2. Notice that the status of STBA* and the status of ACKA* are not included in the port C status word. Figure C-...
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-20 © National Instruments Corporation cnfg = BASE_ADDRESS + CNFGoffset; /* EXAMPLE 1*/ outp(cnfg,0xC0); /* Port A is in mode 2. */ while (!(inp(portc) & 0x80)); /* Wait until OBFA* is set, indicating that the data last written to ...
Appendix C Register-Level Programming PC-DIO-24/PnP User Manual C-22 © National Instruments Corporation outp(ireg1,0x02); /* Set IRQ1 to enable port B interrupts. */ outp(ireg2,0x04); /* Set INTEN bit. */ /* EXAMPLE 5–Set up interrupts for mode 2 output transfers. Enable the appropriate interrupt bi...
Appendix D Using Your PC-DIO-24 (Non-PnP) Board PC-DIO-24/PnP User Manual D-2 © National Instruments Corporation Configuration The PC-DIO-24 contains one DIP switch and two jumpers to configure the base I/O address, interrupt level, and interrupt enable signal. Figure D-1 shows the location of DIP s...
Appendix D Using Your PC-DIO-24 (Non-PnP) Board © National Instruments Corporation D-3 PC-DIO-24/PnP User Manual Figure D-1. PC-DIO-24 Parts Locator Diagram Base I/O Address Settings The base I/O address for the PC-DIO-24 is determined by the switches at position U9 (see Figure 2-1). The switches ar...
Appendix D Using Your PC-DIO-24 (Non-PnP) Board © National Instruments Corporation D-5 PC-DIO-24/PnP User Manual Interrupt Selection There are two sets of jumpers for interrupt selection on the PC-DIO-24 board. W3 is used for selecting the interrupt enable line. W2 is for selecting the interrupt lev...
Appendix D Using Your PC-DIO-24 (Non-PnP) Board PC-DIO-24/PnP User Manual D-6 © National Instruments Corporation Interrupt Enable Settings To enable interrupt requests from the PC-DIO-24, you must set jumper W3 to select PC2, PC4, or PC6 as the active low interrupt enable line. When the interrupt en...
© National Instruments Corporation E-1 PC-DIO-24/PnP User Manual Appendix E 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 Support 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. E-Mail Support (Currently USA Only) You can submit technical support que...
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 ...
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: PC-DIO-24/PnP User Manual Edition Date: February 1998 Part Number: 320288C-01 Please comment on the...
© National Instruments Corporation G-1 PC-DIO-24/PnP User Manual Glossary Symbols ° degrees – negative of, or minus Ω ohms / per % percent + positive of, or plus A A ampere AC alternating current address character code that identifies a specific location (or series of locations) in memory AWG Americ...
© National Instruments Corporation I-1 PC-DIO-24/PnP User Manual Index Special Characters +5 V signal connection to ground or other voltage source (caution), 3-7 description (table), 3-3power connections, 3-7self-resetting fuse, 3-7 82C55A Programmable Peripheral Interface capabilities, 1-1data shee...
National Instruments Manuals
-
National Instruments SCC-AI01
Manual
-
National Instruments USB-6008/6009
Manual
-
National Instruments 7334
Manual
-
National Instruments NI 9403E
Manual
-
National Instruments DIO 6533
Manual
-
National Instruments NI PCI-5114
Manual
-
National Instruments 1000DC
Manual
-
National Instruments 321518A-01
Manual
-
National Instruments NI 5672
Manual
-
National Instruments USB-9221
Manual
-
National Instruments PCI
Manual
-
National Instruments NI 9229
Manual
-
National Instruments 6211
Manual
-
National Instruments NI 9217
Manual
-
National Instruments NI USB-6009
Manual
-
National Instruments NI sbRIO-960x
Manual
-
National Instruments 6024E
Manual
-
National Instruments 3.x
Manual
-
National Instruments NI 784xR
Manual
-
National Instruments NI-Motion
Manual