The 6527 device 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 des part s an d la bor.
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions,
due to defects in materials and workmanship, for a period of 90 days from date of sh ipmen t, as evid enced b y receipt s o r other
documentation. National Instruments will, at its op ti on , repair or repl ace soft ware me dia th at do not ex ecu te pr ogram mi ng
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 uni nterrup ted 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 warrant y.
National Instruments believes that the information in this document 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 subsequent editions of this document withou t p rio r no ti ce to hold ers o f thi s ed itio n. The read er sh ou ld consul t
National Instruments if errors are suspected. In no even t shall Nati on al Inst rum ents be l iable fo r any dama ges aris in g o ut of
or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN
E
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
NSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
I
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
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 co ver d amag es, defects,
malfunctions, or service failures caused by ow ner’s fai lu re t o foll ow th e Nation al Inst rum ent s in stal l ation, op erat i on, or
maintenance instructions; owner’s modification of the pro du ct; ow ner’s abus e, m isus e, or negligent acts; and po wer 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 SPECIFICALLY DISCLAIMS ANY
, N
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 informatio n retriev al s ystem, o r t ran sl ating , in who le or i n p art, wit ho ut t he prior written
consent of National Instruments Corporation.
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR
. C
. This limitation of the liability of National Instruments will
. N
ATIONAL
Trademarks
ComponentWorks™, CVI™, LabVIEW™, MITE™, National Instruments™, ni.com™, NI-DAQ™, and PXI™ are trademarks of
National Instruments Corporati on.
Product and company names mentioned herein are trad emarks o r trad e name s of thei r respect ive compan ies .
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL
OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL
COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE
EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN.
(2) IN ANY APPLICATION, I NCLUDING THE ABOVE , RELIABILITY OF OP ERATION OF THE SOFT WARE PRODUCTS
CAN BE IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL
POWER SUPPLY, COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE
FITNESS, FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DE VEL OP AN APPLICAT ION,
INSTALLATION ERRORS, SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR
FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES, TRANSIENT FAILURES OF ELECTRONIC
SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, OR ERRORS ON THE PART OF
THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER
COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD
CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH)
SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRON IC SYSTE M DUE TO THE RISK OF SYSTEM
FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNE R MU ST T AKE
REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO
BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS
FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER
MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT
EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR A PPLICATION DE SIGNER IS
ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITAB ILITY OF NA TIONAL
INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A
SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN, PROCESS AND
SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
Page 4
Contents
About This Manual
How To Use the Manual Set..........................................................................................ix
This manual describes the electrical and mechanical aspects of the 6527
devices, and contains information concerning their operation and
programming.
Unless otherwise noted, the text applies to all devices in the 6527 family,
which includes the PCI-6527 and PXI-6527.
How To Use the Manual Set
The 6527 User Manual is one piece of the documentation set for your data
acquisition system. You could have any of several types of manuals,
depending on the hardware and software in your system. Use the manuals
you have as follows:
•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, LabWindows/CVI, or ComponentWorks
documentation sets and the NI-DAQ documentation. After you set up
your hardware system, use either the application software or the
NI-DA Q 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.
<>Angle brackets that contain numbers separated by an ellipsis represent a
range of values associated with a bit or signal name—for example,
DIG+0.<3..0>.
♦The ♦ symbol indicates that the text following it applies only to a specif i c
product, a specific operating system, or a specific software version.
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash.
This icon denotes a warning, which advises you of precautions to take to
avoid being electrically shocked.
italicItalic text denotes variables, emphasis, a cross reference, or an introduction
to a key concept. This font also denotes text that is a placeholder for a w ord
or value that you must supply.
monospaceText in this font denotes text or characters that you should enter 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 code excerpts.
Related Documentation
The following documents also contain information that you may find
helpful as you read this manual:
This chapter describes the 6527 devices; lists what you need to get started,
software programming choices, and optional equipment; describes custom
cabling options; and explains how to unpack your board.
About the 6527 Device
Thank you for purchasing a National Instruments 6527 device. The 6527
devices are 48-bit, parallel, isolated digital I/O interfaces for PCI bus
computers and PXI or Compact PCI chassis. The 6527 devices offer
48 channels of isolated digital data acquisition. Twenty-four of the
channels are optocoupler inputs and 24 are solid-state relay outputs. You
can sense digital levels up to 28 VDC and switch currents of up to 120 mA.
Digital filtering is available to eliminate glitches on the input lines. All
input lines can also generate interrupts on rising or falling edges to notify
you of changing data.
The PCI-6527 and PXI-6527 devices are completely jumperless DAQ
devices for PCI buses and PXI or CompactPCI chassis, respectively. All
devices in this family contain the National Instruments PCI MITE
interface.
1
The 6527 devices are ideal for low-voltage isolation and switching in both
industrial and laboratory environments. You can use the optically isolated
digital input lines to read the status of external digital logic at TTL and
non-TTL levels. You can use the solid-state relay outputs to switch external
devices, including those requiring high input currents, and to control digital
logic levels at both TTL and non-TTL lev els. Because of the isolated nature
of the 6527 devices, you can decouple the noise and harsh ground of the
computer from external signals, and vice versa.
Detailed 6527 device specifications are in Appendix A, Speci fications.
Using PXI-compatible products with standard CompactPCI products is an
important feature provided by the PXI Specification, Revision 1.0. If you
use a PXI-compatible plug-in device in a standard CompactPCI chassis,
you will be unable to use PXI-specific functions, but you can still use the
basic plug-in device functions. All 6527 device functions are available in a
CompactPCI chassis.
The CompactPCI specification permits vendors to develop sub-buses that
coexist with the basic PCI interface on the CompactPCI bus. Compatible
operation is not guaranteed between CompactPCI devices with different
sub-buses nor between CompactPCI devices with sub-buses and PXI.
The standard implementation for CompactPCI does not include these
sub-buses. Your 6527 device will work in any standard CompactPCI
chassis adhering to the PICMG 2.0 R2.1CompactPCI core specification.
What You Need to Get Started
To set up and use your 6527 device, you will need the following:
❑ One of the following devices:
–PCI-6527
–PXI-6527
❑ 6527 User Manual
❑ One of the following software packages and documentation:
–LabVIEW for Windows
–LabWindows/CVI for Windows
–ComponentWorks
–NI-DAQ for PC Compatibles
❑ Your computer, or PXI or CompactPCI chassis and controller
6527 User Manual1-2www.ni.com
Page 11
Unpacking
Your 6527 device 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 computer 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. Do not install a damaged
board into your computer.
•Never touch the exposed pins of connectors.
Software Programming Choices
There are several options to choose from when programming your National
Instruments DAQ hardware. You can use LabVIEW, LabWindows/CVI,
ComponentWorks, or other application development environments with
the NI-DAQ driver software.
Chapter 1Introduction
National Instruments Application Software
LabVIEW features interactive graphics, 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 the 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 software.
ComponentWorks contains tools for data acquisition and instrument
control built on NI-DAQ driver software. ComponentWorks provides a
higher-lev el programming interf ace for building virtual instruments
through standard OLE controls and DLLs. With ComponentWorks, you
can use all of the configuration tools, resource management utilities, and
interactive control utilities included with NI-DAQ.
Using LabVIEW, LabWindows/CVI, or ComponentWorks 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 with most National Instrum e nts
DAQ hardware. NI-DAQ has an extensive library of functions that you can
call from your application programming environment. These functions
allow you to use all features of your 6527 device.
NI-DAQ addresses many of the complex issues between the computer and
the DAQ hardware such as programming interrupts. NI-DAQ maintains a
consistent software interface among its different versions so that you can
change platforms with minimal modifications to your code. Whether you
are using LabVIEW, LabWindows/CVI, ComponentWorks, or other
programming languages, your application uses the NI-DAQ driver
software, as illustrated in Figure 1-1.
6527 User Manual1-4www.ni.com
Page 13
Chapter 1Introduction
Figure 1-1. The Relationship between the Programming Environment,
Optional Equipment
LabVIEW,
LabWindows/CVI,
or
ComponentWorks
DAQ or
SCXI Hardware
NI-DAQ, and Your Hardware
Conventional
Programming Environment
NI-DAQ
Driver Software
Personal
Computer or
Workstation
National Instruments offers a variety of products to use with your
6527 device, including cables, connector blocks, and other accessories,
as follows:
•Cables and cable assemblies, shielded and ribbon
•Connector blocks, unshielded and shielded 50- and 100-pin screw
terminals
For more information about optional equipment available from National
Instruments, refer to your National Instruments catalogue or web site or call
the office nearest you.
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, note that the 6527 device uses a
100-pin female cable header. AMP Corporation part number 749621-9 may
be used for the mating connector. Backshells available for use on a cable
with this connector include the following:
•AMP 749081-1
•AMP 749854-1
These backshells have a different thread width than the I/O connector on
the 6527. A jackscrew to adapt the different thread widths is a vailable from
National Instruments; the part number is 745444-01.
Safety Information
Cautions
flammable gases or fumes.
Do not operate the 6527 in a manner not specified in the manual.
Clean the 6527 and accessories by brushing off light dust with a soft nonmetallic brush.
Remove other contaminants with a stiff nonmetallic brush. The unit must be completely
dry and free from contaminants before returning it to service.
Connections, including power-signal-to-ground and ground-to-power-signal, that exceed
any of the maximum signal ratings for the 6527 can damage any or all of the modules in
the same PXI or CompactPCI chassis, or PCI-bus computer. National Instruments is not
liable for any damages or injuries resulting from incorrect signal connections.
All signal wiring must be properly insulated. National Instruments is not liable for damage
to equipment or injuries caused by improper signal wiring.
The 6527 must be used in a CE-marked PXI or CompactPCI chassis, or PCI-b us computer.
Do not operate the 6527 in an explosive atmosphere or where there may be
6527 User Manual1-6www.ni.com
Page 15
Installation and Configuration
This chapter describes how to install and configure your 6527 device.
Software Installation
Note
Install your software before you install your 6527 device.
Refer to the appropriate release notes indicated below for specific
instructions on the software installation sequence.
If you are using NI-DAQ, refer to your NI-DAQ release notes. Find
the installation section for your operating system and follow the
instructions given there.
If you are using LabVIEW, LabWindows/CVI, or other National
Instruments application software packages, refer to the appropriate release
notes. After you have installed your application software, refer to your
NI-DAQ release notes and follow the instructions given there for your
operating system and application software package.
2
Hardware Installation
Note
Install your software before you install your 6527 device.
The following are general installation instructions for each device. Consult
your computer or chassis user manual or technical reference manual for
specific instructions about installing new devices in your computer or
chassis.
♦PCI-6527
You can install a PCI-6527 in any available 5 V PCI expansion slot in your
computer:
1.Turn off and unplug your computer.
2.Remove the top cover or access port to the expansion slots.
3.Remove the expansion slot cover on the back panel of the computer.
4.Touch a metal part inside your computer to discharge any static
electricity that might be on your clothes or body.
5.Insert the PCI-6527 in a 5 V PCI slot. It may be a tight fit, but do not
force the device into place.
6.Screw the mounting bracket of the PCI-6527 to the back panel rail of
the computer.
7.Visually verify the installation.
8.Replace the top cover of your computer.
9.Plug in and turn on your computer.
♦PXI-6527
You can install a PXI-6527 in any available 5 V peripheral slot in your PXI
or CompactPCI chassis:
1.Turn off and unplug your PXI or CompactPCI chassis.
2.Choose an unused PXI or CompactPCI 5 V peripheral slot.
3.Remove the filler panel for the peripheral slot you have chosen.
4.Touch a metal part of your chassis to discharge any static electricity
that might be on your clothes or body.
5.Insert the PXI-6527 in the selected 5 V slot. Use the injector/ejector
handle to fully inject the device into place.
6.Screw the front panel of the PXI-6527 to the front panel mounting rails
of the PXI or CompactPCI chassis.
7.Visually verify the installation.
8.Plug in and turn on the PXI or CompactPCI chassis.
Your 6527 is now installed. Y ou are no w ready to configure your hardware
and software.
Board Configuration
Your 6527 device is completely software configurable. The PCI-6527 is
fully compliant with the PCI Local Bus Specification, Revision 2.0, and the
PXI-6527 is fully compliant with the PXI Specification, Revision 1.0.
Therefore, all board resources are automatically allocated by the PCI
system, including the base address and interrupt level. The board’s base
address is mapped into PCI memory space. You do not need to perform any
configuration steps after the system powers up.
6527 User Manual2-2www.ni.com
Page 17
Signal Connections
This chapter describes the pin arrangement, signal names, and signal
connections on your 6527 device.
3
Caution
on your 6527 device can damage the board and your computer. The description of each
signal in this chapter includes information about maximum input ratings. National
Instruments is not liable for any damages resulting from signal connections that exceed
these maximum ratings.
Connections that exceed any of the maximum ratings of input or output signals
I/O Connector
The I/O connector for the 6527 device has 100 pins that you can connect to
50-pin accessories with the R1005050 cable or to 100-pin accessories with
the shielded SH100100-F cable. Figure 3-1 shows the pin assignments for
the 6527 device digital I/O connector. A signal description follows the
figures.
Note For input ports, connect the higher voltage to the DIG+ pin and the lower voltage to
the DIG– pin. For output ports, you can connect signals to the two pins of each line without
regard to which voltage is higher. The output lines consist of solid-state relays and act as
bidirectional switches.
0Input
1Input
2Input
3Output with readback
4Output with readback
5Output with readback
Cable Assembly Connectors
The optional R1005050 cable assembly you can use with the 6527 device
is an assembly of two 50-pin cables and three connectors. Both cables are
joined to a single connector on one end and to individual connectors on the
free ends. The 100-pin connector that joins the two cables plugs into the I/O
connector of the 6527 device. The other two connectors are 50-pin
connectors, one of which is connected to pins 1 through 50 and the other to
pins 51 through 100 of the 6527 device connector. Figures 3-2 and 3-3
show the pin assignments for the 50-pin connectors on the cable assembly.
Figure 3-2. Cable-Assembly Connector Pinout for the R1005050 Ribbon Cable
6527 User Manual3-4www.ni.com
Page 21
I/O Connector Signal Descriptions
Table 3-2 lists the signal descriptions for the 6527 device I/O
connector pins.
Chapter 3Signal Connections
Table 3-2.
Signal Descriptions for 6527 Device I/O Connectors
PinSignal NameDescription
33, 35, 37, 39,
41, 43, 45, 47
DIG+0.<7..0>Isolated input port 0, positive terminals—Take measurements at
these terminals. These terminals should be positive relative to
their corresponding DIG– lines. A logic high (data bit of 1)
indicates input voltage and current are present.
34, 36, 38, 40,
42, 44, 46, 48
DIG–0.<7..0>Isolated input port 0, negative terminals—Each of these
terminals serves as the reference terminal from which the
corresponding DIG+ line is measured. A logic high (data bit of
1) indicates input voltage and current are present.
17, 19, 21, 23,
25, 27, 29, 31
DIG+1.<7..0>Isolated input port 1, positive terminals—Take measurements at
these terminals. These terminals should be positive relative to
their corresponding DIG– lines. A logic high (data bit of 1)
indicates input voltage and current are present.
18, 20, 22, 24,
26, 28, 30, 32
DIG–1.<7..0>Isolated input port 1, negative terminals—Each of these
terminals serves as the reference terminal from which the
corresponding DIG+ line is measured. A logic high (data bit of
1) indicates input voltage and current are present.
1, 3, 5, 7, 9,
11, 13, 15
DIG+2.<7..0>Isolated input port 2, positive terminals—Take measurements at
these terminals. These terminals should be positive relative to
their corresponding DIG– lines. A logic high (data bit of 1)
indicates input voltage and current are present.
2, 4, 6, 8, 10,
12, 14, 16
DIG–2.<7..0>Isolated input port 2, negative terminals—Each of these
terminals serves as the reference terminal from which the
corresponding DIG+ line is measured. A logic high (data bit of
1) indicates input voltage and current are present.
49, 99+5 V+5 Volts—These pins are fused for up to 1 A total of +4.5 to
+5.25 V from the computer power supply. These pins are not isolated.
50, 100GNDGround—These pins are connected to the computer ground
DIG+3.<7..0>Isolated output port 3, first terminals—Each of these is the first
DIG–3.<7..0>Isolated output port 3, second terminals—Each of these is the
DIG+4.<7..0>Isolated output port 4, first terminals—Each of these is the first
DIG–4.<7..0>Isolated output port 4, second terminals—Each of these is the
DIG+5.<7..0>Isolated output port 5, first terminals—Each of these is the first
DIG–5.<7..0>Isolated output port 5, second terminals—Each of these is the
Signal Descriptions for 6527 Device I/O Connectors (Continued)
of two terminals of a bidirectional solid-state relay. A logic low
(data bit of 0) closes the relay.
second of two terminals of a bidirectional solid-state relay.
A logic low (data bit of 0) closes the relay.
of two terminals of a bidirectional solid-state relay. A logic low
(data bit of 0) closes the relay.
second of two terminals of a bidirectional solid-state relay.
A logic low (data bit of 0) closes the relay.
of two terminals of a bidirectional solid-state relay. A logic low
(data bit of 0) closes the relay.
second of two terminals of a bidirectional solid-state relay.
A logic low (data bit of 0) closes the relay.
Power Connections
Four of the pins on the I/O connector are not isolated. Pin 50 and pin 100
connect to GND, the computer ground reference. Pin 49 and pin 99 of the
I/O connector supply +5 V from the computer power supply via a
self-resetting fuse. The fuse resets automatically within a few seconds after
an overcurrent condition is removed. The +5 V pins are referenced to the
GND pins and can be used to power external digital circuitry that does not
require isolation.
•Power rating: 1 A at +4.5 to +5.25 V
Warning
power supply. Never connect a +5 V po wer pin directly to GND. Ne v er connect a +5 V or
GND pin to any other voltage source; doing so can lead to injury. National Instruments is
not liable for any damages or injuries resulting from such a connection.
6527 User Manual3-6www.ni.com
The power pins, +5 V and GND, are not isolated; they connect to your computer
Page 23
Isolation Voltages
The positive and negative (DIG+ and DIG–) terminals of each channel are
isolated from the other input and output channels, from the +5 V and GND
pins, and from the computer power supply. Isolation barriers provide
isolation up to 60 VDC or 30 VAC (42 V peak) between any two terminals,
except between the two terminals making up a single digital I/O channel.
Do not exceed 60 VDC or 30 VAC between an y two terminals of the 6527
device, including:
•any two digital I/O (DIG+ or DIG–) lines of separate channels
•any DIG+ or DIG– line and the GND or +5 V lines
•the DIG+ line and the DIG– line of any output channel
Do not exceed 28 VDC or apply any negative or AC voltage between the
DIG+ and DIG– terminals of any input channel.
Chapter 3Signal Connections
Warning
can lead to injury . National Instruments is not liable for any damages resulting from signal
connections that exceed these limits.
You must not exceed the isolation voltage limits. Exceeding the voltage limits
Optically Isolated Inputs
On a 6527 device, I/O connector pins 1 through 48, shown in Figure 3-1,
represent the optically isolated input signal pins.
Input Channels
The optically isolated inputs of a 6527 device contain a light-emitting
diode (LED), a resistor for current limiting, and digital filtering and
change-detection circuitry. The 6527 boards offer 24 channels of isolated
digital input. Each channel has its own positive and negative terminals.
Always apply the higher voltage, if any, to the positive terminal. The
maximum input voltage (V
Caution
lower than the voltage on the channel’ s ne gative (DIG–) terminal. National Instruments is
not liable for any damages resulting from incorrect signal connection.
Never apply a v oltage to the positiv e (DIG+) terminal of any input channel that is
When you apply a DC voltage of at least 2 V across the two input terminals,
the 6527 device registers a logic high for that input. If no voltage is present
(a voltage difference of 1 V or less), the 6527 device registers a logic low
for that input. DC voltages between 1 V and 2 V are invalid and register an
indeterminate value. Thus, you can use the 6527 device to sense a wide
range of DC signals—from TTL logic levels to DC power supply levels up
to 28 V.
Signal Connection Example
Figure 3-3 shows signal connections for a supply and load connected to an
isolated input. In this figure, the 6527 device is being used to sense that a
load is being powered. The load is connected to the power supply by means
of a switch. This power supply can be any DC voltage within the 6527
device range. When the switch is open, no current flows through the load
and no voltage is applied to the load or to the 6527 device input. The digital
logic of the 6527 device then registers a logic low for the channel. When
the switch is closed, current flows through the LED and the 6527 device
registers a logic high for the channel.
3 kΩ
0.25 W
6527
DIG+
DIG–
Load
Isolated Ground
+
Supply
–
+5 V
15 kΩ
Digital Logic
Computer Ground
6527 User Manual3-8www.ni.com
IL55B
Isolation
Figure 3-3.
Signal Connection Example for Isolated Input
Page 25
Reducing the Forward Current for High Voltages
As input voltage increases above 5 V, the input current drawn by the 6527
(forward current I
approximately (24 V – 1.5 V)/3 kΩ = 7.5 mA per line.
If you wish to reduce the current and power the 6527 draws—to reduce the
impact on a circuit you are monitoring, for example—you can add another
resistor in series with the 3 kΩ current-limiting resistor on the 6527. It is
recommended you choose a resistance value allowing at least 1 mA to flow
through the LED. Assume a maximum drop across the LED of 1.5 V. For
example, for 24 V inputs you could use a resistance of up to
(24 V – 1.5 V)/1 mA – 3 kΩ ≈ 20 kΩ for R
) also rises. At 24 V, for example, current is
F
6527
Chapter 3Signal Connections
.
S
Isolation
Figure 3-4.
Solid-State Relay Outputs
On a 6527 device, I/O connector pins 51 through 98 shown in Figure 3-1
represent the terminals of the solid-state relays.
Output Channels
The output channels of a 6527 device are solid-state relays containing an
LED and two MOSFETs connected together to form a bidirectional switch.
Depending on how the load is connected to the terminals, an output can
either source or sink currents.
3 kΩ
0.25 W
DIG+
I
f
DIG–
Reducing Input Current for High Voltage Signals
R
s
Load
Isolated Ground
+
Supply
–
Figure 3-5 shows two signal connection examples for driving a load with
these solid-state relays.
Figure 3-5. Signal Connections for Solid-State Relays
Writing a 0 (logic low) to an output bit closes the relay, and writing a 1
(logic high) opens the relay.
To both sink and source current with one channel requires an external
resistor. You can use the solid-state relays of a 6527 device with external
resistors to drive voltages at TTL or non-TTL levels, from -60 to 60 VDC
or 30 VAC (42 V peak).
For isolated power , total current on all channels exceeding 1 A, or v oltages
other than +5 V, you can provide an external power supply. For driving
non-isolated +5 V outputs totaling less than 1 A—for example, when using
the 6527 as a TTL-level output de vice—you can use the +5 V line from the
6527 device as your voltage source.
6527 User Manual3-10www.ni.com
Page 27
Chapter 3Signal Connections
Figure 3-6 shows a signal connection example for both sinking and
sourcing current. The example shows a TTL-le vel application with a supply
voltage of +5 V. The 6527 provides sink current when the relay is closed.
Resistor R
provides source current when the relay is open.
L
When the relay is open, little current flows through the resistor and the
output voltage is close to 5 V, a logic high. When the relay is closed, current
flows through the load and the output voltage is close to 0 V, a logic low . If
isolation is not a concern, you can use the +5 V line from the 6527 device
in place of the external +5 V supply.
Choose a value of R
small enough to provide the source current you need
L
but large enough to av oid reducing sink current or consuming unnecessary
power. For many TTL-level applications, a value of approximately
R
=5kΩ works well. This gives a source current at 2.8 V of
L
(5V–2.8V)/5kΩ= 440 µA. The sink current at 0.5 V is then at least
(0.5 V / 35 Ω) –(5V–0.5V)/5kΩ = 13.4 mA.
To External +5 V Supply
35 Ω
Isolation
6527
R
= 5 kΩ
L
V
OUT
I
f
Isolated
Ground
+5 V
390 Ω
Digital
Logic
Figure 3-6. Signal Connections for Driving TTL Voltages
The maximum power ratings for the output channels on a 6527 device are
as follows:
•Maximum DC voltage across the terminals (V
•Maximum AC voltage across the terminals (V
(42 V
•Maximum current (I
Peak
)
) = 120 mA
f
1
) = 60 VDC
OUT
) = 30 V
OUT
RMS
1
With all relays carrying 120 mA and all inputs driv en to 28 V, the total power dissipation can approach 20 W. The maximum
switching capacity in PCI and CompactPCI systems must be derated according to the ambient temperature. (The PXI chassis
has built-in fans to handle 25 W per slot.)
The 6527 device outputs include circuitry to protect them from currents
over the specified range. When excessive current flows through the relay,
the relay increases resistance. Once the current level drops back under the
specified range, the relays return to normal operation.
The overcurrent protection ratings for a 6527 device are as follows
(typical at 25 °C):
•Overcurrent protection limit = 260 mA
•Current limit time = 1 µs at 7 V
•Duration of current above operating current (120 mA): 1 s max at 7 V
Caution
The 6527 should not normally be operated above 120 mA. National Instruments is not
liable for any damages resulting from signal connections that exceed 120 mA.
Overcurrent protection is for protection against transient fault conditions only.
Power-on and Power-off Conditions
At power-up, the initial state of the digital output lines are logic high and
the solid-state relays are open. The solid-state relays are also open when the
computer and the 6527 device are powered off.
6527 User Manual3-12www.ni.com
Page 29
Device Overview
This chapter contains a functional overview of the 6527 device and
explains the operation of each functional unit. The digital filter and change
detection options are also described.
Functional Overview
The block diagram in Figure 4-1 illustrates the key functional components
of your 6527 device.
The major components making up your 6527 device include the following:
Your 6527 board uses the PCI MITE ASIC to communicate with the
PCI bus. The PCI MITE was designed by National Instruments specifically
for data acquisition. The PCI MITE is fully compliant with PCI Local Bus Specification 2.0.
Digital I/O Circuitry
You can use your 6527 board as follows:
•Output ports
–Write
–Read back
6527 User Manual4-2www.ni.com
Page 31
•Input ports
–Read
–Apply digital filtering (software programmable)
–Detect changes on selected lines (software programmable)
Table 3-1, Port Functionality for 6527 Devices, contains a summary of port
functions.
Optical Isolation Circuitry
The digital input ports of a 6527 device are optically isolated using Infineon
IL55B optocouplers. Each IL55B provides optical isolation for one channel
of input.
Isolation on the output is provided by Infineon LH1546 solid-state relays.
One solid-state relay is used for isolation at each channel of output.
For diagrams of the complete input and output circuitry, see Chapter 3,
Signal Connections.
Digital Filtering
Chapter 4Device Overview
All of the inputs on the 6527 device contain a digital filter option. Filtering
can help eliminate glitches on input data. When used with change
notification, filtering can also reduce the number of changes for you to
examine and process.
You can configure any of the digital input channels from the optocouplers
to pass through a digital filter. You can also control the timing interval used
by the filter. The filter blocks pulses shorter than the specified timing
interval, treating them as glitches. The filter passes pulses longer than twice
the specified interval. Intermediate-length pulses—pulses longer than the
interval but less than twice the interval—may or may not pass the filter.
The filter operates on the inputs from the optocouplers. The optocouplers
turn on faster than they turn off, passing rising edges faster than falling
edges. The optocouplers can therefore add up to 100 µs to a high pulse or
subtract up to 100 µs from a low pulse (a 100 µs change is typical at
I
= 5 mA, RL = 100 Ω). As a result, the pulse widths guaranteed to be
You can enable filtering on as many input lines as you wish. All filtered
lines share the same timing interval. The interval ranges from 100 ns to
100 ms. However , as sho wn in Table 4-1, an interval of 200 µs or less does
not guarantee blocking of high pulses. Therefore, an interval greater than
200 µs is recommended.
Internally, the f ilter uses two clocks. The f irst, a sample clock, has a 100 ns
period. The second, a filter clock, is generated by a counter and has a period
equal to one half your specified timing interval. The input signal from the
optocoupler is sampled on each rising edge of the sample clock— every
100 ns. However, a change in the input signal is recognized only if it
maintains its new state for at least two consecutiv e rising edges of the f ilter
clock.
The two clocks serve different functions. The filter clock, which is
programmable, lets you control how long a pulse must last to be
recognized. The sample clock provides a fast sample rate to ensure that
input pulses remain constant between filter clocks.
6527 User Manual4-4www.ni.com
Page 33
External
Signal
Filter
Clock
Sample Clock (100 ns)
External
Signal
Sampled
Filtered
Signal
Chapter 4Device Overview
Figure 4-2 shows a filter configuration with an 800 ns filter interval (400 ns
filter clock). In practice, a much slower filter interval is recommended. In
periods A and B the filter blocks the glitches because the external signal
does not remain steadily high from one filter clock to the next. In period C,
the filter passes the transition because the external signal does remain
steadily high. Depending on when the transition occurs, the filter may
require up to two filter clocks—one full filter interval—to pass a transition.
The figure shows a rising 0-to-1 transition; the same filtering applies to
falling 1-to-0 transitions.
HLLHH
B
HHHHHHLLHH
A
C
Change Notification
You can program the 6527 to notify you of changes on input lines. Change
notification can reduce the number of reads your software must perform to
monitor inputs. Instead of reading the inputs continuously, your software
reacts only to transitions.
You can monitor changes on selected input lines or on all lines. You can
monitor for rising edges (0-to-1), falling edges (1-to-0), or both. When an
input change occurs matching your criteria, the 6527 generates an interrupt.
The NI-DAQ driver can then notify your software using a DAQ event,
message, or LabVIEW occurrence. See your software documentation for
information about support for event notification in your software
environment.
The 6527 notifies you when any one of the changes you are monitoring
occurs; the 6527 does not report which line changed or whether the line
rose or fell. After a change, you can read the input lines to determine the
current line states. The maximum rate of change notification is therefore
limited by software response time and varies from system to system.
If you anticipate noisy or rapidly changing input lines, use digital filtering
to reduce the changes to a manageable number; excessive notif ications can
hurt system performance. For example, if you want to limit the rate of
notifications (and interrupts) to a maximum of one change per line every
10 ms, set a filter interval of 10 ms.
Table 4-2 shows configuring change notification for five bits of one port.
This example assumes the following line connections:
•Bits 7, 6, 5, and 4 are connected to data lines from a four-bit TTL input
device. The 6527 detects any change in the input data so you can read
the new data value.
•Bit 1 is connected to a limit sensor; the 6527 detects rising edges on
the sensor, which correspond to over-limit conditions.
•Bit 0 is connected to a switch. Your software can react to any switch
closure, represented by a falling edge. If the switch closure is noisy,
you should also enable digital filtering for at least this line.
In this example, the 6527 reports rising and falling edges on bits 7, 6, 5,
and 4; rising edges only on bit 1; and falling edges only on bit 0. The 6527
reports no changes for bits 3 and 2. After receiving notification of a change,
you can read the port to determine the current values of all eight lines.
Table 4-2. Change Notification Example
Bit
76543210
Changes to
detect
Enable rising-
yesyesyesyesnonoyesno
——
edge detection
Enable falling-
yesyesyesyesnononoyes
edge detection
6527 User Manual4-6www.ni.com
Page 35
Specifications
This appendix lists the specifications for the 6527 devices. These
specifications are typical at 25 °C unless otherwise noted.
Digital I/O
PCI/PXI-6527.........................................24 optically isolated digital input
Isolated Inputs
Number of input channels...................... 24, each with its own ground
Max input voltage ..................................28 VDC
Digital logic levels
A
channels and
24 solid-state relay output
channels
reference isolated from other
channels
LevelMinMax
Input low voltage0 VDC1 VDC
Input high voltage2 VDC28 VDC
Input current
5 V inputs........................................1.5 mA/channel max
24 V inputs......................................8 mA/channel max
Isolation..................................................60 VDC channel-to-channel and
+5 VDC (±5%) .......................................500 mA max
Power available at I/O connector............+4.5 to +5.25 VDC, fused at 1 A
1
With all relays carrying 120 mA and all inputs driv en to 28 V, the total power dissipation can approach 20 W. The maximum
switching capacity in PCI and CompactPCI systems must be derated according to the ambient temperature. (The PXI chassis
has built-in fans to handle 25 W per slot.)
6527 User ManualA-2www.ni.com
Page 37
Physical
Environment
Appendix ASpecifications for
Dimensions (not including connectors)
PCI-6527.........................................17.5 × 10.7 cm (6.9 × 4.2 in.)
PXI-6527.........................................16 × 10 cm (6.3 × 3.9 in.)
Operating temperature............................0 to 50 °C
Storage temperature ...............................–20 to 70 °C
Relative humidity...................................10% to 90% noncondensing
Functional shock (PXI-6527)................. MIL-T-28800 E Class 3 (per
Section 4.5.5.4.1); half-sine shock
pulse, 11 ms duration, 30 g peak,
30 shocks per face
Operational random vibration
(PXI-6527) .............................................5 to 500 Hz, 0.31 g
, 3 axes
rms
Nonoperational random vibration
(PXI-6527) .............................................5 to 500 Hz, 2.5 g
Note
Non-operational random vibration profiles were developed in accordance
with MIL-T-28800E and MIL-STD-810E Method 514. Test levels exceed those
recommended in MIL-STD-810E for Category 1 (Basic Transportation, Figures 514.4-1
through 514.4-3).
, 3 axes
rms
Safety
Designed in accordance with IEC/EN 61010-1, UL 3111-1, and
CAN/CSA C22.2 No. 1010.1 for electrical measuring and test equipment.
Maximum altitude..................................2000 m
This appendix describes the comprehensive resources available to you in
the Technical Support section of the National Instruments Web site and
provides technical support telephone numbers for you to use if you have
trouble connecting to our We b site or if you do not have internet access.
NI Web Support
To provide you with immediate answers and solutions 24 hours a day,
365 days a year, National Instruments maintains extensi ve online technical
support resources. They are available to you at no cost, are updated daily,
and can be found in the Technical Support section of our Web site at
www.ni.com/support
Online Problem-Solving and Diagnostic Resources
•KnowledgeBase—A searchable database containing thousands of
frequently asked questions (F A Qs) and their corresponding answers or
solutions, including special sections devoted to our newest products.
The database is updated daily in response to new customer experiences
and feedback.
•Troubleshooting Wizards—Step-by-step guides lead you through
common problems and answer questions about our entire product line.
Wizards include screen shots that illustrate the steps being described
and provide detailed information ranging from simple getting started
instructions to advanced topics.
•Product Manuals—A comprehensive, searchable library of the latest
editions of National Instruments hardware and software product
manuals.
brief hardware descriptions, mechanical drawings, and helpful images
of jumper settings and connector pinouts.
•Application Notes—A library with more than 100 short papers
addressing specific topics such as creating and calling DLLs,
developing your own instrument driver software, and porting
applications between platforms and operating systems.
•Instrument Driver Network—A library with hundreds of instrument
drivers for control of standalone instruments via GPIB, VXI, or serial
interfaces. You also can submit a request for a particular instrument
driver if it does not already appear in the library.
•Example Programs Database—A database with numerous,
non-shipping example programs for National Instruments
programming environments. You can use them to complement the
example programs that are already included with National Instruments
products.
•Software Library—A library with updates and patches to application
software, links to the latest versions of driver software for National
Instruments hardware products, and utility routines.
Worldwide Support
National Instruments has offices located around the globe. Many branch
offices maintain a Web site to provide information on local services. You
can access these Web sites from
www.ni.com/worldwide
If you have trouble connecting to our Web site, please contact your local
National Instruments office or the source from which you purchased your
National Instruments product(s) to obtain support.
For telephone support in the United States, dial 512 795 8248. For
telephone support outside the United States, contact your local branch
office:
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20,
Brazil 011 284 5011, Canada (Calgary) 403 274 9 391,
Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521,
China 0755 3904939, Denmark 45 76 26 00, Finland 09 725 725 11,
France 01 48 14 24 24, Germany 0 89 741 31 30, Greece 30 1 42 96 427,
Hong Kong 2645 3186, India 91805275406, Israel 03 6120092,
Italy 02 41309 1, Japan 03 5472 2970, Korea 02 596 7456,
Mexico (D.F.) 5 280 7625, Mexico (Monterrey) 8 357 7695,
Netherlands 0348 433466, Norway 32 27 73 00, Poland 48 22 528 94 06,
Portugal 351 1 726 9011, Singapore 2265886, Spain 91 640 0085,
Sweden 08 58 7 895 00, Switzerland 056 200 51 51,
Taiwan 02 2377 1200, United Kingdom 01635 523545
6527 User ManualB-2www.ni.com
Page 40
Glossary
PrefixMeaningsV alue
n-nano-10
µ-micro-10
m-milli-10
k-kilo-10
Numbers/Symbols
°degrees
–negative of, or minus
Ωohms
/per
%percent
–9
–6
–3
3
±plus or minus
+positive of, or plus
+5 V+5 Volts signal
A
Aamperes
ACalternating current
ANSIAmerican National Standards Institute
ASICApplication-Specific Integrated Circuit—a proprietary semiconductor
component designed and manufactured to perform a set of specific
functions
CCelsius
CAT Iinstallation category (overvoltage category) I—equipment for which
measures are taken to limit transient overvoltages to an appropriate low
level. Examples include signal-level, telecommunications, and electronic
equipment with transient overvoltages smaller than local-level mains
supplies.
cmcentimeters
CompactPCIrefers to the core specification defined by the PCI Industrial Computer
Manufacturer’s Group (PICMG)
D
DAQdata acquisition—a system that uses the personal computer to collect,
measure, and generate electrical signals
DCdirect current
DIG+positive data terminal
DIG–negative data terminal
DIOdigital input/output
DMAdirect memory access—a method by which data can be transferred to or
from computer memory from or to a device or memory on the bus while the
processor does something else. DMA is the fastest method of transferring
data to or from computer memory.
G
GNDground reference
H
Hzhertz
6527 User ManualG-2www.ni.com
Page 42
Glossary
I
I
IH
I
IL
current, input high
current, input low
in.inches
I/Oinput/output
I
OH
I
OL
current, output high
current, output low
isolationsignal conditioning to break ground loops and reject high common-mode
voltages to protect equipment and users and to ensure accurate
measurements
L
LEDlight-emitting diode
LSBleast significant bit
M
mmeters
maxmaximum
MBmegabytes of memory
minminimum
MOSFETmetal-oxide semiconductor field-effect transistor
MSBmost significant bit
optocouplera device that transfers electrical signals by utilizing light waves to provide
coupling with electrical isolation between input and output
optical isolationthe technique of using an optocoupler to transfer data without electrical
continuity, to eliminate high-potential differences and transients
P
PCIPeripheral Component Interconnect—a high-performance expansion bus
architecture originally developed by Intel to replace ISA and EISA.
porta digital port, consisting of four or eight lines of digital input and/or output
PXIPCI eXtensions for Instrumentation—an open specification that builds on
the CompactPCI specification by adding instrumentation-specific features
R
rmsroot mean square
S
Ssamples
sseconds
SCXISignal 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 conditioningthe manipulation of signals to prepare them for digitizing
6527 User ManualG-4www.ni.com
Page 44
Glossary
T
TTLtransistor -transistor logic, or 5 V digital voltage lev els originally used with
transistor-transistor logic
typtypical
V
Vvolts
V
cc
supply voltage; for example, the voltage a computer supplies to its plug-in
devices
VDCvolts direct current
VIvirtual instrument—a combination of hardware and/or software elements,
typically used with a PC, that has the functionality of a classic standalone
CompactPCI, using with PXI, 1-2
ComponentWorks software, 1-4
configuration, 2-2
connector. See I/O connector.
conventions used in manual, x
custom cabling, 1-6
D
DC voltages, sensing, 3-8
diagnostic resources, online, B-1
DIG+0 .<7..0> signal (table), 3-5
DIG–0 .<7..0> signal (table), 3-5
DIG+1 .<7..0> signal (table), 3-5
DIG–1 .<7..0> signal (table), 3-5
DIG+2 .<7..0> signal (table), 3-5
DIG–2 .<7..0> signal (table), 3-5
DIG+3 .<7..0> signal (table), 3-6
DIG–3 .<7..0> signal (table), 3-6
DIG+4 .<7..0> signal (table), 3-6
DIG–4 .<7..0> signal (table), 3-6
DIG+5 .<7..0> signal (table), 3-6
DIG–5 .<7..0> signal (table), 3-6
digital filtering, 4-3 to 4-5
characteristics (table), 4-4
clocks, 4-4 to 4-5
timing (figure), 4-5
digital I/O circuitry
functional overview, 4-2 to 4-3
specifications, A-1
documentation
conventions used in manual, x
how to use manual set, ix
related documentation, x