National Instruments NI USB-6509 User Manual

USER GUIDE AND SPECIFICATIONS
NI USB-6509
This document contains information about using the National Instruments USB-6509 data acquisition (DAQ) device with NI-DAQmx 8.7 and later. The NI USB-6509 is a bus-powered 96-channel, digital input/output (I/O) device. The NI USB-6509 features 96 TTL/CMOS-compatible digital I/O lines, a watchdog timer, digital input filtering and change detection, and output programmable power-up states. The NI USB-6509 also features an optional external DC power supply that can increase the I/O drive strength.

Contents

Getting Started ........................................................................................2
Installing Software........................................................................... 2
Installing the Hardware.................................................................... 3
USB Cable Strain Relief .................................................................. 3
Mounting the NI USB-6509 ............................................................3
Desktop Use.............................................................................. 3
DIN Rail Mounting................................................................... 4
Panel Mounting.........................................................................5
Hardware Overview ................................................................................ 6
Programming Devices in Software .........................................................7
Related Documentation.................................................................... 8
I/O Connector.......................................................................................... 8
Pin Assignments .............................................................................. 8
SH100-100-F Pin Assignments ................................................ 8
R1005050 Pin Assignments...................................................... 10
Signal Descriptions ..........................................................................11
Digital I/O ............................................................................................... 12
Static DIO on NI USB-6509 Devices ..............................................12
Digital I/O Circuitry......................................................................... 12
I/O Protection................................................................................... 12
I/O State at Power-On/Power-Off/Suspend..................................... 13
I/O Pull-Up/Pull-Down Resistor...................................................... 13
High DIO State ......................................................................... 13
Low DIO State.......................................................................... 14
Increasing Current Drive on NI USB-6509 Devices ....................... 15

Getting Started

DIO Signal Connection ....................................................................16
Protecting Inductive Loads...............................................................17
Sinking and Sourcing Examples.......................................................17
Driving a Relay <24 mA ...........................................................17
Driving a Relay >24 mA ...........................................................18
Driving SSRs.............................................................................19
LED Indicator...................................................................................19
Power Connection....................................................................................19
Optional +12 VDC Power Supply Installation.................................19
+5 V Power Available at I/O Connector ..........................................20
Industrial DIO Features ...........................................................................20
Digital Filtering ................................................................................20
Digital Filtering Example..........................................................21
Programmable Power-Up States.......................................................22
Change Detection .............................................................................22
Change Detection Example.......................................................23
Watchdog Timer...............................................................................23
Cables and Accessories ...........................................................................24
Specifications...........................................................................................24
Safety Guidelines.....................................................................................29
Where to Go for Support .........................................................................31
NI USB-6509 devices feature up to 96 bidirectional per-port static DIO lines. If you have not already installed your device, refer to the NI-DAQmx for USB Devices Getting Started Guide.
Before installing your DAQ device, you must install the software you plan to use with the device.

Installing Software

Software support for the NI USB-6509 for Windows is provided by NI-DAQmx.
The NI-DAQmx CD contains example programs that you can use to get started programming with the NI USB-6509. Refer to the NI-DAQmx for USB Devices Getting Started Guide, that shipped with your device and is also accessible from Start»All Programs»National Instruments» NI-DAQ, for more information.
Note For information about non-Windows operating system support, refer to
ni.com/info and enter rddqld.
NI 6509 User Guide and Specifications 2 ni.com

Installing the Hardware

The NI-DAQmx for USB Devices Getting Started Guide contains non-software-specific information about how to install USB devices.

USB Cable Strain Relief

The two strain relief options for your USB cable are as follows:
Cable Strain Relief Groove Method—Press the USB cable into one
of the two grooves on the underside of the NI USB-6509. Choose the USB cable groove that matches your USB cable size, as shown in Figure 1.
Zip Tie Method—Thread a zip tie through the zip tie bar on the
underside of the NI USB-6509 and tighten around the USB cable, as shown in Figure 1.
1
1 USB Cable Strain Relief Groove (Large) 2 USB Cable Strain Relief Groove (Small) 3 USB Cable

Mounting the NI USB-6509

You can use the NI USB-6509 on a desktop or mount it to a standard DIN rail or a panel.

Desktop Use

You can use the NI USB-6509 on a desktop. The NI USB-6509 has grooves on the underside that allow it to be stacked on top of other NI USB-6509 devices.
3
3
2
4 Zip Tie 5 Zip Tie Bar

Figure 1. USB Cable Strain Relief Options

