National Instruments PCI-6512, PXI-6512, PCI-6513, PXI-6513, PCI-6514 User Manual

...
DAQ
NI 651x User Manual
NI PCI-6510, PCI-6511, PXI-6511, PCI-6512, PXI-6512, PCI-6513, PXI-6513, PCI-6514, PXI-6514, PCI-6515, PXI-6515, PCI-6516, PCI-6517, PCI-6518, and PCI-6519 Devices

NI 651x User Manual

August 2019 372172C-01
ni.com

Worldwide Offices

ni.com/niglobal to access the branch office websites, which provide up-to-date
Visit contact information, support phone numbers, email addresses, and current events.

National Instruments Corporate Headquarters

11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
For further support information, refer to the NI Services appendix. To comment on NI documentation, refer to the NI website at
feedback.
ni.com/info and enter the Info Code
© 2007–2019 National Instruments. All rights reserved.

Legal Information

Limited Warranty

This document is provided ‘as is’ and is subject to being changed, without notice, in future editions. For the latest version, refer to
ni.com/manuals. NI reviews this document carefully for technical accuracy; however, NI MAKES NO EXPRESS
OR IMPLIED WARRANTIES AS TO THE ACCURACY OF THE INFORMATION CONTAINED HEREIN AND SHALL NOT BE LIABLE FOR ANY ERRORS.
NI warrants that its hardware products will be free of defects in materials and workmanship that cause the product to fail to substantially conform to the applicable NI published specifications for one (1) year from the date of invoice.
For a period of ninety (90) days from the date of invoice, NI warrants that (i) its software products will perform substantially in accordance with the applicable documentation provided with the software and (ii) the software media will be free from defects in materials and workmanship.
If NI receives notice of a defect or non-conformance during the applicable warranty period, NI will, in its discretion: (i) repair or replace the affected product, or (ii) refund the fees paid for the affected product. Repaired or replaced Hardware will be warranted for the remainder of the original warranty period or ninety (90) days, whichever is longer. If NI elects to repair or replace the product, NI may use new or refurbished parts or products that are equivalent to new in performance and reliability and are at least functionally equivalent to the original part or product.
You must obtain an RMA number from NI before returning any product to NI. NI reserves the right to charge a fee for examining and testing Hardware not covered by the Limited Warranty.
This Limited Warranty does not apply if the defect of the product resulted from improper or inadequate maintenance, installation, repair, or calibration (performed by a party other than NI); unauthorized modification; improper environment; use of an improper hardware or software key; improper use or operation outside of the specification for the product; improper voltages; accident, abuse, or neglect; or a hazard such as lightning, flood, or other act of nature.
THE REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND THE CUSTOMER’S SOLE REMEDIES, AND SHALL APPLY EVEN IF SUCH REMEDIES FAIL OF THEIR ESSENTIAL PURPOSE.
EXCEPT AS EXPRESSLY SET FORTH HEREI N, PRODUCTS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND NI DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, WITH RESPECT TO THE PRODUCTS, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, AND ANY WARRANTIES THAT MAY ARISE FROM USAGE OF TRADE OR COURSE OF DEALING. NI DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF OR THE RESULTS OF THE USE OF THE PRODUCTS IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NI DOES NOT WARRANT THAT THE OPERATION OF THE PRODUCTS WILL BE UNINTERRUPTED OR ERROR FREE.
In the event that you and NI have a separate signed written agreement with warranty terms covering the products, then the warranty terms in the separate agreement shall control.

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.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.

End-User License Agreements and Third-Party Legal Notices

You can find end-user license agreements (EULAs) and third-party legal notices in the following locations:
• Notices are located in the directories.
• EULAs are located in the
•Review
<National Instruments>\_Legal Information.txt for information on including legal information in
installers built with NI products.

U.S. Government Restricted Rights

If you are an agency, department, or other entity of the United States Government (“Government”), the use, duplication, reproduction, release, modification, disclosure or transfer of the technical data included in this manual is governed by the Restricted Rights provisions under Federal Acquisition Regulation 52.227-14 for civilian agencies and Defense Federal Acquisition Regulation Supplement Section 252.227-7014 and 252.227-7015 for military agencies.

