background image

Chapter 4

Using the 6527

©

National Instruments Corporation

4-5

6527 User Manual

Figure 4-2.

Digital Filter Timing

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 or a
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.

Note

The maximum rate of change notification is therefore limited by software response

time and varies from system to system.

Table 4-2 shows a change notification example for six 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
output device. The 6527 detects any change in the input data so you
can read the new data value.

External

Signal

External

Signal

Sampled

Filter

Clock

Sample Clock (100 ns)

Filtered

Signal

H

H

H

H

H

H

L

L

H

H

H

L

L

H

H

A

B

C

Summary of Contents for 6527

Page 1: ...DAQ 6527 User Manual Isolated Digital I O Interface for PCI PXI and CompactPCI 6527 User Manual August 2000 Edition Part Number 322164B 01 ...

Page 2: ...any 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico D F 5 280 7625 Mexico Monterrey 8 357 7695 Netherlands 0348 433466 New Zealand 09 914 0488 Norway 32 27 73 00 Poland 0 22 528 94 06 Portugal 351 1 726 9011 Singapore 2265886 Spain 91 640 0085 Sweden 08 587 895 00 Switzerland 056 200 51 51 Taiwa...

Page 3: ...rvice failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or trans...

Page 4: ... Driver Software 1 3 Optional Equipment 1 4 Custom Cabling 1 5 Safety Information 1 5 Unpacking 1 6 Chapter 2 Installing and Configuring the 6527 Installing Software 2 1 Installing the 6527 2 1 Configuring the 6527 2 3 Chapter 3 Making Signal Connections I O Connector 3 1 Cable Assembly Connectors 3 3 I O Connector Signal Descriptions 3 5 Power Connections 3 6 Isolation Voltages 3 7 Optically Isol...

Page 5: ...on and Power off Conditions 3 13 Chapter 4 Using the 6527 Functional Overview 4 1 PCI Interface Circuitry 4 2 Digital I O Circuitry 4 3 Optical Isolation Circuitry 4 3 Digital Filtering 4 3 Change Notification 4 5 Appendix A Specifications Appendix B Technical Support Resources Glossary Index ...

Page 6: ... 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 or Measurement Studio documentation sets and the NI DAQ documentation After you set up your hardware system use either the application software or the NI DAQ documentation to help you write your a...

Page 7: ...id being electrically shocked italic Italic 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 word or value that you must supply monospace Text 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...

Page 8: ...C 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 6527 device is a completely jumperless DAQ device for PCI buses and PXI or CompactPCI chassis and contains the National Instruments PCI MITE interface The 6527 devices are ideal for l...

Page 9: ...e 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 1 CompactPCI core specification What You Need to Get Started To ...

Page 10: ...data acquisition through standard ANSI C functions and ActiveX controls With Measurement Studio you can use all of the configuration tools resource management utilities and interactive control utilities included with NI DAQ Using LabVIEW or Measurement Studio software will greatly reduce the development time for your data acquisition and control application NI DAQ Driver Software The NI DAQ driver...

Page 11: ...r 6527 device such as 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 call the office nearest to you LabVIEW or Measurement Studio Conventional Programming Environment NI DAQ Driver Software DAQ or ...

Page 12: ...ns Do not operate the 6527 in an explosive atmosphere or where there may be 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 ...

Page 13: ...d 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 Never touch the exposed pins of connectors Note Notify National Instruments if ...

Page 14: ...onal Instruments application software packages refer to the appropriate release notes for exact directions on installing your software 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 Installing the 6527 This section describes how to install your hardware Note Ins...

Page 15: ...puter 8 Visually verify the installation 9 Replace the top cover of your computer 10 Plug in and turn on your computer PXI 6527 To 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 Make sure there are no lighted LEDs on your motherboard If any are ...

Page 16: ...oftware configurable and you do not need to perform any configuration steps after the system powers up 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...

Page 17: ... Pay careful attention to the maximum input ratings included with the description of each signal in this chapter National Instruments is not liable for any damages resulting from signal connections that exceed these maximum ratings 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 s...

Page 18: ... 8 58 7 57 6 56 5 55 4 54 3 53 2 52 1 51 GND GND 5 V 5 V DIG 0 0 DIG 3 0 DIG 0 0 DIG 3 0 DIG 0 1 DIG 3 1 DIG 0 1 DIG 3 1 DIG 0 2 DIG 3 2 DIG 0 2 DIG 3 2 DIG 0 3 DIG 3 3 DIG 0 3 DIG 3 3 DIG 0 4 DIG 3 4 DIG 0 4 DIG 3 4 DIG 0 5 DIG 3 5 DIG 0 5 DIG 3 5 DIG 0 6 DIG 3 6 DIG 0 6 DIG 3 6 DIG 0 7 DIG 3 7 DIG 0 7 DIG 3 7 DIG 1 0 DIG 4 0 DIG 1 0 DIG 4 0 DIG 1 1 DIG 4 1 DIG 1 1 DIG 4 1 DIG 1 2 DIG 4 2 DIG 1 2...