4
5
© National Instruments Corporation 3 NI 6509 User Guide and Specifications
For secure desktop use, you can adhere the supplied rubber non-skid feet to the underside of the device, as shown in Figure 2.
Note Do not apply the rubber feet if you are panel mounting the NI USB-6509 or stacking
multiple NI USB-6509 devices.

Figure 2. Applying Rubber Feet to the NI USB-6509

DIN Rail Mounting

The DIN rail mounting kit (part number 779689-01, not included in your NI USB-6509 kit) is an accessory you can use to mount the NI USB-6509 to a standard DIN rail.
Note Apply strain relief, as described in the USB Cable Strain Relief section, before
mounting the NI USB-6509 to a DIN rail.
NI 6509 User Guide and Specifications 4 ni.com

Panel Mounting

To mount the NI USB-6509 to a board or panel, complete the following steps while referring to Figure 3.

Figure 3. Mounting the NI USB-6509 on a Panel

Do not apply the rubber feet to the NI USB-6509 when panel mounting the device.
Notes
Apply strain relief, as described in the USB Cable Strain Relief section, before panel mounting the NI USB-6509.
1. Go to ni.com/info and enter the info code rd3233 to download and print the panel mounting template PDF.
2. Using the template, mark the bottom point and top point on the panel. The points will be 162 mm (6.375 in.) from each other.
3. Remove the USB cable from the connector on the NI USB-6509.
4. Screw a #8 or M4 screw into the bottom point on the panel.
5. Set the NI USB-6509 on the screw by fitting it into the bottom screw notch on the underside of the NI USB-6509.
6. Screw a #8 or M4 screw through the NI USB-6509 top screw hole into the panel.
© National Instruments Corporation 5 NI 6509 User Guide and Specifications

Hardware Overview

Figure 4 shows the key functional components of the NI USB-6509.
+5 V
I/O Connector
96 DIO96 DIO
Fuse and
2
1
Filter
I/O
Protection
24 mA DIO
Tranceivers
Por t 0
Por t 1
Por t 2
96 DIO96 DIO
Por t 3
Por t 4
Por t 5
Por t 6
Por t 7
Por t 8
Por t 9
Por t 10
Por t 11
96 DIO96 DIO96 DIO96 DIO
Industrial Digital
I/O Control FPGA
DIO Lines
Filtering
Programmable
Power-Up States
Watchdog Timer
Digital
Change
Detection
VBUS Current
Data/Control

Figure 4. NI USB-6509 Block Diagram

Figure 5 shows the back panel of the NI USB-6509.
I/O LINE PULL
HIGH
LOW
12VDC
12 V to 5 V Regulation
Sense
+
, 1A
USB
Interface
External Power
VBUS Power
USB Data
3
4
12 VDC Input
USB Por t
1 I/O Line Pull Switch 2LED
3 Recessed USB Port 4 DC Power Jack

Figure 5. NI USB-6509 Back Panel

NI 6509 User Guide and Specifications 6 ni.com

Programming Devices in Software

National Instruments measurement devices for USB are packaged with NI-DAQ driver software, an extensive library of functions and VIs you can call from your application software, such as LabVIEW or LabWindows devices. Driver software has an application programming interface (API), which is a library of VIs, functions, classes, attributes, and properties for creating applications for your device.
NI-DAQ 8.x includes NI-DAQmx, which has its own API, hardware configuration, and software configuration. Refer to the NI-DAQmx for USB Getting Started Guide for more information.
NI-DAQmx includes a collection of programming examples to help you get started developing an application. You can modify example code and save it in an application. You can use examples to develop a new application or add example code to an existing application.
To locate LabVIEW and LabWindows/CVI examples, open the National Instruments Example Finder:
In LabVIEW, select Help»Find Examples.
In LabWindows/CVI, select Help»NI Example Finder.
Measurement Studio, Visual Basic, and ANSI C examples are in the following directories:
NI-DAQmx examples for Measurement Studio-supported languages are in the following directories:
MeasurementStudio\DotNET\Examples\NIDaq
NI-DAQmx examples for ANSI C are in the NI-DAQ\Examples\
DAQmx ANSI C Dev directory
/CVI™, to program all the features of your NI measurement
MeasurementStudio\VCNET\Examples\NIDaq
For additional examples, refer to
© National Instruments Corporation 7 NI 6509 User Guide and Specifications
zone.ni.com.

Related Documentation