Trademarks

Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for more information on NI trademarks.
ARM, Keil, and µVision are trademarks or registered of ARM Ltd or its subsidiaries.
LEGO, the LEGO logo, WEDO, and MINDSTORMS are trademarks of the LEGO Group.
TETRIX by Pitsco is a trademark of Pitsco, Inc.
FIELDBUS FOUNDATION
®
EtherCAT
is a registered trademark of and licensed by Beckhoff Automation GmbH.
<National Instruments>\_Legal Information and <National Instruments>
<National Instruments>\Shared\MDF\Legal\license directory.
and FOUNDATION™ are trademarks of the Fieldbus Foundation.
CANopen® is a registered Community Trademark of CAN in Automation e.V.
DeviceNet
Go!, SensorDAQ, and Vernier are registered trademarks of Vernier Software & Technol ogy. Vernier Software & Technology and
and EtherNet/IP™ are trademarks of ODVA.
vernier.com are trademarks or trade dress.
Xilinx is the registered trademark of Xilinx, Inc.
Taptite and Trilobular are registered trademarks of Research Engineering & Manufacturing Inc.
®
is the registered trademark of Apple Inc.
FireWire
®
is the registered trademark of Linus Torvalds in the U.S. and other countries.
Linux
Handle Graphics Simulink Coder
Tektronix
The Bluetooth
The ExpressCard license.
The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
®
, MATLAB®, Simulink®, Stateflow®, and xPC TargetBox® are registered trademarks, and
, TargetBox™, and Target Language Compiler™ are trademarks of The MathWorks, Inc.
®
, Tek, and Tektronix, Enabling Technology are registered trademarks of Tektronix, Inc.
®
word mark is a registered trademark owned by the Bluetooth SIG, Inc.
word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Members of the National Instruments Alliance Partner Program are business entities independent from NI and have no agency, partnership, or joint-venture relationship with NI.

Patents

For patents covering NI products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents.

Export Compliance Information

Refer to the Export Compliance Information at ni.com/legal/export-compliance for the NI global trade compliance policy and how to obtain relevant HTS codes, ECCNs, and other import/export data.

WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS

YOU ARE ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY AND RELIABILITY OF THE PRODUCTS WHENEVER THE PRODUCTS ARE INCORPORATED IN YOUR SYSTEM OR APPLICATION, INCLUDING THE APPROPRIATE DESIGN, PROCESS, AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
PRODUCTS ARE NOT DESIGNED, MANUFACTURED, OR TESTED FOR USE IN LIFE OR SAFETY CRITICAL SYSTEMS, HAZARDOUS ENVIRONMENTS OR ANY OTHER ENVIRONMENTS REQUIRING FAIL-SAFE PERFORMANCE, INCLUDING IN THE OPERATION OF NUCLEAR FACILITIES; AIRCRAFT NAVIGATION; AIR TRAFFIC CONTROL SYSTEMS; LIFE SAVING OR LIFE SUSTAINING SYSTEMS OR SUCH OTHER MEDICAL DEVICES; OR ANY OTHER APPLICATION IN WHICH THE FAILURE OF THE PRODUCT OR SERVICE COULD LEAD TO DEATH, PERSONAL INJURY, SEVERE PROPERTY DAMAGE OR ENVIRONMENTAL HARM (COLLECTIVELY, “HIGH-RISK USES”). FURTHER, PRUDENT STEPS MUST BE TAKEN TO PROTECT AGAINST FAILURES, INCLUDING PROVIDING BACK-UP AND SHUT-DOWN MECHANISMS. NI EXPRESSLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS OF THE PRODUCTS OR SERVICES FOR HIGH-RISK USES.

Contents