Page 19: ...onnectors 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 Figure 3 2 shows the pin assignments for the 50 pin connectors on the cable assembly Table 3 1 Port Functionality for...

Page 20: ...6 DIG 2 7 49 50 47 48 45 46 43 44 41 42 39 40 37 38 35 36 33 34 31 32 29 30 27 28 25 26 23 24 21 22 19 20 17 18 15 16 13 14 11 12 9 10 7 8 5 6 3 4 1 2 5 V DIG 3 0 DIG 3 1 DIG 3 2 DIG 3 3 DIG 3 4 DIG 3 5 DIG 3 6 DIG 3 7 DIG 4 0 DIG 4 1 DIG 4 2 DIG 4 3 DIG 4 4 DIG 4 5 DIG 4 6 DIG 4 7 DIG 5 0 DIG 5 1 DIG 5 2 DIG 5 3 DIG 5 4 DIG 5 5 DIG 5 6 DIG 5 7 GND DIG 3 1 DIG 3 2 DIG 3 4 DIG 3 5 DIG 3 6 DIG 3 7 D...

Page 21: ...esponding 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...

Page 22: ...bidirectional solid state relay1 A logic low data bit of 0 closes the relay 84 86 88 90 92 94 96 98 DIG 3 7 0 Isolated output port 3 second terminals Each of these is the second of two terminals of a bidirectional solid state relay A logic low data bit of 0 closes the relay 67 69 71 73 75 77 79 81 DIG 4 7 0 Isolated output port 4 first terminals Each of these is the first of two terminals of a bid...

Page 23: ...ning Do not exceed the isolation voltage limits Exceeding the voltage limits can lead to injury National Instruments is not liable for any damage resulting from signal connections that exceed these 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...

Page 24: ...gnal 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 devi...

Page 25: ...e 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 as shown in Figure 3 4 Figure 3 4 Reducing Input Current for High Voltage Signals 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 c...

Page 26: ...ether to form a bidirectional switch The LH1546 is a solid state relay Depending on how the load is connected to the terminals an output can either source or sink currents 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 Load RS If 5 V Supply Isolation Isolated Ground Digital Logic 390 DIG 6527 DIG...

Page 27: ...ons is not met use the appropriate external power supply Using the 5 V line from the 6527 device allows you to use it as a TTL level output device with non isolated power Figure 3 6 shows a signal connection example for both sinking and sourcing current The example shows a TTL level application with a supply voltage of 5 V The 6527 provides sink current when the relay is closed Resistor RL provide...

Page 28: ... drops back under the specified range the relays return to normal operation Maximum DC voltage across the terminals VOUT 60 VDC Maximum AC voltage across the terminals VOUT 30 VRMS 42 VPeak Maximum current If 120 mA1 1With all relays carrying 120 mA and all inputs driven to 28 V the total power dissipation can approach 20 W The maximum switching capacity in PCI and CompactPCI systems must be derat...

Page 29: ...1 s max at 7 V Caution Overcurrent protection is for protection against transient fault conditions only The 6527 should not normally be operated above 120 mA National Instruments is not liable for any damage resulting from signal connections that exceed 120 mA 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 o...

Page 30: ...527 device explains the operation of each functional unit and describes the digital filter and change detection options Functional Overview The block diagram in Figure 4 1 illustrates the key functional components of your 6527 device which includes PCI interface circuitry digital I O circuitry and optical isolation circuitry ...

Page 31: ...ecifically for data acquisition to communicate with the PCI bus The PCI MITE is fully compliant with PCI Local Bus Specification 2 0 Port 0 Isolation Port 0 Digital I O Circuitry FPGA EEPROM 16 Port 1 Isolation Port 1 16 Port 2 Isolation Port 2 16 Port 3 Isolation Port 3 16 Port 4 Isolation Port 4 16 Port 5 Isolation Port 5 16 I O Connector PCI or PXI Bus EEPROM PCI MITE Interface ...

Page 32: ...sed for isolation at each channel of output For diagrams of the complete input and output circuitry see Chapter 3 Making Signal Connections Digital Filtering You can eliminate glitches on input data by using the digital filter option that is available on all the input lines When used with change notification filtering can also reduce the number of changes for you to examine and process You can con...

