National Instruments NI PCI-8254R manual

1
2
3
4
5
6
7
8
9
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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments NI PCI-8254R, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of National Instruments NI PCI-8254R one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of National Instruments NI PCI-8254R. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of National Instruments NI PCI-8254R should contain:
- informations concerning technical data of National Instruments NI PCI-8254R
- name of the manufacturer and a year of construction of the National Instruments NI PCI-8254R item
- rules of operation, control and maintenance of the National Instruments NI PCI-8254R item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of National Instruments NI PCI-8254R alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of National Instruments NI PCI-8254R, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the National Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of National Instruments NI PCI-8254R.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the National Instruments NI PCI-8254R item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    NI Vision NI PCI-8254R User Manual 1394a Image Acquisition Device with Reconfigurable I/O NI PCI-8254R User Manual September 2006 371578C-01[...]

  • Page 2

    Support Worldwide Technical Support and Product Info rmation ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Aust in, Texas 78759-3504 USA Tel: 512 683 0100 Worldwide Offices Australia 1800 300 800, Austria 43 0 662 45 79 90 0, Belgium 32 0 2 757 00 20, Brazil 55 11 3262 3599, Canada 800 433 3488, China 86 21 6555 78[...]

  • Page 3

    Important Information Warranty The NI PCI-8 254R is warra nted agai nst defec ts in mat erials a nd workmanship for a period of one year from the date of shipm ent, as evidenced by receipts or other documentati on. National Instruments wil l, at its option, repair or replace equipment that proves to be defect ive during the warranty period. This wa[...]

  • Page 4

    Compliance Compliance with FCC/Canada Radio Frequency Interference Regulations Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless co mmunications from inte rference. The FCC places digital electronics into two classes. These classes are known as Class A (for use in industrial-commercial locations onl y) [...]

  • Page 5

    Conventions The follo wing con ventions 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 yo u to pull down the File menu, select the Page Setup item, and select Options from the last dialog box. This icon denotes a n ote, which aler[...]

  • Page 6

    © National Instruments Corporation vii NI PCI-8254R User Manual Contents Chapter 1 Introduction Software Overview ......... .............. ............... .............. .............. .............. .............. .......... 1-1 Vision Builder for Automated Inspection ........ ................. .............. ................ 1-2 Vision Developme[...]

  • Page 7

    Contents NI PCI-8254R User Manual viii ni.com Chapter 3 Signal Connections Connectors ....... .............. .............. .............. .............. .............. .............. .............. ............ 3-2 2-Position Isolated Outputs Po wer Con nect or .............. .............. .............. ...... 3-2 IEEE 1394a Connector..... .....[...]

  • Page 8

    © National Instruments Corporation 1-1 NI PCI-8254R User Manual 1 Introduction The National Instruments PCI-8254R is an IEEE 1394a interface device for PCI with reconfig urable I/O (RIO). The NI 8254R is OHCI compliant and should be used with IEEE 1394a devices that run natively in Windows 2000/X P. The NI 8254R device ships with documentation and[...]

  • Page 9

    Chapter 1 Introduction NI PCI-8254R User Manual 1- 2 ni.com 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 Visio[...]

  • Page 10

    Chapter 1 Introduction © National Instruments Corporation 1-3 NI PCI-8254R User Manual V ision Assistant generates a Builder file, which is a text description containing a recipe of the machine vi sion and image processing fun ctions. This Builder file provides a guide you can use for developing applications in any ADE, such as LabW indows ™ /CV[...]

  • Page 11

    Chapter 1 Introduction NI PCI-8254R User Manual 1- 4 ni.com Figure 1-1. NI 8254R Block Diagram Start Conditions The NI 8254R can start acquisitions in the following ways: • So ft w are c on tro l —The NI 8254R supports software control of acquisition start. Y ou can configure the NI 8254R to capture a fixed number of frames. Use this configurat[...]

  • Page 12

    © National Instruments Corporation 2-1 NI PCI-8254R User Manual 2 Digital I/O The digital I/O functions on the NI 8254R are accessible through 2 TTL inputs, 10 TTL output s, 13 isolated inputs, an d 4 isolat ed outputs. Y ou can use input signals as triggers, product selection ports, change detectors, or to read quadrature encoders. Uses for outpu[...]

  • Page 13

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2- 2 ni.com NI-IMA Q I/O devices such as the such as the NI 8254R, the NI 8255R, and the CVS-1450 Series Co mpact V ision Systems have 29 digital I/O lines with built-in functionality for co mmunicating wit h external devices, such as reading quadrature encoder in puts, generating stro be pulses, and w[...]

  • Page 14

    Chapter 2 Digita l I/O © National Instruments Corporation 2-3 NI PCI-8254R User Manual Isolated Inputs and Outputs The isolated inputs and outputs on the NI 8254R have a separate ground reference from the main NI 8254R device su pply, providing an easy means to prevent ground loops that can intr oduce noise into a system. You can apply signals up [...]

  • Page 15

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2- 4 ni.com T able 2-2 summarizes the isolated inputs and out put s av ailable on the NI 8254R. I/O for Normal Operation The following sections describe I/O functions that are available on the NI 8254R during normal operation. Table 2-2. NI 8254R Isolated Inputs and Outputs Primary Function Input or Ou[...]

  • Page 16

    Chapter 2 Digita l I/O © National Instruments Corporation 2-5 NI PCI-8254R User Manual T rigger Inputs Trigger inputs are available from bot h TTL inputs and isolated inputs. You can use these trigger inputs to synchron ize the NI 8254R w ith an external event, such as the assertion of a signal generated by a proximity sensor or a PLC, to indicate[...]

  • Page 17

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2- 6 ni.com When the pulse generator is configured for a particular trigger input, after generating a p ulse, it waits for ano t her trigger before generating anot her pulse. When the pulse generator is configured to immediately generate the pulse on a software start, after generating a pulse, it immed[...]

  • Page 18

    Chapter 2 Digita l I/O © National Instruments Corporation 2-7 NI PCI-8254R User Manual Pulse Width Pulse width is t he amount of tim e be tween the first (assertion) edge of a pulse and the second (deassertion) edge. Pulse width is config urab le only in microseconds from 1 µs to 4,294,967 ,29 5 µs. T rigger Polarity Each pulse generator can be [...]

  • Page 19

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2- 8 ni.com T rigger Change Detectors The NI 8254R is capable of detecting edges on various trigger lin es and latching this inf ormation for future retrieval. Th is feature is useful for high-precision hardware-monitoring of the presence of external events without the need for software po lli ng. You [...]

  • Page 20

    Chapter 2 Digita l I/O © National Instruments Corporation 2-9 NI PCI-8254R User Manual example, an upstream NI 8254R device programmed for part classification might driv e the product selection port of a downstream NI 8254R device. Alternati v ely , a PLC with information about which part is being inspected can driv e the prod uct selectio n port [...]

  • Page 21

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2-10 ni.com An example of ho w to use general-purpose inputs is reading the status of a general-purpose input as the first st ep in your inspection sequence and recording that value as part of your inspection. General-Purpose Outputs The primary difference between gene ral-purpose outputs and timed pul[...]

  • Page 22

    Chapter 2 Digita l I/O © National Instruments Corporation 2-11 NI PCI-8254R User Manual Shutdown Shutdown mode is a so ftware-enabled feature that, when activated, allows an external device to halt the NI 8254R device processing operations. Additionally, Shutdown mode allow s you to specify user-defined shutdown states for all fault conditions. Wh[...]

  • Page 23

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2-12 ni.com Considerations When Connecting the Digital I/O The isolated trigger inputs on the NI 82 54R are current sinking and optically isolated. The following are co nsiderations you need to make when connecting the digital I/O. Wiring an Isolated Input to a Sourcing Output Device You can wire an is[...]

  • Page 24

    Chapter 2 Digita l I/O © National Instruments Corporation 2-13 NI PCI-8254R User Manual Wiring an Isolated Output to an External Load The digital output circuit sources curren t to external loads, as shown in the following figu re. Caution Do no t draw more than 100 mA from 24 V or 30 V isolated outputs. Do not draw more than 50 mA from 5 V isolat[...]

  • Page 25

    Chapter 2 Digital I/O NI PCI-8254R User Manual 2-14 ni.com Protecting Inductive Loads When an inductive load, such as a relay or solenoid, is connect ed to an output, a large counter-electrom ot ive force may occur at switching time due to energy stored in the inductive load. This flyback voltage can damage the outputs and the power supply. T o lim[...]

  • Page 26

    Chapter 2 Digita l I/O © National Instruments Corporation 2-15 NI PCI-8254R User Manual T ransmission Line Effects Transmission line effects can degr ade the signals on the I/O cables and cause instability. To minimize transm ission line effects, use twisted pair wires with a characteristic impedance of 118 Ω to connect external signals to the 44[...]

  • Page 27

    © National Instruments Corporation 3-1 NI PCI-8254R User Manual 3 Signal Connections The following diagram shows the conn ectors on the NI 8254R device. 1 IEEE 1394a Connector 2 IEEE 1394a Connector 3 2-Position Isolated Outputs Pow er Connector 4 Digital I/O Connector NI PCI-8254R IEEE-1394 V C 5–30V DIGIT AL I/O 1 2 3 4[...]

  • Page 28

    Chapter 3 Signal Connections NI PCI-8254R User Manual 3- 2 ni.com T able 3 -1 summarizes th e functions of the connectors on the NI 8254R device. Connectors This section describes the connectors on the NI 8254R device and in cludes pinouts and signal descri ptions for each connector. 2-Position Isolated Ou tputs Power Connector The isolated outputs[...]

  • Page 29

    Chapter 3 Signal Connections © National Instruments Corporation 3-3 NI PCI-8254R User Manual T able 3 -2 summarizes th e functions of the power connector terminals. IEEE 1394a Connector The IEEE 1394a connectors on the NI 8254R device provide a reliable, high-frequency connection between the NI 82 54R dev ice and up to two DCAM-compliant IEEE 1394[...]

  • Page 30

    Chapter 3 Signal Connections NI PCI-8254R User Manual 3- 4 ni.com Figure 3-2 illustrates the 44-pin D-SUB connector on the NI 8254R. Figure 3-2. NI 8254R 44-Pin D-SUB Connector T able 3-3 lists pin numbers, sign al names, and si gnal descriptions for the 44-pin D-SUB connector on the NI 8254R and the 37-pin terminal block. Caution Do not draw more [...]

  • Page 31

    Chapter 3 Signal Connections © National Instruments Corporation 3-5 NI PCI-8254R User Manual 5 6 C Common-mode signal of the NI 8255R device main power — 6 7 TTL Output 2 Pulse generator output General-purpose output 7 8 TTL Output 3 Pulse generator output General-purpose output 8 6 C Common-mode signal of the NI 8255R device main power — 9 NC[...]

  • Page 32

    Chapter 3 Signal Connections NI PCI-8254R User Manual 3- 6 ni.com 16 2 TTL Input 1 Pulse generator trigger input T rigger Change Detector , General-purpose input 17 3 C Common-mode signal of the NI 8255R device main power — 18 20 TTL Output 4 Pulse generator output General-purpose output 19 21 TTL Output 5 General-purpose output — 20 22 C Commo[...]

  • Page 33

    Chapter 3 Signal Connections © National Instruments Corporation 3-7 NI PCI-8254R User Manual 27 36 ISO Outp ut 2 General-purpose output — 28 37 ISO Outp ut 3 General-purpose output — 29 12 C iso Isolated common-mode signal — 30 10 ISO Input 1 Input port, Data( 1) — 31 11 ISO Input 2 Input port, Data( 2) — 32 13 ISO Input 3 Input port, Da[...]

  • Page 34

    Chapter 3 Signal Connections NI PCI-8254R User Manual 3- 8 ni.com Cabling IEEE 1394 Camera Cables 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. 40 27 ISO Input 8 Pulse generator trigger input T rigger Change Detector , General-purpose input 41 29 ISO Inpu[...]

  • Page 35

    Chapter 3 Signal Connections © National Instruments Corporation 3-9 NI PCI-8254R User Manual I/O T erminal Block National Instruments provides an I/O term inal block with the NI 8254R, which can be mounted either horizontal ly or vertically. The I/O terminal block breaks the signals out into eas y-to-use screw terminals and comes with a cable that[...]

  • Page 36

    Chapter 3 Signal Connections NI PCI-8254R User Manual 3-10 ni.com The isolated outputs power connector on the NI 8254R device accommodates one power supply . The V terminal provides the isolated output circuitry (5 to 30 VDC) for the NI 8254 R de vice. The C terminal provides the common-mode signal for the NI 8254R device. Table 3-4. Power Connecto[...]

  • Page 37

    © National Instruments Corporation A- 1 NI PCI-8254R User Manu al A T echnical Support and Professional Ser vices Visit the following sections of the National Instruments Web site at ni.com for technical support an d professional services: • Support —Online technical support resources at ni.com/support include the following: – Self-Help Reso[...]

  • Page 38

    Appendix A T echnical Support and Professional Services NI PCI-8254R User Manual A-2 ni.com • Calibration Certificate —If your product supports calibration, you can obtain the calibration certificate for your product at ni.com/calibration . If you searched ni.com and could not find the answers you need, contact your local off ice or NI corporat[...]

  • Page 39

    © National Instruments Corporation G-1 NI PCI-8254R User Manual Glossar y A ADE Application development en vironment su ch as LabVIEW , V isual Basic, or MSVC. B bandwidth The range of frequencies present in a signal, or the range of frequencies to which a measuring device can respond. C current The rate of flo w of elect ric char ge measured in a[...]

  • Page 40

    Glossary NI PCI-8254R User Manual G-2 ni.com F falling edge An edge trigger occurs when the tr igg er signal passes throug h a specified threshold. A slope that is negati ve to the trig ger is specified as the falling edge. FireW ire A high-speed serial interface in ve nted by Apple Comput er in 1989, also known as IEEE 1394 or iLink. FPGA Field-pr[...]

  • Page 41

    Glossary © National Instruments Corporation G-3 NI PCI-8254R User Manual P pixel The fundamental picture element in a digital image. The smallest resolv able rectangular area of an imag e, either on a screen or stored in memory . Each pixel has its own brightness and color , usually represented as red, green, and blue i ntensities. PLC Programmabl[...]

  • Page 42

    Glossary NI PCI-8254R User Manual G-4 ni.com V VDC V olts direct current. voltage The electromoti ve force.[...]

  • Page 43

    © National Instruments Corporation I-1 NI PCI-825 4R User Manual Index A acquisition window control, 1-4 C cabling, 3-8 calibration certificate (NI resources), A-2 connector functions, 3-2 connectors, 3-2 2-position isolated output power, 3-2 general-purpose digital I/O, 3-3 IEEE 1394a, 3-3 con ventions used in the manual, v D Declaration of Confo[...]

  • Page 44

    Index NI PCI-8254R User Manual I-2 ni.com N National Instruments support and services, A-1 NI 1427 software programming choices NI V ision Bu ilder for Automated Inspection, 1-2 NI V ision Development Module, 1-2 NI 8254R acquisition window control, 1-4 cabling, 3-8 connection considerations, 2-12 connector functions, 3-2 connectors, 3-2 digital I/[...]

  • Page 45

    Index © National Instruments Corporation I-3 NI PCI-825 4R User Manual T technical support, A-1 timed pulse output initiating, 2-5 ov erview, 2-5 training and certification (NI resources), A-1 transmission line ef fects, 2-14 trigger change detectors, 2-8 trigger inputs, 2-5 trigger polarity, 2-7 troubleshooting (NI resources), A-1 TTL inputs, 2-2[...]