About This Manual
Related Documentation .................................................................................................... ix
Chapter 1 NI 651x Fundamentals
NI 651x Configuration...................................................................................................... 1-1
NI 651x Functional Overview .......................................................................................... 1-2
Chapter 2 NI 651x Features
Digital Filtering ................................................................................................................ 2-1
Digital Filtering Example ......................................................................................... 2-2
Programmable Power-Up States....................................................................................... 2-2
Change Detection ............................................................................................................. 2-3
Change Detection Example ...................................................................................... 2-3
Watchdog Timer ............................................................................................................... 2-4
Chapter 3 Digital I/O
I/O Connector ...................................................................................................................3-1
NI 6510 I/O Connector ............................................................................................. 3-1
NI 6511 I/O Connector ............................................................................................. 3-1
NI 6512/6513 I/O Connector.................................................................................... 3-2
NI 6514/6515 I/O Connector.................................................................................... 3-2
NI 6516/6517 I/O Connector.................................................................................... 3-3
NI 6518/6519 I/O Connector.................................................................................... 3-3
Pin Assignments ............................................................................................................... 3-5
NI 6510 Pin Assignments ......................................................................................... 3-5
NI 6511 SH100-100-F Pin Assignments .................................................................. 3-6
NI 6511 R1005050 Pin Assignments ....................................................................... 3-8
NI 6512 SH100-100-F Pin Assignments .................................................................. 3-8
NI 6512 R1005050 Pin Assignments ....................................................................... 3-10
NI 6513 SH100-100-F Pin Assignments .................................................................. 3-10
NI 6513 R1005050 Pin Assignments ....................................................................... 3-12
NI 6514 SH100-100-F Pin Assignments .................................................................. 3-12
NI 6514 R1005050 Pin Assignments ....................................................................... 3-14
NI 6515 SH100-100-F Pin Assignments .................................................................. 3-14
NI 6515 R1005050 Pin Assignments ....................................................................... 3-16
NI 6516 Pin Assignments ......................................................................................... 3-17
NI 6517 Pin Assignments ......................................................................................... 3-18
NI 6518 Pin Assignments ......................................................................................... 3-19
© National Instruments | v
Contents
NI 6519 Pin Assignments .........................................................................................3-20
Signal Descriptions ........................................................................................................... 3-21
NI 6510 Signal Descriptions..................................................................................... 3-21
NI 6511 Signal Descriptions..................................................................................... 3-21
NI 6512 Signal Descriptions..................................................................................... 3-22
NI 6513 Signal Descriptions..................................................................................... 3-23
NI 6514 Signal Descriptions..................................................................................... 3-23
NI 6515 Signal Descriptions..................................................................................... 3-25
NI 6516 Signal Descriptions..................................................................................... 3-26
NI 6517 Signal Descriptions..................................................................................... 3-26
NI 6518 Signal Descriptions..................................................................................... 3-27
NI 6519 Signal Descriptions..................................................................................... 3-27
Chapter 4 Power Connections
Isolation ............................................................................................................................ 4-1
NI 6510 .....................................................................................................................4-1
NI 6511 .....................................................................................................................4-1
NI 6512/6513 ............................................................................................................ 4-1
NI 6514/6515 ............................................................................................................ 4-1
NI 6516/6517 ............................................................................................................ 4-1
NI 6518/6519 ............................................................................................................ 4-1
Optically Isolated Inputs (NI 6510/6511/6514/6515/6518/6519) ....................................4-2
Sensing DC Voltages ................................................................................................ 4-2
Input Signal Connection Example ............................................................................4-2
Optically Isolated Outputs with Darlington Arrays
(NI 6512/6513/6514/6515/6516/6517/6518/6519)........................................................ 4-4
Power-On and Power-Off Conditions.......................................................................4-4
Output Signal Connection Example (Sourcing Current) .......................................... 4-5
Distributing Current (NI 6516/6518 Only)....................................................... 4-6
Output Signal Connection Example (Sinking Current) ............................................ 4-7
Distributing Current (NI 6517/6519 Only)....................................................... 4-9
Chapter 5 Cables and Accessories
Accessories for 37-Pin Devices ........................................................................................ 5-1
NI SH37F-37M Cable............................................................................................... 5-2
Accessories for 100-Pin Devices ...................................................................................... 5-2
SH100-100-F Cable .................................................................................................. 5-2
R1005050 Ribbon Cable........................................................................................... 5-2
vi | ni.com
Appendix A NI Services
Glossary
Index
NI 651x User Manual
© National Instruments | vii
About This Manual
This manual describes how to use the National Instruments 6510, 6511, 6512, 6513, 6514, 6515, 6516, 6517, 6518, and 6519 data acquisition (DAQ) devices with NI-DAQ 7.3 or later. If you have not already installed the DAQ device, refer to the DAQ Getting Started Guide for installation instructions.
Related Documentation
The following documents contain information that you may find helpful as you use this help file:
NI 651x Specifications—This document contains specifications for the NI 6510, NI 6511, NI 6512, NI 6513, NI 6514, NI 6515, NI 6516, NI 6517, NI 6518, and NI 6519 devices. It is available for download at
ni.com/manuals.
DAQ Getting Started Guide—This guide describes how to install the NI-DAQ software, the DAQ device, and how to confirm that the device is operating properly.
NI-DAQmx Help—This help file contains information about using NI-DAQmx to program National Instruments devices. NI-DAQmx is the software you use to communicate with and control NI DAQ devices.
Measurement & Automation Explorer Help for NI-DAQmx—This help file contains information about configuring and testing DAQ devices using Measurement & Automation Explorer (MAX) for NI-DAQmx, and information about special considerations for operating systems.
Measurement & Automation Explorer Help for Traditional NI-DAQ (Legacy)—This help file contains information about configuring and testing DAQ devices using Measurement & Automation Explorer (MAX) for Traditional NI-DAQ (Legacy), and information about special considerations for operating systems.
DAQ Assistant Help—This help file contains information about creating and configuring channels, tasks, and scales using the DAQ Assistant.
Note You can download these documents from ni.com/manuals.
1