Page 33: ...ast two consecutive rising edges of the filter 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 Figure 4 2 shows a filter configuration with an 800 ns filter interval 400 ns filter clock Whil...

Page 34: ...e 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 Note The maximum rate of change notification is th...

Page 35: ...nd 2 After receiving notification of a change you can read the port to determine the current values of all eight lines If you anticipate noisy or rapidly changing input lines use digital filtering with change notification to reduce the changes to a manageable number excessive notifications can hurt system performance For example if you want to limit the rate of notifications and interrupts to a ma...

Page 36: ...ed Inputs Number of input channels 24 each with its own ground reference isolated from other channels Max input voltage 28 VDC Digital logic levels Input current 5 V inputs 1 5 mA channel max 24 V inputs 8 mA channel max Isolation 60 VDC channel to channel and from computer ground and VCC Relay Outputs Number of channels 24 each with two terminals that are isolated from other channels Relay type N...

Page 37: ...lays open Overcurrent protection on outputs typical at 25 C Vrelay 7 V Current limit 260 mA Shutdown time 1 µs Overcurrent duration max 1 s Power Requirement 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 driven to 28 V the total power dissipation can approach 20 W The maximum switching capacity in PCI and CompactPC...

Page 38: ...lse 11 ms duration 30 g peak 30 shocks per face Operational random vibration PXI 6527 5 to 500 Hz 0 31 grms 3 axes Nonoperational random vibration PXI 6527 5 to 500 Hz 2 5 grms 3 axes 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 Figur...

Page 39: ...e latest example programs system configurators tutorials technical news as well as a community of developers ready to share their own techniques Customer Education National Instruments provides a number of alternatives to satisfy your training needs from self paced tutorials videos and interactive CDs to instructor led hands on courses at locations around the world Visit the Customer Education sec...

Page 40: ...es from the Worldwide Offices section of ni com Branch office Web sites provide up to date contact information support phone numbers e mail addresses and current events If you have searched the technical support resources on our Web site and still cannot find the answers you need contact your local office or National Instruments corporate Phone numbers for our worldwide offices are listed at the f...

Page 41: ...bers Symbols degrees negative of or minus Ω ohms per percent plus or minus positive of or plus 5 V 5 Volts signal A A amperes AC alternating current ANSI American National Standards Institute ASIC Application Specific Integrated Circuit a proprietary semiconductor component designed and manufactured to perform a set of specific functions ...

Page 42: ...tions and electronic equipment with transient overvoltages smaller than local level mains supplies cm centimeters CompactPCI refers to the core specification defined by the PCI Industrial Computer Manufacturer s Group PICMG D DAQ data acquisition a system that uses the personal computer to collect measure and generate electrical signals DC direct current DIG positive data terminal DIG negative dat...

Page 43: ...nsfer data without electrical continuity to eliminate high potential differences and transients optocoupler a device that transfers electrical signals by utilizing light waves to provide coupling with electrical isolation between input and output P PCI Peripheral Component Interconnect a high performance expansion bus architecture originally developed by Intel to replace ISA and EISA port a digita...

Page 44: ...transistor transistor logic V V volts Vcc supply voltage for example the voltage a computer supplies to its plug in devices VDC volts direct current VI virtual instrument a combination of hardware and or software elements typically used with a PC that has the functionality of a classic standalone instrument VIN input voltage W W watts ...

Page 45: ...change notification example 4 6 purpose and use 4 5 to 4 6 clocks for digital filtering 4 4 to 4 5 CompactPCI using with PXI 1 2 configuration 2 3 connector See I O connector conventions used in manual viii custom cabling 1 5 customer education B 1 D DC voltages sensing 3 8 device configuration 2 3 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 ta...

Page 46: ...nputs See optically isolated inputs isolation voltages 3 7 L LabVIEW software 1 3 LabWindows CVI software 1 3 M manual See documentation Measurement Studio software 1 3 N National Instruments application software 1 3 NI Developer Zone B 1 NI DAQ driver software 1 3 to 1 4 O optical isolation circuitry 4 3 optically isolated inputs 3 7 to 3 9 input channels 3 7 reducing forward current for high vol...

Page 47: ...nt for high voltages 3 9 sensing DC voltages 3 8 signal connection example 3 8 power connections 3 6 solid state relay outputs 3 10 to 3 13 output channels 3 10 to 3 12 overcurrent protection 3 12 to 3 13 power on and power off conditions 3 13 software installation 2 1 software programming choices 1 3 to 1 4 National Instruments application software 1 3 NI DAQ driver software 1 3 to 1 4 solid stat...

Reviews: