E-mail: support@natinst.com
FTP Site: ftp.natinst.com
Web Address: http://www.natinst.com
Bulletin Board Support
BBS United States: 512 794 5422
BBS United Kingdom: 01635 551422
BBS France: 01 48 65 15 59
Fax-on-Demand Support
512 418 1111
Telephone Support (USA)
Tel: 512 795 8248
Fax: 512 794 5678
International Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 288 3336,
Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark 45 76 26 00,
Finland 09 725 725 11, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186,
Israel 03 6120092, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico 5 520 2635,
Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70,
Switzerland 056 200 51 51, Taiwan 02 377 1200, United Kingdom 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point Parkway Austin, Texas 78730-5039 USA Tel: 512 794 0100
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 that proves to be defective during the warranty period. This warranty includes
parts and labor.
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials an d work manship, fo r a pe riod of 90 days from date of shipment , as evi denced
by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do
not execute programming instructions if National Instruments receives notice of such defects during the warranty
period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside
of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping
costs of returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this manual is accurate. The document has been carefully
reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves
the right to make changes to subseq uent editio ns of th is do cum ent wi thout prio r not ice to ho lders of this edit ion. Th e
reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for
any damages arising out of or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN
E
SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL
C
NSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
I
WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action
against National Instruments must be brought within one year after the cause of action accrues. National Instruments
shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided
herein does not cover damages, defects, malfunctions, or service failures caused by owner’s failure to follow the
National Instruments installation, operation, or maintenance instructions; owner’s modification of the product;
owner’s abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or
other events outside reasonable control.
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND
, N
.
ATIONAL INSTRUMENTS
. N
. This limitation of the liability of National
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part,
without the prior written consent of National Instruments Corporation.
Trademarks
BridgeVIEWTM, ComponentWorksTM, CVITM, LabVIEWTM, MeasureTM, NI-DAQTM, and VirtualBenchTM are
trademarks of National Instruments Corporation.
Product and company names referred to in this document are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with components and testing intended to ensure a level of reliability
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving
medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the
part of the user or application designer. Any use or application of National Instruments products for or involving
medical or clinical treatment must be performed by properly trained and qualified medical perso nnel, and all traditi onal
medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury
or death should always continue to be used when National Instruments products are being used. National Instruments
products are NOT intended to be a substitute for any form of established process, procedure, or equipment used to
monitor or safeguard human health and safety in medical or clinical treatment.
FCC/DOC Radio Frequency Interference
Class A Compliance
This equipment generates and uses radio frequency energy and, if not installed and used in strict
accordance with the instructions in this manual, may cause interference to radio and television
reception. Classification requirements are the same for the Federal Communications Commission
(FCC) and the Canadian Department of Communications (DOC). This equipment has been tested and
found to comply with the following two regulatory agencies:
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against
harmful interference when the equipment is operated in a commercial environment. This equipment
generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with
the instruction manual, may cause harmful interference to radio communications. Operation of this
equipment in a residential area is likely to cause harmful interference in which case the user will be
required to correct the interference at his own expense.
Notice to User:Changes or modifications not expressly approved by National Instruments could void
If necessary, consult National Instruments or an experienced radio/television technician for additional
suggestions. The following booklet prepared by the FCC may also be helpful: Interference to Home Electronic Entertainment Equipment Handbook. This booklet is available from the U.S. Government
Printing Office, Washington, DC 20402.
the user’s authority to operate the equipment under the FCC Rules.
Canadian Department of Communications
This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment
Regulations.
Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel
brouilleur du Canada.
About This Manual
Organization of This Manual........................................................................................ix
Conventions Used in This Manual................................................................................x
National Instruments Documentation...........................................................................xii
Related Documentation.......................................... .................................. .....................xiii
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/O channel expansion boards for ISA computers. These boards are
designed for high-performance, low-cost data acquisition and control
for applications in laboratory testing, production testing, and industrial
process monitoring and control.
This manual applies to the PC-DIO-24PnP and to the PC-DIO-24, a
non-Plug and Play device. The boards are identical except for the
differences listed in Appendix D,
Board
.
Organization of This Manual
About
This
Manual
Using Your PC-DIO-24 (Non-PnP)
PC-DIO-24/PnP User Manual
The
•Chapter 1,
you need to get started, describes software programming choices,
optional equipment, and custom cables, and explains how to
unpack the PC-DIO-24/PnP.
•Chapter 2,
and configure the PC-DIO-24/PnP.
•Chapter 3,
signal connection instructions for the PC-DIO-24/PnP I/O
connector.
•Chapter 4,
the PC-DIO-24/PnP board and explains the operation of each
functional unit making up the PC-DIO-24/PnP.
•Appendix A,
PC-DIO-24/PnP board.
•Appendix B,
data sheet for the OKI Semiconductor 82C55A CMOS PPI.
National Instruments CorporationixPC-DIO-24/PnP User Manual
Introduction
Installation and Configuration
Signal Connections
Theory of Operation,
Specifications
OKI 82C55A Data Sheet
is organized as follows:
, describes the PC-DIO-24/PnP, lists what
, describes how to install
, includes timing specifications and
contains a functional overview of
, lists the specifications for the
, contains the manufacturer
About This Manual
•Appendix C,
address and function of each of the PC-DIO-24/PnP control and
status registers.
•Appendix D,
the differences between the PC-DIO-24 and PC-DIO-24PnP
boards, the PC-DIO-24 board configuration, and the PC-DIO-24
installation into your computer.
•Appendix E,
use to request help from National Instruments or to comment on
our products.
•The
•The
Glossary
used in this manual, including abbreviations, acronyms, metric
prefixes, mnemonics, symbols, and terms.
Index
the page where you can find each one.
Register-Level Programming
Using Your PC-DIO-24 (Non-PnP) Board
Customer Communication
contains an alphabetical list and description of terms
alphabetically lists the topics in this manual, including
Conventions Used in This Manual
The following conventions are used in this manual:
This icon to the left of bold italicized text denotes a note, which alerts
you to important information.
, describes in detail the
, describes
, contains forms you can
!
82C55A82C55A refers to the OKI Semiconductor 82C55A CMOS PPI.
<>Angle brackets containing numbers separated by an ellipsis represent
boldBold text denotes the names of menus, menu items, parameters, dialog
bold italicBold italic text denotes a note, caution, or warning.
italic
PC-DIO-24/PnP User Manualx
This icon to the left of bold italicized text denotes a caution, which
advises you of precautions to take to avoid injury, data loss, or a
system crash.
a range of values associated with a bit or signal name (for example,
PB<7..0>).
boxes, dialog box buttons or options, icons, windows, Wi ndows 95 tabs,
or LEDs.
Italic text denotes emphasis, a cross reference, or an introduction to
a key concept.
monospaceText in this font denotes text or characters that you should enter literally
from the keyboard, sections of code, programming examples, and
syntax examples. This font is also used for the proper names of disk
drives, paths, directories, programs, subprograms, subroutines, device
names, functions, operations, variables, filenames and extensions, and
for statements and comments taken from programs.
NI-DAQNI-DAQ refers to the NI-DAQ software for PC compatibles unless
otherwise noted.
PCPC refers to the IBM PC/XT, the IBM PC AT, and compatible ISA bus
computers unless otherwise noted.
PC-DIO-24/PnPPC-DIO-24/PnP refers to both the Plug and Play and non-Plug and Play
compatible versions of the board.
PC-DIO-24PnPPC-DIO-24PnP refers to the Plug and Play version of the board.
PC-DIO-24PC-DIO-24 refers to the non-Plug and Play version of the board.
PnPPnP (Plug and Play) refers to a device that is fully compatible with the
industry standard Plug and Play ISA Specification.
non-PnPNon-PnP refers to a device that requires you to configure the device
base address and interrupt level with switches and jumpers. You must
perform this configuration before installing the product in the
computer.
PPIPPI (programmable peripheral interface) is the DIO chip on the
PC-DIO-24/PnP board.
SCXISCXI 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
National Instruments CorporationxiPC-DIO-24/PnP User Manual
About This Manual
National Instruments Documentation
PC-DIO-24/PnP User Manual
The
set for your data acquisition (DAQ) system. You could have any of
several types of manuals, depending on the hardware an d software in
your system. Use the different types of manuals you have as follows:
Getting Started with SCXI
•
manual you should read. It gives an overview of the SCXI system
and contains the most commonly needed information for the
modules, chassis, and software.
•Your SCXI hardware user manuals—If you are using SCXI,
read these manuals next for detailed information about signal
connections and module configuration. They also explain in greater
detail how the module works and contain application hin ts.
•Your DAQ hardware user manuals—These manuals have detailed
information about the DAQ hardware that plugs into or is
connected to your computer. Use these manuals for hardware
installation and configuration instructions, specification
information about your DAQ hardware, and application hints.
•Software documentation—Examples of software documentation
you may have are the LabVIEW and LabWindows/CVI manual sets
and the NI-DAQ documentation. After you set up your hardware
system, use either the application software documentation or the
NI-DAQ documentation to help you write your application. If you
have a large and complicated system, it is worthwhile to look
through the software documentation before you configure your
hardware.
•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 guides when you are making your connections.
SCXI Chassis Manual
•
information on the chassis and for installation instructions.
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 wants to receive your comments on our products
and manuals. We are interested in the applications you develop with
our products, and we want to help if you have problems with them.
To make it easy for you to contact us, this manual contains comment
and configuration forms for you to complete. These forms are in
Appendix E,
National Instruments CorporationxiiiPC-DIO-24/PnP User Manual
Chapter
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 PC-DIO-24/PnP
Thank you for purchasing the National Instruments PC-DIO-24/PnP.
The PC-DIO-24/PnP is a low cost, 24-bit, parallel digital I/O interface
for ISA computers. An OKI 82C55A programmable peripheral
interface (PPI) chip controls the 24 bits of digital I/O. The 82C55A chip
is very flexible and powerful when interfacing with peripheral
equipment, can operate in either a unidirectional or bidirectional bus
mode, and can generate interrupt requests to the host compu ter. You can
program the 82C55A chip for numerous 8-bit, 16-bit, or 24-bit digital
I/O applications. All digital I/O communication is through a standard
50-pin male connector. The pin assignments for this connector are
compatible with standard 24-channel digital I/O applications.
PnP
refers to the Plug and Play technology used in this board. See the
definition in the
version of the PC-DIO-24/PnP, see Appendix D,
PC-DIO-24 (Non-PnP) Board
version and the non-PnP version.
Glossary
1
for an explanation. If you have the non-PnP
Using Your
, for the differences between the PnP
You can use the PC-DIO-24/PnP in a wide range of digital I/O
applications. With the PC-DIO-24/PnP, you can use your PC as a digital
I/O system controller for laboratory testing, production testing, and
industrial process monitoring and control.
Detailed specifications of the PC-DIO-24/PnP are in Appendix A,
National Instruments Corporation1-1PC-DIO-24/PnP User Manual
Chapter 1Introduction
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 documentation:
BridgeVIEW
ComponentWorks
LabVIEW for Windows
LabWindows/CVI
Measure
NI-DAQ for PC compatibles
VirtualBench
❑ Your computer
Software Programming Choices
You have several options to choose from when programming your
National Instruments DAQ and SCXI hardware. You can use National
Instruments application software, NI-DAQ, or register-level
programming.
National Instruments Application Software
ComponentWorks contains tools for data acquisition and instrument
control built on NI-DAQ driver software. ComponentWorks provides
a higher-level programming interface for building virtual instruments
through standard OLE controls and DLLs. With ComponentWork s, you
can use all of the configuration tools, resource management utilities,
and interactive control utilities included with NI-DAQ.
LabVIEW features interactive graphics and a state-of-the-art user
interface and a powerful graphical programming language. The
LabVIEW Data Acquisition VI Library, a series of VIs for using
LabVIEW with National Instruments DAQ hardware, is included with
LabVIEW. The LabVIEW Data Acquisition VI Library is functionally
equivalent to NI-DAQ software.
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 LabWindows/CVI with National Instruments DAQ hardware,
is included with the NI-DAQ software kit. The LabWindows/CVI Data
Acquisition Library is functionally equivalent to the NI-DAQ so ftware.
VirtualBench features virtual instruments that combine DAQ products,
software, and your computer to create a stand-alone instrument with the
added benefit of the processing, display, and storage capabilities of
your computer. VirtualBench instruments load and save waveform data
to disk in the same forms that can be used in popular spreadsheet
programs and word processors.
Using ComponentWorks, LabVIEW, LabWindows/CVI, or
VirtualBench software will greatly reduce the development time
for your data acquisition and control application.
NI-DAQ Driver Software
The NI-DAQ driver software is included at no charge with all National
Instruments DAQ hardware. NI-DAQ has an extensive library of
functions that you can call from your application programming
environment. These functions include routines for analog input
(A/D conversion), buffered data acquisition (high-speed A/D
conversion), analog output (D/A conversion), waveform generation,
digital I/O, counter/timer operations, SCXI, RTSI, self-calibration,
messaging, and acquiring data to extended memory.
Chapter 1Introduction
NI-DAQ also internally addresses many of the complex issues between
the computer and the plug-in device, such as programming interrupts
and DMA controllers. NI-DAQ maintains a consistent software
interface among its different versions so that you can change platforms
with minimal modifications to your code. Figure 1-1 illustrates the
relationship between NI-DAQ and your National Instruments
application software.
National Instruments Corporation1-3PC-DIO-24/PnP User Manual
Chapter 1Introduction
Programming Environment
SCXI Hardware
Figure 1-1. The Relationship between the Programming Environment,
Register-Level Programming
The final option for programming any National Instruments DAQ
hardware is to write register-level software. Writing register-level
programming software can be very time-consuming and inefficient,
and is not recommended for most users.
Conventional
DAQ or
ComponentWorks,
LabVIEW,
LabWindows/CVI, or
VirtualBench
NI-DAQ
Driver Software
Personal
Computer or
Workstation
NI-DAQ, and Your Hardware
Even if you are an experienced register-level programmer, consider
using National Instruments application software to program your
National Instruments DAQ hardware. Using the National Instruments
application software is easier than, and as flexible as, register-level
programming, and can save weeks of development time.
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, shielded and ribbon
•Connector blocks, shielded and unshielded 50-pin screw terminals
•SCXI modules and accessories for isolating, amplifying, exciting,
and multiplexing signals for relays and analog output. With SCXI
you can condition and acquire up to 3,072 channels.
•Low channel-count signal conditioning modules, boards, and
accessories, including conditioning for strain gauges and RTDs,
simultaneous sample and hold, and relays.
For more specific information about these products, refer to your
National Instruments catalogue or call the office nearest you.
Note:The PC-DIO-24/PnP can drive the SSR-ODC-5 output module and all SSR
input modules available from National Ins truments, but c annot reli ably
sink sufficient current to drive the SSR-OAC-5 and SSR-OAC-5A output
modules.
Chapter 1Introduction
To drive a SSR-OAC-5 or SSR-OAC-5A, you can either use a non-inverting
digital buffer chip between the PC-DIO-24/PnP and the SSR backplane, or
use another National Instruments board with higher drive current.
Custom Cables
National Instruments offers cables and accessories for you to prototype
your application or to use if you frequently change board
interconnections.
If you want to develop your own cable, however, the following
guidelines may be useful.
The PC-DIO-24/PnP I/O connector is a 50-pin male ribbon-cable
header. The manufacturer part numbers used by National Instruments
for this header are as follows:
•Electronic Products Division/3M (part number 2550-5002)
National Instruments Corporation1-5PC-DIO-24/PnP User Manual
Chapter 1Introduction
The mating connector for the PC-DIO-24/PnP is a 50-position,
polarized, ribbon socket connector with strain relief. National
Instruments uses a polarized (keyed) connector to prevent inadvertent
upside-down connection to the PC-DIO-24/PnP. Recommended
manufacturer part numbers for this mating connector are as follows:
•Electronic Products Division/3M (part number 3425-7650)
•T&B/Ansley Corporation (part number 622-5041)
The standard ribbon cables (50-conductor, 28 AWG, stranded) that can
be used with these connectors are as follows:
•Electronic Products Division/3M (part number 3365/50)
•T&B/Ansley Corporation (part number 171-50)
Recommended manufacturer part numbers for the 50-pin edge
connector for connecting to a module rack with an edge connector are
as follows:
•Electronic Products Division/3M (part number 3415-0001)
•T&B Ansley Corporation (part number 622-5015)
A polarizing key can be plugged into these edge connectors to prevent
inadvertent upside-down connection to the I/O module rack. The
location of this key varies from rack to rack. Consult the specification
for the rack you intend to use for the location of any polarizing key. The
recommended manufacturer part numbers for this polarizing key are as
follows:
•Electronic Products Division/3M (part number 3439-2)
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
handling the board, take the following precautions:
•Ground yourself via a grounding strap or by holding a grounded
object.
•Touch the antistatic package to a metal part of your PC chassis
before removing the board from the package.
•Remove the board from the package and inspect the board for loose
components or any other sign of damage. Notify National
Instruments if the board appears damaged in any way.
National Instruments Corporation2-1PC-DIO-24/PnP User Manual
The PC-DIO-24/PnP uses 100 kΩ resistors for polarity selection at
power-up. You can use jumper W1 to select whether data signals are pulled
up to Vcc (+5 VDC), factory default, or pulled down to GND. Figure 2-1
shows jumper W1. For more information, see the
State Selection
You can install the PC-DIO-24/PnP in any unused 8- or 16-bit
expansion slot in your computer. The following are general installation
instructions, but consult your computer user manual or technical
reference manual for specific instructions and warnings.
section in Chapter 3,
Jumper W1 Location
Digital I/O Power-up
Signal Connections
.
Chapter 2Installation and Configuration
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- or 16-bit slot. It may be a
tight fit, but
5.Screw the PC-DIO-24/PnP mounting bracket to the computer back
panel rail.
6.Visually verify the installation.
7.Replace the computer cover.
8.Plug in and turn on your computer.
The PC-DIO-24/PnP board is now installed.
Hardware Configuration
Plug and Play
The PC-DIO-24PnP is fully compatible with the industry-standard
Intel/Microsoft Plug and Play Specification. A Plug and Play system
arbitrates and assigns resources through software, freein g you from
manually setting switches and jumpers. These resources include the
PC-DIO-24PnP base I/O address and interrupt channel.
do not
force the board into place.
The Configuration Manager receives all of the resource requests at
startup, compares the available resources to those requested, and
assigns the available resources as efficiently as possible to the Plug and
Play boards. Application software can query the Configuration
Manager to determine the resources assigned to each board without
your involvement. The Plug and Play software is installed as a device
driver or as an integral component of the computer BIOS.
To change base I/O address or interrupt selection, refer to th e NI-DAQ
Configuration Utility Help file. You can configure the PC-DIO-24PnP
to use base addresses in the range of 100 to 3E0 hex. Each board
occupies 32 bytes of address space and must be located on a 32-byte
boundary. Therefore, valid addresses include 100, 120, 140…, 3 E0 hex.
The PC-DIO-24PnP can use interrupt channel 3, 4, 5, 7, or 9.
Note:To configure the non-Plug and Play PC-DIO-24 board, refer to
National Instruments Corporation2-3PC-DIO-24/PnP User Manual
Chapter
Signal Connections
This chapter includes timing specifications and signal connection
instructions for the PC-DIO-24/PnP I/O connector.
Caution:
!
I/O Connector
Connections that exceed any of the maximum ratings of input or output
signals on the PC-DIO-24/PnP can damage the board and the PC. National
Instruments is
connections. Maximum ratings for each signal are given in this chapter
under the discussion of that signal.
Figure 3-1 shows the pin assignments for the PC-DIO-24/PnP digital
I/O connector.
liable for any damages resulting from any such signal
The absolute maximum voltage input rating is –0.5 to +5.5 V with
respect to GND.
Name
PC<7..0>Port C—Bidirectional data lines for
PB<7..0>Port B—Bidirectional data lines for
PA<7..0>Port A—Bidirectional data lines for
GNDGround—These signals are
Signal Descriptions
Description
port C. PC7 is the MSB, PC0 the
LSB.
port B. PB7 is the MSB, PB0 the
LSB.
port B. PA7 is the MSB, PA0 the
LSB.
to 1 A at +4.65 to 5.25 V.
connected to the computer ground
reference.
Port C Pin Assignments
The signals assigned to port C depend on the mode in which the
82C55A is programmed. In mode 0, port C is treated as one 8-bit
I/O port. If port A or B is in mode 1 or 2, then some or all of the port C
lines are used for status and handshaking signals. Any unused lines are
available for general-purpose input and output. Table 3-2 summarizes
the signal assignments of port C for each programmable mode. Ports A
and B can be in different modes; the table does not show every possible
combination. See Appendix C,
register-level programming information.
The following specifications and ratings apply to the digital I/O lines.
The maximum input logic high and output logic high voltages assume a
Vcc supply voltage of 5.0 V.
The absolute maximum voltage rating is –0.5 to +5.5 V with respect to
GND.
INTR
B
B
Digital input specifications (referenced to GND):
Input logic high voltage 2.2 V min5.3 V max
Input logic low voltage–0.3 V min0.8 V max
Input high current
(Vin = 5 V, W1 set to pullup) —11.0 µA max
Input high current
(Vin = 5 V, W1 set to pulldown)—65 µA max
Input logic low current
(Vin = 0 V, W1 set to pullup)—–65 µA max
Input logic low current
National Instruments Corporation3-5PC-DIO-24/PnP User Manual
Chapter 3Signal Connections
+5 V
LED
+5 V
TTL Signal
Switch
I/O Connector
41
43
45
47
67
69
71
73
+5 V
Jumper
Selectable (W1)
100 kΩ100 kΩ100 kΩ100 kΩ
PPI
Port A
PA<3..0>
100 kΩ100 kΩ100 kΩ100 kΩ
PPI
Port B
PB<7..4>
50, 100
GND
PC-DIO-24/PnP
Figure 3-2. Digital I/O Connections
In Figure 3-2, port A is configured for digital output, and port B is
configured for digital input. Digital input applications include receiv ing
TTL signals and sensing external device states such as the state of the
switch in Figure 3-2. Digital output applications include sending TTL
signals and driving external devices such as the LED shown in this
figure.
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 u sed to power
external digital circuitry. This +5 V supply has a 1 A self-resetting
protection fuse in series. Simply remove the circuit causing the heavy
current load and the fuse will reset itself.
Power rating1 A at +4.65 to 5.25 V
Caution:Under no circumstances should this +5 V power pin be connected directly
!
to ground or to any other voltage source on the PC-DIO-24/PnP or any
other device. Doing so may damage the PC-DIO-24/PnP and the PC.
National Instruments is
connection.
liable for damage resulting from such a
NOT
Digital I/O Power-up State Selection
You can power up the PC-DIO-24/PnP digital I/O lines in a
user-defined state. The PC-DIO-24/PnP facilitates user-configurable
pull-up or pull-down. Each DIO channel is connected to a 100 kΩ
resistor and can be pulled high or low using jumper W1. You can
use W1 to pull all 24 DIO lines high or low. However, you may want to
pull individual lines in different directions. To do this properly, you
must understand the nature of the drive current on those lines and
adhere to TTL logic levels.
Chapter 3Signal Connections
High DIO Power-up State
If you select the pulled-high mode, each DIO line will be pulled to Vcc
(approximately +5 VDC) with a 100 kΩ resistor. If you want to pull a
specific line low, connect between that line and ground a pull-down
resistor (R
the largest possible resistor ensures that you do not use more current
than necessary to perform the pull-down task, and that the DIO can still
drive the line. The DIO lines provide a maximum of 2.5 mA at 3.7 V in
the high state.
Also, make sure the resistor value is not so large that leakage current
from the DIO line along with the current from the 100 kΩ pull-up
resistor drives the voltage at the resistor above a TTL low level of