NI 651x Fundamentals

The NI 6510 is a 30 V bank isolated data acquisition (DAQ) device for PCI chassis. The NI 6510 device features 32 digital input lines with digital filtering.
The NI 6511 is a 30 V bank isolated data acquisition (DAQ) device for PCI, PXI, or CompactPCI chassis. The NI 6511 device features 64 digital input lines with digital filtering.
The NI 6512/6513 devices are 30 V bank isolated data acquisition (DAQ) devices for PCI, PXI, or CompactPCI chassis. The NI 6512/6513 devices feature 64 unidirectional digital output lines for sourcing (6512) and sinking (6513) current, a watchdog timer, and programmable power-up states.
The NI 6514/6515 devices are 30 V bank isolated data acquisition (DAQ) devices for PCI, PXI, or CompactPCI chassis. The NI 6514/6515 devices feature 32 digital input lines and 32 digital output lines for sourcing (6514) and sinking (6515) current, a watchdog timer, digital filtering, and programmable power-up states.
The NI 6516/6517 devices are 30 V bank isolated data acquisition (DAQ) devices for PCI chassis. The NI 6516/6517 devices feature 32 unidirectional digital output lines for sourcing (6516) and sinking (6517) current, a watchdog timer, and programmable power-up states.
The NI 6518/6519 devices are 30 V bank isolated data acquisition (DAQ) devices for PCI chassis. The NI 6518/6519 devices feature 16 digital input lines and 16 digital output lines for sourcing (6518) and sinking (6519) current, a watchdog timer, digital filtering, and programmable power-up states.

NI 651x Configuration

The NI 651x devices are completely software configurable, so it is not necessary to set jumpers for I/O configuration.
The PCI-651x devices are fully compliant with the PCI Local Bus Specification, Revision 2.2, and the PXI-6511/6512/6513/6514/6515 devices are fully compliant with the PXI Hardware Specification, Revision 2.1. The PCI/PXI system automatically allocates all device resources, including the base address and interrupt level. The NI 651x base address is mapped into PCI memory space. It is not necessary to perform configuration steps after the system powers up.
Refer to the application software documentation for configuration instructions.
After the NI 651x device and the software are installed, the DAQ device appears under the Devices and Interfaces branch of the MAX configuration tree.
© National Instruments | 1-1
Chapter 1 NI 651x Fundamentals
If the DAQ device does not appear in MAX, use the following troubleshooting guidelines.
Verify that you are using the correct version of NI-DAQ (NI-DAQ 7.3 or later). To download the most recent National Instruments drivers, go to ni.com/drivers.
Press <F5> to refresh the MAX window, or close and re-open MAX.
Reboot the computer.
Power off and unplug the computer or chassis, and install the device in a different slot. Refer to the DAQ Getting Started Guide for installation instructions and safety guidelines.

NI 651x Functional Overview

The following block diagrams illustrate the key functional components of the NI 651x devices.

Figure 1-1. NI 6510 Block Diagram

10 MHz
PX.<0..7>
32
COM
I/O Connector
x32 Bank Isolated Input Channels
VCC
DI
32 Digital
Inputs
Clock
Industrial Digital
Input Control FPGA
Digital
Filtering
Input Lines
Change
Detection
Flash
Memory
Data/Control
Configuration
Control
PCI Bus Interface
Data/Control
PCI Bus
PX.<0..7>
8
PX.COM
I/O Connector
x8 Bank Isolated Digital Input Ports
x8 Inputs per Port
1-2 | ni.com

Figure 1-2. NI 6511 Block Diagram