The following documents contain information that you may find helpful as you use this user guide:
NI-DAQmx for USB Getting Started Guide—This guide describes how to install the NI-DAQmx 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.
DAQ Assistant Help—This help file contains information about creating and configuring channels, tasks, and scales using the DAQ Assistant.

I/O Connector

The 100-pin high-density SCSI connector on the NI USB-6509 provides access to 96 digital inputs and outputs. Use this connector to connect to external devices, such as solid-state relays (SSRs) and LEDs. 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.
Caution Do not make connections to the digital I/O that exceed the maximum I/O
specifications. Doing so may permanently damage the NI USB-6509 device and the computer. Refer to the Signal Descriptions and Specifications sections for information about maximum input ratings.

Pin Assignments

SH100-100-F Pin Assignments

Figure 6 shows the pin assignments for the NI USB-6509 using the SH100-100-F cable. The naming convention for each pin is PX.Y, where X is the port (P) number, and Y is the line number or name.
NI 6509 User Guide and Specifications 8 ni.com
P2.7
P5.7
P2.6
P5.6
P2.5
P5.5
P2.4
P5.4
P2.3
P5.3
P2.2
P5.2
P2.1
P5.1
P2.0
P5.0
P1.7
P4.7
P1.6
P4.6
P1.5
P4.5
P1.4
P4.4
P1.3
P4.3
P1.2
P4.2
P1.1
P4.1
P1.0
P4.0
P0.7
P3.7
P0.6
P3.6
P0.5
P3.5
P0.4
P3.4
P0.3
P3.3
P0.2
P3.2
P0.1
P3.1
P0.0
P3.0
+5 V
GND
51
P8.7
1
52
2
P11.7
53
3
P8.6
54
4
P11.6
55
5
P8.5
6
56
P11.5
7
57
P8.4
8
58
P11.4
9
59
100
P8.3
60
P11.3
61
P8.2
62
P11.2
63
P8.1
64
P11.1
65
P8.0
66
P11.0
67
P7.7
68
P10.7
69
P7.6
70
P10.6
71
P7.5
72
P10.5
73
P7.4
74
P10.4
75
P7.3
P10.3
76
P7.2
77
P10.2
78
P7.1
79
P10.1
80
P7.0
81
P10.0
82
P6.7
83
P9.7
84
P6.6
85
P9.6
86
P6.5
87
P9.5
88
P6.4
89
P9.4
90
P6.3
91
P9.3
92
P6.2
93
P9.2
94
P6.1
95
P9.1
96
P6.0
97
P9.0
98
99
+5 V
GND
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

Figure 6. Pin Assignments for the NI USB-6509 using the SH100-100-F

Refer to the Signal Descriptions section for information about the signals available on this connector.
© National Instruments Corporation 9 NI 6509 User Guide and Specifications

R1005050 Pin Assignments

Figure 6 shows the pin assignments for the NI USB-6509 using the R1005050 cable. The naming convention for each pin is PX.Y, where X is the port (P) number, and Y is the line number or name.
Positions 1 through 50 Positions 51 through 100
P2.7
P2.6
P2.5
P2.4
P2.3
P2.2
P2.1
P2.0
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.0
P0.7
P0.6
P0.5
P0.4
P0.3
P0.2
P0.1
P0.0
+5 V
12
3 4
56
78
910
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
3940
41 42
43 44
45 46
47 48
49 50
P5.7
P5.6
P5.5
P5.4
P5.3
P5.2
P5.1
P5.0
P4.7
P4.6
P4.5
P4.4
P4.3
P4.2
P4.1
P4.0
P3.7
P3.6
P3.5
P3.4
P3.3
P3.2
P3.1
P3.0
GND
P8.7
P8.6
P8.5
P8.4
P8.3
P8.2
P8.1
P8.0
P7.7
P7.6
P7.5
P7.4
P7.3
P7.2
P7.1
P7.0
P6.7
P6.6
P6.5
P6.4
P6.3
P6.2
P6.1
P6.0
+5 V
12
3 4
56
78
910
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
3940
41 42
43 44
45 46
47 48
49 50
P11.7
P11.6
P11.5
P11.4
P11.3
P11.2
P11.1
P11.0
P10.7
P10.6
P10.5
P10.4
P10.3
P10.2
P10.1
P10.0
P9.7
P9.6
P9.5
P9.4
P9.3
P9.2
P9.1
P9.0
GND

Figure 7. Pin Assignments for the NI USB-6509 using the R1005050

Refer to the Signal Descriptions section for information about the signals available on this connector.
NI 6509 User Guide and Specifications 10 ni.com
Loading...
+ 21 hidden pages