Resumen del contenido incluido en la página 1
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
Resumen del contenido incluido en la página 2
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..............................................
Resumen del contenido incluido en la página 3
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
Resumen del contenido incluido en la página 4
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
Resumen del contenido incluido en la página 5
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 Notes Do not apply the rubber feet to the NI USB-6509 when panel mounting the device. 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, ma
Resumen del contenido incluido en la página 6
Hardware Overview Figure 4 shows the key functional components of the NI USB-6509. +5 V Fuse and Filter 24 mA DIO Tranceivers 12 VDC Input External Power Port 0 12 V to 5 V Regulation Port 1 Port 2 Port 3 VBUS Power VBUS Current Sense Port 4 I/O 96 DIO 96 DIO 96 DIO 96 DIO Protection Port 5 Industrial Digital Port 6 I/O Control FPGA Port 7 Programmable Port 8 Power-Up States USB USB Port 9 Watchdog Timer 96 DIO 96 DIO 96 DIO 96 DIO Data/Control USB Data Interface Port Port 10 Digital Change Port
Resumen del contenido incluido en la página 7
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 /CVI , to program all the features of your NI measurement 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
Resumen del contenido incluido en la página 8
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. � Meas
Resumen del contenido incluido en la página 9
P2.7 1 51 P8.7 P5.7 2 52 P11.7 P2.6 3 53 P8.6 P5.6 4 54 P11.6 P2.5 5 55 P8.5 P5.5 6 56 P11.5 P2.4 7 57 P8.4 P5.4 8 58 P11.4 P2.3 9 59 P8.3 P5.3 10 60 P11.3 P2.2 11 61 P8.2 P5.2 12 62 P11.2 P2.1 13 63 P8.1 P5.1 14 64 P11.1 P2.0 15 65 P8.0 P5.0 16 66 P11.0 P1.7 17 67 P7.7 P4.7 18 68 P10.7 P1.6 19 69 P7.6 P4.6 20 70 P10.6 P1.5 21 71 P7.5 P4.5 22 72 P10.5 P1.4 23 73 P7.4 P4.4 24 74 P10.4 P1.3 25 75 P7.3 P4.3 26 76 P10.3 P1.2 27 77 P7.2 P4.2 28 78 P10.2 P1.1 29 79 P7.1 P4.1 30 80 P10.1 P1.0 31 81 P7.
Resumen del contenido incluido en la página 10
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 12 12 P2.7 P5.7 P8.7 P11.7 3 4 3 4 P2.6 P5.6 P8.6 P11.6 56 56 P2.5 P5.5 P8.5 P11.5 78 78 P2.4 P5.4 P8.4 P11.4 910 910 P2.3 P5.3 P8.3 P11.3 11 12 11 12 P2.2 P5.2 P8.2 P11.2 13 14 13 14 P2.1 P5.1 P8.1 P11.1 15 16 15 16 P2.0 P5.0 P8.0 P
Resumen del contenido incluido en la página 11
Signal Descriptions Table 1 lists the signals and descriptions for all signals available on the NI USB-6509 device. Table 1. NI USB-6509 Signal Descriptions Pin Signal Name Description MSB LSB 1, 3, 5, 7, 9, 11, 13, 15 P2.<7..0> Bi-directional data lines for P2.7 P2.0 port 2 2, 4, 6, 8, 10, 12, 14, 16 P5.<7..0> Bi-directional data lines for P5.7 P5.0 port 5 17, 19, 21, 23, 25, 27, P1.<7..0> Bi-directional data lines for P1.7 P1.0 29, 31 port 1 18, 20, 22, 24, 26, 28, P4.<7..0> Bi-directional d
Resumen del contenido incluido en la página 12
Digital I/O Static DIO on NI USB-6509 Devices You can use each of the NI USB-6509 DIO lines as a static digital input (DI) or digital output (DO) line. You can use static DIO lines to monitor or control digital signals. Each DIO port can be configured as a DI or DO port. All samples of static DI lines and updates of DO lines are software-timed. Digital I/O Circuitry The NI USB-6509 provides 96 lines of bidirectional DIO signals, P<0..11>.<0..7>. You can configure the direction as input or ou
Resumen del contenido incluido en la página 13
conditioning solutions for digital applications requiring high current drive. � If you configure a DIO line as an input, do not drive the line with voltages outside of its normal operating range. � Treat the DAQ device as you would treat any static sensitive device. Always properly ground yourself and the equipment when handling the DAQ device or connecting to it. I/O State at Power-On/Power-Off/Suspend After the device is powered on, the default state of all I/O lines is input. Using the I/
Resumen del contenido incluido en la página 14
NI USB-6509 +5 V Transceiver 100 kΩ Digital I/O Line R L GND Figure 9. DIO Channel Configured for High DIO State with External Load Example: At power up, the device is configured for input and, by default, all DIO lines are high. To pull one channel low, complete the following steps: 1. Install a load (R ). Remember that the smaller the resistance, the L greater the current consumption and the lower the voltage (V). 2. Using the following formula, calculate the largest possible load to maint
Resumen del contenido incluido en la página 15
Also, make sure the pull-up resistor value is not so large that leakage current from the DIO line brings the voltage at the resistor below a TTL-high level of 2 V. NI USB-6509 +5 V Transceiver R L Digital I/O Line 100 kΩ GND Figure 10. DIO Channel Configured for Low DIO State with External Load Example: The switch is set in the low DIO state, which means all DIO lines are pulled low. If you want to pull one channel high, complete the following steps: 1. Install a load (R ). Remember that the
Resumen del contenido incluido en la página 16
The NI USB-6509 has a current-sense circuit on VBUS (USB power rail). If the output channels source more than the specified current, the current is limited. The two following occurrences indicate an overcurrent condition: � The inputs/outputs are disabled � The LED on the back panel is blinking If you want to increase the current drive capacity on the NI USB-6509, you can use an optional external +12 VDC power supply. For more information, refer to the Optional +12 VDC Power Supply Installat
Resumen del contenido incluido en la página 17
Protecting Inductive Loads When inductive loads are connected to outputs, a large counter-electromotive force may occur at switching time because of the energy stored in the inductive load. These flyback voltages can damage the outputs and/or the power supply. To limit these flyback voltages at the inductive load, install a flyback diode across the inductive load. For best results, mount the flyback diode within 18 inches of the load. Figure 12 shows an example of using an external flyback
Resumen del contenido incluido en la página 18
PX.Y GND NI USB-6509 Figure 14. NI USB-6509 Sourcing Connection Example, <24 mA Driving a Relay >24 mA Figures 15 and 16 are examples of connecting the NI USB-6509 to a relay that requires more than 24 mA of current. These examples use an additional transistor circuit. Vcc PX.Y GND NI USB-6509 Figure 15. NI USB-6509 Sinking Connection Example, >24 mA Vcc PX.Y GND NI USB-6509 Figure 16. NI USB-6509 Sourcing Connection Example, >24 mA NI 6509 User Guide and Specifications 18 ni.com
Resumen del contenido incluido en la página 19
Driving SSRs Figure 17 shows an example of connecting the NI USB-6509 to a solid-state relay (SSR). Load PX.Y or SSR DC AC GND NI USB-6509 Figure 17. NI USB-6509 SSR Connection Example LED Indicator The LED indicator, located on the device back panel, indicates device status. Table 2 shows the behavior of the LED. Table 2. PWR/ACT LED Status LED State Device Status Not lit Device not powered or in suspend state On, not blinking Operating normally Blinking Device error—USB power budget possib
Resumen del contenido incluido en la página 20
+5 V Power Available at I/O Connector Pins 49 and 99 supply +5 V power to the I/O connector. The power drawn from these two pins shares the power consumption with the transceivers. The I/O connector power has a fuse for overcurrent protection. This fuse is not customer replaceable. If the fuse is blown, return the device to NI for repair. Caution The power pins, +5V and GND, connect to the computer power supply and are not isolated. Do not connect a +5V power pin directly to GND or connect