National Instruments 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments 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 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 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 PCI-8254R should contain:
- informations concerning technical data of National Instruments PCI-8254R
- name of the manufacturer and a year of construction of the National Instruments PCI-8254R item
- rules of operation, control and maintenance of the National Instruments 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 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 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 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 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 IEEE 1394a Interface Devi ce with Reconfigurable I/O NI PCI-8254R User Manual February 2007 371578D-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 war ranted agains t defects in materials and workmanship for a period of one year from the date of shipmen t, 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 warra[...]

  • 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 l eads you through nested menu item s 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 al[...]

  • 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 Considerations When Connecting the Digital I/O .............. .............. ............... .............. 2-12 Wiring an Isolated Input to a Sourcing Output Dev i ce ..................... .............. 2-12 Wiring an Isolated Output to an Extern al Load .......................... .............. .....[...]

  • Page 8

    © National Instruments Corporation 1-1 NI PCI-8254R User Manual 1 Introduction The NI PCI-8254R is a OHCI compli ant IEEE 1394a interface device with reconfigurable I/O (RIO). The NI 8254R device ships with NI V ision Acquisition Software, which contains all of the dri vers in the NI V ision product line. W ith NI V ision Acquisition Software, you[...]

  • Page 9

    Chapter 1 Introduction NI PCI-8254R User Manual 1- 2 ni.com 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. Visi on Builder AI does not require programming, but is scalable to powerful pro[...]

  • Page 10

    Chapter 1 Introduction © National Instruments Corporation 1-3 NI PCI-8254R User Manual LabVIEW VI creation wizard, V ision Assistant can create LabVIEW VI diagrams that perform the prototyp e you created in V ision Assistant. Y ou can then use LabVIEW to add functionality to the generated VI. IEEE 1394 and NI 8254R The NI 8254R uses FireWire ® (I[...]

  • 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 f tw a re c o nt ro l —The NI 8254 R supports software control of acquisition start. Y ou can configure the NI 8254R to capture a fix ed number of frames. Use this config[...]

  • Page 12

    © National Instruments Corporation 2-1 NI PCI-8254R User Manual 2 Hardware Over view 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 encod[...]

  • Page 13

    Chapter 2 Hardware Overview NI PCI-8254R User Manual 2- 2 ni.com Using National Inst ruments RIO hardware and the LabVIEW FPGA Module, you can define your hardware without in-depth kno wledge of hardware design tools or hardware description languages (HD L). When the signal requirements change, the La bVIEW code can be modif ied and downloaded to t[...]

  • Page 14

    Chapter 2 Hardware Overview © National Instruments Corporation 2-3 NI PCI-8254R User Manual T able 2-1 summarizes the TTL inp uts and outputs av ailab le on the NI 8254R. Isolated Inputs and Outputs The isolated inputs and outputs on the NI 8254R have a separate ground reference from the main NI 8254R supply, providing an easy means to prevent gro[...]

  • Page 15

    Chapter 2 Hardware Overview NI PCI-8254R User Manual 2- 4 ni.com T able 2-2 summarizes the isolated inputs and outputs available on the NI 8254R. I/O for Normal Operation The following sections describe I/O functions that are available on the NI 8254R duri ng normal operation . Table 2-2. NI 8254R Isolated Inputs and Outputs Primary Function Input [...]

  • Page 16

    Chapter 2 Hardware Over view © 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 in[...]

  • Page 17

    Chapter 2 Hardware Overview NI PCI-8254R User Manual 2- 6 ni.com If the trigger input is set to Immediate in LabVIEW or using a None status signal in C and V isual Basic, the pulse generation occurs as soon as the pulse mode is set to Start in LabVIEW or imaqIOPulseStart in C and V isual Basic. After gen erating a puls e, it immediately generates a[...]

  • Page 18

    Chapter 2 Hardware Overview © 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 configurable only in microseconds from 1 µs to 4,294,967 ,295 µs. T rigger Polarity Each pulse generator can b[...]

  • Page 19

    Chapter 2 Hardware Overview 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 retrie val. This feature is usef ul for high-precision hardware-monitoring of the presence of external events without the need for software po lling[...]

  • Page 20

    Chapter 2 Hardware Overview © National Instruments Corporation 2-9 NI PCI-8254R User Manual Based on the input to the product selection port, you can configure the application software to run the ap propriate inspectio n sequence. For example, an upstream NI 8254R programmed for part classi fication might dri ve the product selection port of a dow[...]

  • Page 21

    Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-10 ni.com General-Purpose Inputs The primary difference between gen era l-purpose inputs and trig ger inputs is that you cannot use general-purpose inputs to initi ate a timed pulse generator. In an application, use the general-purpose inputs to get the status of the inputs at a gi ven point an[...]

  • Page 22

    Chapter 2 Hardware Overview © National Instruments Corporation 2-11 NI PCI-8254R User Manual The follo wing sections describe each fault condition. Shutdown Shutdown mode is a so ftware-enabled feature that, when activated, allows an external device to halt the NI 8254R processing operations. Additionally, Shutdown mode allow s you to specify user[...]

  • Page 23

    Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-12 ni.com Caution Use the Indicator Only option only to test the watchdog timer . If so ftware becomes unresponsiv e, it cannot be relied upon to send notification to the host. • Indicator Only —This option sends the expiration signal back to the dev elop ment machine through software. Tr u[...]

  • Page 24

    Chapter 2 Hardware Overview © National Instruments Corporation 2-13 NI PCI-8254R User Manual Figure 2-5. Connecting isolated input to a sourcing output device Wiring an Isolated Output to an External Load The digital output circuit sources current to external loads, as shown in Figure 2-6. Caution Do no t draw more than 100 mA from 24 V or 30 V is[...]

  • Page 25

    Chapter 2 Hardware Overview 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 otive force may occur at switch ing time due to energy stored in the inductive load. This flyback voltage can damage the outputs and the power supply. T[...]

  • Page 26

    Chapter 2 Hardware Overview © 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 t[...]

  • 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. 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. Connectors This section describes the connectors on the N I 8254R and includes p inouts and signal descriptions for each connector. 2-Position Isolated Ou tputs Power Connector The isolated outputs power connecto[...]

  • 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 provide a reliabl e, high-frequency connection betw een the NI 8254R and up to two DCAM-compliant IEEE 1394 cam eras. To a[...]

  • 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, signal names, and signal descriptions fo r 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 8254R main po wer — 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 8254R main po wer — 9 NC TRIG 2 * /T[...]

  • 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 8254R main po wer — 18 20 TTL Output 4 Pulse generator output General-purpose output 19 21 TTL Output 5 General-purpose output — 20 22 C Common-mode[...]

  • 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. I/O T erminal Block National Instruments provides an I/O term inal block with the NI 8254R, which can be mounte[...]

  • Page 35

    Chapter 3 Signal Connections © National Instruments Corporation 3-9 NI PCI-8254R User Manual Note TRIG 0, TRIG 1, and TRIG 2 signals are not accessible through th e standard 44- to 37-pin cable and I/ O terminal block. NI Vision I/O T erminal Bloc k and Prototyping Accessory Use the NI Vision I/O Terminal Block and Prototyping Accessory to trouble[...]

  • Page 36

    © 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 37

    Appendix A T echnical Support and Professional Ser vices 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 corpora[...]

  • Page 38

    © 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 Microsoft V isual C. 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 g[...]

  • Page 39

    Glossary NI PCI-8254R User Manual G-2 ni.com FireW ire A high-speed serial interface in ve nted b y Apple Comput er in 1989, also known as IEEE 1394 or iLink. FPGA Field-programmable gate array . An FPGA is a semi-conductor device which contains a large quantity of gates (logic de vices), which are not interconnected, and who se function is d eterm[...]

  • Page 40

    Glossary © National Instruments Corporation G-3 NI PCI-8254R User Manual PLC Programmable Logic Controller . An in dustrial computer used for f actory automation, process control, and manufacturing systems. proximity sensor Optical sensor which toggles an electrical signal when an object passes near it. Q quadrature encoder An encoding technique f[...]

  • Page 41

    © 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 42

    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 Builder for Automated Inspection, 1-2 NI V ision De velopment 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 43

    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-15 trigger change detectors, 2-8 trigger inputs, 2-5 trigger polarity, 2-7 troubleshooting (NI resources), A-1 TTL inputs, 2-2[...]