10 MHz
Clock
Vcc
DI
64 Digital
Inputs
Industrial Digital
Input Control FPGA
Digital
Filtering
Input Lines
Change
Detection
Data/Control
Configuration
Flash
Memory
Control
PCI Bus
Interface
Data/Control
PCI/PXI/CompactPCI Bus
Industrial Digital
Output Control FPGA
Output Lines
Programmable
Power-Up States
Watchdog Timer
64 Digital
Outputs
PX.COM
PX.Vcc
PX.<0..7>
8
x8 Bank Isolated Digital Output Ports
PCI/PXI/CompactPCI Bus
10 MHz
Clock
Data/Control
PCI Bus Interface
Data/Control
Flash
Memory
Configuration
Control
DO
x8 Outputs per Port
Vol tage
Regulator
I/O Connector
Vol tage
Regulator
PX.COM (Vcc)
PX.<0..7>
I/O Connector
PX.GND
x8 Bank Isolated Digital Output Ports
x8 Outputs per Port

Figure 1-3. NI 6512 Block Diagram

Figure 1-4. NI 6513 Block Diagram

10 MHz
Clock
Industrial Digital
Output Control FPGA
Programmable
Output Lines
Power-Up States
Watchdog Timer
Configuration
64 Digital
DO
Outputs
Flash
Memory
Data/Control
Control
NI 651x User Manual
PCI Bus
Data/Control
Interface
PCI/PXI/CompactPCI Bus
PX.<0..7>
PX.COM
x4 Bank Isolated Digital Input Ports
I/O Connector
PX.Vcc
PX.<0..7>
PX.COM
x4 Bank Isolated Digital Output Ports
8
Vol tage
Regulator
8

Figure 1-5. NI 6514 Block Diagram

Vcc
DI
32
x8 Inputs per Port
x8 Outputs per Port
Digital Inputs
Digital
Outputs
DO
DIO Lines
32
Industrial Digital
I/O Control FPGA
Filtering
10 MHz
Clock
Programmable
Power-Up States
Watchdog Timer
Digital
Change
Detection
Flash
Memory
Data/Control
Configuration
PCI Bus
Interface
Control
© National Instruments | 1-3
Data/Control
PCI/PXI/CompactPCI Bus
Chapter 1 NI 651x Fundamentals
PX.COM (Vcc)
PX.<0..7>
PX.GND
DO
x8 Outputs per Port
x4 Bank Isolated Digital Output Ports
PCI/PXI/CompactPCI Bus
Data/Control
PCI Bus Interface
10 MHz
Clock
32
Digital
Outputs
32 Digital Inputs
I/O Connector
8
PX.COM
PX.<0..7>
Vcc
x4 Bank Isolated Digital Input Ports
x8 Inputs per Port
DI
Industrial Digital
I/O Control FPGA
DIO Lines
Programmable
Power-Up States
Watchdog Timer
Change
Detection
Digital
Filtering
Data/Control
Flash
Memory
Configuration
Control
Vol tage
Regulator

Figure 1-6. NI 6515 Block Diagram

Figure 1-7. NI 6516 Block Diagram

Vol tage
Regulator
VCC
I/O Connector
PX.<0..7>
32
COM.GND
x32 Bank Isolated Output Channels
10 MHz
Clock
Industrial Digital
Output Control FPGA
Programmable
Output Lines
Power-Up States
Watchdog Timer
32 Digital
DO
Outputs
Flash
Memory
Data/Control
Configuration
Control
PCI Bus Interface
Data/Control
PCI Bus
COM (VCC)
PX.<0..7>
I/O Connector
GND
1-4 | ni.com

Figure 1-8. NI 6517 Block Diagram

Vol tage
Regulator
x32 Bank Isolated Output Channels
32 Digital
DO
Outputs
10 MHz
Clock
Industrial Digital
Output Control FPGA
Programmable
Power-Up States
Watchdog Timer
Output Lines
Flash
Memory
Data/Control
Configuration
Control
PCI Bus Interface
Data/Control
PCI Bus

Figure 1-9. NI 6518 Block Diagram

I/O Connector
PCI Bus
Data/Control
PCI Bus Interface
10 MHz
Clock
16
IN.COM
P<1..2>.<0..7>
VCC
x16 Bank Isolated Input Channels
DI
Industrial Digital I/O Control FPGA
DIO Lines
Programmable
Power-Up States
Watchdog Timer
Change
Detection
Digital
Filtering
Data/Control
Flash
Memory
Configuration
Control
OUT.COM (VCC)
P<2..3>.<0..7>
GND
DO
Voltage
Regulator
x16 Bank Isolated Output Channels
16
16 Digital Inputs
16
Digital
Outputs
NI 651x User Manual
P<0..1>.<0..7>
IN.COM
I/O Connector
VCC
P<2..3>.<0..7>
OUT.COM (GND)
16
x16 Bank Isolated Input Channels
Vol tage
Regulator
16
x16 Bank Isolated Output Channels
VCC
DI
16 Digital Inputs
DO
16
Digital
Outputs
10 MHz
Industrial Digital
I/O Control FPGA
DIO Lines
Digital
Filtering
Clock
Programmable
Power-Up States
Watchdog Timer
Change
Detection

Figure 1-10. NI 6519 Block Diagram

Flash
Memory
Data/Control
Configuration
Control
PCI Bus Interface
Data/Control
PCI Bus
© National Instruments | 1-5
2

NI 651x Features

This chapter describes the National Instruments digital I/O features available for NI 651x devices. For more information on the NI industrial DIO feature set, refer to the Complete Industrial Digital I/O and Counter/Timer Tutorial. To access this tutorial, visit and enter the code rdcidi.

Digital Filtering

Use the digital filter option available on the NI 651x input lines to eliminate glitches on input data. When used with change detection, filtering can also reduce the number of changes to examine and process.
You can configure the digital input channels to pass through a digital filter after the photocouplers, and you can control the timing interval the filter uses. The filter blocks pulses that are shorter than half of the specified timing interval and passes pulses that are longer than the specified interval. Intermediate-length pulses—pulses longer than half of the interval but less than the interval—may or may not pass the filter.
The filter operates on the inputs from the photocouplers. Photocouplers turn on faster than they turn off and pass rising edges faster than falling edges.
Table 2-1 lists the pulse widths guaranteed to be passed and blocked.
ni.com/info

Table 2-1. NI 651x Digital Filter Timing Intervals

Filter
Interval
t
interval
You can enable filtering on as many input lines as is necessary for your application. All filtered lines share the same timing interval, which ranges from 200 s to 200 ms.
Internally, the filter uses two clocks: the sample clock and the filter clock. The sample clock has a 100 ns period. The filter clock is generated by a counter and has a period equal to one half of the specified timing interval. The input signal is sampled on each rising edge of the sample clock, which is every 100 ns. However, a change in the input signal is recognized only if it maintains its new state for at least two consecutive rising edges of the filter clock.
Pulse Width Passed Pulse Width Blocked
Low Pulse High Pulse Low Pulse High Pulse
t
+ 200 s t
interval
interval
t
/2 (t
interval
© National Instruments | 2-1
interval
/2) – 200 s
Chapter 2 NI 651x Features
External
Signal
External
Signal
Sampled
Filter
Clock
Sample Clock (100 ns)
Filtered
Signal
HHHHH
HLLHH
HLLHH
A
B
C
The filter clock is programmable and allows you to 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.

Digital Filtering Example

Figure 2-1 shows a filter configuration with a t
Figure 2-1. Digital Filtering Example
In periods A and B, the filter blocks the glitches because the external signal does not remain steadily high from one rising edge of the filter clock to the next. In period C, the filter passes the transition because the external signal remains 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. Figure 2-1 shows a rising (0 to 1) transition. The same filtering applies to falling (1 to 0) transitions.
filter interval (t
interval
/2 filter clock).
interval

Programmable Power-Up States

At power-up, the output drives on the NI 651x device is disabled. All output lines are user-configurable for an on or off state. User-configurable power-up states are useful for ensuring that the NI 651x device powers up in a known state.
To use MAX (recommended) to program the power-up states, select the device and click the Properties button. Refer to the software documentation for information about how to program the power-up states using NI-DAQ with LabVIEW or other National Instruments application development environments (ADEs).
2-2 | ni.com
Note NI 6512/6513/6516/6517 devices do not support digital filtering.
Note The response time of programmable power-up states is 400 ms.
Note NI 6510/6511 devices do not support programmable power-up states.
NI 651x User Manual

Change Detection

You can program NI 651x devices to send an interrupt when a change occurs on any input line.
The DIO device can monitor changes on selected input lines or on all input lines. It can monitor for rising edges (0 to 1), falling edges (1 to 0), or both. When an input change occurs, the DIO device generates an interrupt, and the NI-DAQ driver then notifies the software.
Note Excessive change detections can affect system performance. Use digital
filtering to minimize the effects of noisy input lines.
The DIO device sends a change detection when any one of the changes occurs, but it does not report which line changed or if the line was rising or falling. After a change, you can read the input lines to determine the current line states. The maximum rate of change detection is determined by the software response time, which varies from system to system.
An overflow bit indicates that an additional rising or falling edge has been detected before the software could process the previous change.
Refer to the software documentation for information about how to set up and implement the change detection.

Change Detection Example

Table 2-2 shows a change detection example for six bits of one port.
Table 2-2. Change Detection Example
Bit
7 6 5 4 3 2 1 0
Changes to detect
Enable rising-edge detection yes yes yes yes no no yes no
Enable falling-edge detection yes yes yes yes no no no yes
This example assumes the following line connections:
Bits 7, 6, 5, and 4 are connected to data lines from a four-bit TTL output device. The DIO device detects any change in the input data so you can read the new data value.
Bit 1 is connected to a limit sensor. The DIO device detects rising edges on the sensor, which correspond to over-limit conditions.
Bit 0 is connected to a switch. The software can react to any switch closure, which is represented by a falling edge. If the switch closure is noisy, enable digital filtering for this line.
© National Instruments | 2-3
Chapter 2 NI 651x Features
In this example, the DIO device reports rising edges only on bit 1, falling edges only on bit 0, and rising and falling edges on bits 7, 6, 5, and 4. The DIO device 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. You cannot read the state of any lines that are configured for change detection until the change detection interrupt occurs.
Note NI 6512/6513/6516/6517 devices do not support change detection.

Watchdog Timer

The watchdog timer is a software configurable feature used to set critical outputs to safe states in the event of a software failure, a system crash, or any other loss of communication between the application and the NI 651x device.
Note The NI-DAQmx Watchdog feature is meant to protect a system from software
errors and hangs. In the case of a PXI system with remote control through MXI, a lost MXI connection could result in unexpected Watchdog behavior and therefore improperly implemented Watchdog states.
When the watchdog timer is enabled, if the NI 651x device does not receive a watchdog reset software command within the time specified for the watchdog timer, the outputs go to a user-defined safe state and remain in that state until the watchdog timer is disarmed by the application and new values are written, the NI 651x device is reset, or the computer is restarted. The expiration signal that indicates an expired watchdog will continue to assert until the watchdog is disarmed. After the watchdog timer expires, the NI 651x device ignores any writes until the watchdog timer is disarmed.
You can set the watchdog timer timeout period to specify the amount of time that must elapse before the watchdog timer expires. The counter on the watchdog timer is configurable up to
32
–1)  100 ns (approximately seven minutes) before it expires.
(2
Note NI 6510/6511 devices do not support the watchdog timer.
2-4 | ni.com
3

Digital I/O

I/O Connector

NI 6510 I/O Connector

The 37-pin D-SUB connector on the NI 6510 provides access to the digital inputs. The digital I/O available on this connector includes 32 inputs. For easy connection to the digital I/O connector, use the National Instruments SH37F-37M shielded digital I/O cable with the CB-37F connector block. For more information on digital I/O connectivity options, refer to Chapter 5,
Cables and Accessories.
Caution Do not make connections to the digital I/O that exceed the maximum I/O
specifications. Doing so could permanently damage the NI 6510 and the computer. Refer to the NI 651x Specifications, available at about maximum input ratings.
The input lines on the NI 6510 consist of input photocouplers, which react to a voltage differential rather than only to a voltage increase. If the voltage connected to a digital input is either greater than or less than the voltage connected to COM by at least the logic threshold, the reading on the digital line will be logic high, even though in one instance the digital line has a lower voltage level than COM.
ni.com/manuals, for information
For more information, refer to the Pin Assignments section.

NI 6511 I/O Connector

The 100-pin high-density SCSI connector on the NI 6511 provides access to the digital inputs. The digital I/O available on this connector includes 64 inputs. For easy connection to the digital I/O connector, use the National Instruments SH100-100-F shielded digital I/O cable with the SCB-100 connector block, or use the R1005050 ribbon cable with the CB-50 or CB-50LP connector block. For more information on digital I/O connectivity options, refer to Chapter 5,
Cables and Accessories.
Caution Do not make connections to the digital I/O that exceed the maximum I/O
specifications. Doing so could permanently damage the NI 6511 and the computer. Refer to the NI 651x Specifications, available at about maximum input ratings.
ni.com/manuals, for information
© National Instruments | 3-1
Chapter 3 Digital I/O
The input lines on the NI 6511 consist of input photocouplers, which react to a voltage differential rather than only to a voltage increase. If the voltage connected to a digital input is either greater than or less than the voltage connected to PX.COM by at least the logic threshold, the reading on the digital line will be logic high, even though in one instance the digital line has a lower voltage level than PX.COM.
For more information, refer to the Pin Assignments section.

NI 6512/6513 I/O Connector

The 100-pin high-density SCSI connector on the NI 6512/6513 provides access to the digital inputs and outputs. The digital I/O available on this connector includes 64 outputs. For easy connection to the digital I/O connector, use the National Instruments SH100-100-F shielded digital I/O cable with the SCB-100 connector block, or use the R1005050 ribbon cable with the CB-50 or CB-50LP connector block. For more information on digital I/O connectivity options, refer to Chapter 5, Cables and Accessories.
Caution Do not make connections to the digital I/O that exceed the maximum I/O
specifications. Doing so could permanently damage the NI 6512/6513 and the computer. Refer to the NI 651x Specifications, available at information about maximum input ratings.
The output lines on the NI 6512 consist of photocouplers and Darlington arrays. To connect to these signals, connect a 5 V to 30 V power supply to VCC, connect COM (GND) to ground, and cross a load between digital output and COM (GND).
ni.com/manuals, for
The output lines on the NI 6513 consist of photocouplers and Darlington arrays. To connect to these signals, connect a 5 V to 30 V power supply to COM (VCC), connect GND to ground, and cross a load between digital output and COM (VCC).
For more information, refer to the Pin Assignments section.

NI 6514/6515 I/O Connector

The 100-pin high-density SCSI connector on the NI 6514/6515 provides access to the digital inputs and outputs. The digital I/O available on this connector includes 32 inputs and 32 outputs. For easy connection to the digital I/O connector, use the National Instruments SH100-100-F shielded digital I/O cable with the SCB-100 connector block, or use the R1005050 ribbon cable with the CB-50 or CB-50LP connector block. For more information on digital I/O connectivity options, refer to Chapter 5, Cables and Accessories.
Caution Do not make connections to the digital I/O that exceed the maximum I/O
specifications. Doing so could permanently damage the NI 6514/6515 and the computer. Refer to the NI 651x Specifications, available at information about maximum input ratings.
3-2 | ni.com
ni.com/manuals, for
NI 651x User Manual
The input lines on the NI 6514/6515 consist of input photocouplers, which react to a voltage differential rather than only to a voltage increase. If the voltage connected to a digital input is either greater than or less than the voltage connected to PX.COM by at least the logic threshold, the reading on the digital line will be logic high, even though in one instance the digital line has a lower voltage level than PX.COM.
The output lines on the NI 6514 consist of photocouplers and Darlington arrays. To connect to these signals, connect a 5 V to 30 V power supply to VCC, connect COM (GND) to ground, and cross a load between digital output and COM (GND).
The output lines on the NI 6515 consist of photocouplers and Darlington arrays. To connect to these signals, connect a 5 V to 30 V power supply to COM (VCC), connect GND to ground, and cross a load between digital output and COM (VCC).
For more information, refer to the Pin Assignments section.

NI 6516/6517 I/O Connector

The 37-pin D-SUB connector on the NI 6516/6517 provides access to the digital inputs and outputs. The digital I/O available on this connector includes 32 outputs. For easy connection to the digital I/O connector, use the National Instruments SH37F-37M shielded digital I/O cable with the CB-37F connector block. For more information on digital I/O connectivity options, refer to Chapter 5, Cables and Accessories.
Caution Do not make connections to the digital I/O that exceed the maximum I/O
specifications. Doing so could permanently damage the NI 6516/6517 and the computer. Refer to the NI 651x Specifications, available at ni.com/manuals, for information about maximum input ratings.
The output lines on the NI 6516 consist of photocouplers and Darlington arrays. To connect to these signals, connect a 5 V to 30 V power supply to VCC, connect COM (GND) to ground, and cross a load between digital output and COM (GND).
The output lines on the NI 6517 consist of photocouplers and Darlington arrays. To connect to these signals, connect a 5 V to 30 V power supply to COM (VCC), connect GND to ground, and cross a load between digital output and COM (VCC).
For more information, refer to the Pin Assignments section.

NI 6518/6519 I/O Connector

The 37-pin D-SUB connector on the NI 6518/6519 provides access to the digital inputs and outputs. The digital I/O available on this connector includes 32 inputs and 32 outputs. For easy connection to the digital I/O connector, use the National Instruments SH37F-37M shielded digital I/O cable with the CB-37F connector block. For more information on digital I/O connectivity options, refer to Chapter 5, Cables and Accessories.
© National Instruments | 3-3
Loading...
+ 47 hidden pages