Warranty The NI PCI-8254R 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.
These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products. Depending on where it is operated, this Class A product could be subject to restrictions in the FCC rules. (In Canada, the Department of Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.) Digital...
Page 5
Conventions The following conventions are used in this manual: » The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog box.
Page 7
IEEE 1394 Camera Cables... 3-8 I/O Terminal Block ... 3-9 NI Vision I/O Terminal Block and Prototyping Accessory ... 3-9 Power Requirements... 3-9 Isolated Outputs Power Connector ... 3-9 Appendix A Technical Support and Professional Services Glossary Index NI PCI-8254R User Manual viii ni.com...
Introduction The National Instruments PCI-8254R is an IEEE 1394a interface device for PCI with reconfigurable I/O (RIO). The NI 8254R is OHCI compliant and should be used with IEEE 1394a devices that run natively in Windows 2000/XP. The NI 8254R device ships with documentation and NI Vision Acquisition Software, which contains all of the drivers in the NI Vision product line.
Chapter 1 Introduction National Instruments also offers the following application software packages for analyzing and processing your acquired images. For detailed information about individual software packages, refer to the documentation specific to each package. Vision Builder for Automated Inspection NI Vision Builder for Automated Inspection (Vision Builder AI) is configurable machine vision software that you can use to prototype, benchmark, and deploy applications.
The NI 8254R can start acquisitions in the following ways: • • Acquisition Window Control You can configure the following parameter on the NI 8254R to control the video acquisition window: • NI PCI-8254R User Manual V2 FPGA Dust CPLD MITE Config ROM 1394...
NI 8254R device to add triggering, pulse-width modulation signals, or custom communications protocols to your machine vision application. Using National Instruments RIO hardware and the LabVIEW FPGA Module, you can define your hardware without in-depth knowledge of hardware design tools or hardware description languages (HDL). When the signal requirements change, the LabVIEW code can be modified and downloaded to the FPGA to change the I/O mix or type.
Function Output Available Trigger Input Timed Output Pulse NI PCI-8254R User Manual Table 2-1. NI 8254R TTL Inputs and Outputs Signal Names TTL Input 0, General Purpose TTL Input 1, General Purpose TTL Output 1, Pulse 1 TTL Output 2, Pulse 2...
TTL Output 0 TTL Output 5 TTL Output 6 TTL Output 7 is referred to as C on the 2-position isolated outputs Chapter 2 Digital I/O 44-Pin D-SUB on 37-Pin NI 8255R Terminal Device Pin Block Number Number NI PCI-8254R User Manual...
ISO Input 5 can also function as a latch for the product selection port. I/O for Normal Operation The following sections describe I/O functions that are available on the NI 8254R during normal operation. NI PCI-8254R User Manual Number Signal Available...
1 µs and 4,294,967,295 µs, which is 4,294 seconds, or approximately 71 minutes. If the delay is configured for quadrature encoder counts, the range of choices is 0 counts to 4,294,967,295 counts. NI PCI-8254R User Manual Trigger Input Output Pulse ni.com...
NI 8254R to switch between up to 32 (2 sequences for different parts on an assembly line. Based on the input to the product selection port, you can configure the application software to run the appropriate inspection sequence. For NI PCI-8254R User Manual Trigger Low Pulse Delay...
NI 8254R in the event of a fault condition. Fault Condition External Shutdown Watchdog The following sections describe each fault condition. NI PCI-8254R User Manual External shutdown, when Shutdown mode is enabled Watchdog timer expiration Table 2-4. Fault Condition Behavior Shutdown Enabled...
If the watchdog timer has expired, the expiration signal continues to assert until the watchdog timer is disarmed. Shutdown—If Shutdown mode is enabled, the outputs go to the user-defined shutdown states. 2-11 Chapter 2 Digital I/O NI PCI-8254R User Manual...
Wiring an Isolated Input to a Sourcing Output Device You can wire an isolated input to a sourcing output device, as shown in the following figure. Refer to the NI PCI-8254R Quick Start Guide for switching thresholds and current requirements.
NI 8254R to an inductive load. The following figure shows an example of using an external flyback diode to protect inductive loads. NI PCI-8254R User Manual NI 8254R 2-14 Digital...
(5 to 30 VDC) for the NI 8254R device. The C terminal provides the common-mode signal for the NI 8254R device. Figure 3-1 illustrates the isolated outputs power connector on the NI 8254R device. NI PCI-8254R User Manual Table 3-1. NI 8254R Connector Functions Connector 2-position isolated outputs...
Page 30
50 mA from 5 V isolated outputs. 44-Pin D-SUB on NI 8255R Device Pin 37-Pin Terminal Number Block Number NI PCI-8254R User Manual Figure 3-2. NI 8254R 44-Pin D-SUB Connector Table 3-3. Signal Connections Primary Signal Name Function TTL Input 0...
Page 31
NI 8255R device main power Pulse generator General-purpose output output Isolated power — Pulse generator Trigger Change trigger input Detector, General-purpose input General-purpose — output General-purpose — output Isolated — common-mode signal Input port, — Data(0) NI PCI-8254R User Manual...
Page 32
Signal Connections 44-Pin D-SUB on NI 8255R Device Pin 37-Pin Terminal Number Block Number NI PCI-8254R User Manual Table 3-3. Signal Connections (Continued) Signal Name TTL Input 1 TTL Output 4 TTL Output 5 TTL Output 6 TTL Output 7...
Page 33
Isolated — common-mode signal Input port, — Data(4) Input port latch, Pulse generator Data(5) trigger input Isolated — common-mode signal Quadrature General-purpose encoder Phase A input Quadrature General-purpose encoder Phase B input Isolated — common-mode signal NI PCI-8254R User Manual...
You can connect cameras to the NI 8254R using standard IEEE 1394 cables. IEEE 1394 cables provide both a data path and power to your camera. NI PCI-8254R User Manual Table 3-3. Signal Connections (Continued) Signal Name ISO Input 8...
I/O Terminal Block National Instruments provides an I/O terminal block with the NI 8254R, which can be mounted either horizontally or vertically. The I/O terminal block breaks the signals out into easy-to-use screw terminals and comes with a cable that connects directly to the 44-pin D-SUB connector on the NI 8254R.
Page 36
The V terminal provides the isolated output circuitry (5 to 30 VDC) for the NI 8254R device. The C terminal provides the common-mode signal for the NI 8254R device. NI PCI-8254R User Manual Table 3-4. Power Connector Terminals Terminal...
Page 38
Worldwide Offices section of office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events. NI PCI-8254R User Manual Calibration Certificate—If your product supports calibration, you can obtain the calibration certificate for your product at ni.com/calibration...
Page 40
IEEE 1394 Trade Association Instrumentation and Industrial Control Working Group, Digital Camera Sub Working Group. isolated A signal which has no electrical connection to the overall system power. NI-IMAQ Driver software for National Instruments image acquisition (IMAQ) hardware. NI PCI-8254R User Manual ni.com...
Page 42
Glossary Volts direct current. voltage The electromotive force. NI PCI-8254R User Manual ni.com...
Page 43
IEEE 1394a, connector, 3-3 instrument drivers (NI resources), A-1 isolated inputs, 2-3 list of, 2-4 isolated outputs, 2-3 list of, 2-4 power connector, 3-9 KnowledgeBase, A-1 LabVIEW FPGA Module, 2-1 LabVIEW, Vision Builder AI, 1-2 latch, 2-9 NI PCI-8254R User Manual...
Page 44
TTL inputs, 2-2 TTL outputs, 2-2 NI 8255R NI Vision Terminal Block and Prototyping Accessory, 3-9 NI PCI-8254R User Manual NI support and services, A-1 NI Vision Assistant, 1-2 NI Vision Terminal Block and Prototyping Accessory, 3-9 power connector terminals, 3-10...
Need help?
Do you have a question about the NI PCI-8254R and is the answer not in the manual?
Questions and answers