National Instruments CAN Hardware 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
46
47
48
49
50

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of National Instruments CAN Hardware, 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 CAN Hardware 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 CAN Hardware. 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 CAN Hardware should contain:
- informations concerning technical data of National Instruments CAN Hardware
- name of the manufacturer and a year of construction of the National Instruments CAN Hardware item
- rules of operation, control and maintenance of the National Instruments CAN Hardware 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 CAN Hardware 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 CAN Hardware, 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 CAN Hardware.

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 CAN Hardware 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

    CAN Getting Started with Your CAN Hardware and the NI-CAN ™ Software for Windows NT Getting Started with CA N for Windows NT Januar y 1998 Editio n Part Numb er 32137 2C-01[...]

  • Page 2

    Inter net Su ppor t E-mail: support@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com Bull etin Boar d Supp ort BBS United States: 512 7 94 5 422 BBS Unit e d Kingd om: 0 1635 55 14 22 BBS Fr anc e: 01 48 65 15 59 Fax-on -Dema nd Suppo rt 512 41 8 11 11 Tele phon e Supp ort (US A) Tel: 5 12 795 8 248 Fax: 512 794 56 78 Inter[...]

  • Page 3

    Important Information Warranty The CAN har dwar e is war rant ed ag ainst def ects i n material s and workma ns hip for a per io d of one y ear fr om the date of shipment, as evid enced by receip ts or other documen tation. National Inst ruments will, at its o ption, repair or r eplace equipment that proves to be defecti ve during the warranty per [...]

  • Page 4

    FCC/DOC Radio Frequency Interference Class A Compliance This eq uipmen t genera tes and uses radio freq uency energ y and, if not inst alled a nd used in strict acco rdance with the i nstructi ons in this m anual, may cause in terfe rence to radio and t elevision re ceptio n. Classif icatio n requirem ents a re the same for the Fe deral Comm unica [...]

  • Page 5

    © National In strum ents Corp oration v Gettin g Started wit h CAN for Window s NT Contents About This M anual How to Use the Manu al Set ..... ................. ................. ................. ........... ................. ......... ix Organization of This Manual .............. ............ ..... ...... ...... ........... ..... ...... ...... [...]

  • Page 6

    Conten ts Getting Started with CAN fo r Windo ws NT vi © Natio nal In strume nts Corp orati on Appendix A Uninstall t he Hardware and Software Uninstalling the CAN Har dware from Windo ws NT .......... ................ ................. ........... A-1 Uninstalling the NI-C AN Software from Windo ws NT...................... ............ ..........[...]

  • Page 7

    Conten ts © National In strum ents Corp oration vii Gettin g Started wit h CAN for Window s NT Figure 2-4. Inserting the PCMCI A-CAN ....... ................. ................. ........... ............... 2-5 Figure 2-5. CAN Interface That I s Working Properly ..................... ................. ......... 2-7 Figure 2-6. Resources Dialog Box f[...]

  • Page 8

    © National In strume nts Corpora tion ix Getting Started wit h CAN for Window s NT About This Manual This manual con tains instructio ns to help yo u install and configure the National Instrume nts CAN hardw are and the NI-CAN softw are for W indows N T . The Nat iona l Ins trum ent s C AN ha rd wa re su ppor te d un d er W indo ws NT includes the[...]

  • Page 9

    About This Ma nual Getting Started with CAN fo r Windo ws NT x © Natio nal In strume nts Corp orati on Use the NI-CAN P r ogr ammer Refer ence Manual for W in32 for specific information ab out each NI-CAN functio n and object, such as format, parameters, an d possible errors . Organization of This Manual This manual is organized as follows: • Ch[...]

  • Page 10

    About This Ma nual © National In strume nts Corpora tion xi Getting Started wit h CAN for Window s NT Conventions Used in This Manual The follo wing co n ventions a re used in this manual: » The » symb ol leads you throu gh nested menu ite ms and dialog box op tions to a f inal action. The sequ ence File»Page S etup»O ptions» Substit ute Font[...]

  • Page 11

    About This Ma nual Getting Started with CAN fo r Windo ws NT xii © Natio nal In strume nts Corp orati on Related Documentation The follo wing documents contain in formation that you may f ind helpful as you read th is manual: • ANSI/ISO Stan dard 11898-19 93, Road Vehicles—Interchange of Digital Infor mation—Contro ller Area Network (C AN) f[...]

  • Page 12

    © National In strume nts Corpora tion 1-1 Getting Sta rted with CAN for Windows N T 1 Introduction This chapter explains how to use this man ual, lists what you need to get started an d optional eq uipment yo u can order, and b riefly de scribes the CAN hardware and the NI- CAN software for Windows NT. How to Use This Manual Ye s No Chapter 3 Chap[...]

  • Page 13

    Chapter 1 Introduc tion Getting Started with CAN fo r Windo ws NT 1-2 © Natio nal In strume nts Corp orati on What Y ou Need to Get Started Make sure you have all of th e following items before yo u attempt to install the hardware and software: ❑ W ind ows NT 3.51 o r later ins talled on yo ur comput er ❑ One of the fo llo wing CAN interfaces,[...]

  • Page 14

    Chap ter 1 Int rodu ction © National In strume nts Corpora tion 1-3 Getting Sta rted with CAN for Windows N T CAN in terfacing is accompli shed usin g the Int el 82527 C AN control ler chip. Th e PCI-CAN phys ical layer ful ly conforms t o the ISO 118 98 physical layer specif ication for CAN and is op tically isolated to 500 V . PCI-CAN boards are[...]

  • Page 15

    Chapter 1 I ntrod uction Getting Started with CAN fo r Windo ws NT 1-4 © Natio nal In strume nts Corp orati on • Language interfac e libraries for Microsoft V isual C/C++ 2.0 or later , LabW indo ws/CVI 4.0 or later , and LabVIEW 4 .0 or later • Example p rograms that u se NI-CAN functions Optional Programming T ools Your kit includ es th e NI[...]

  • Page 16

    © National In strume nts Corpora tion 2-1 Getting Sta rted with CAN for Windows N T 2 Installation and Configuration This chapter describes ho w to install and configure the C AN hardware and the NI -CA N soft wa re fo r W in do ws NT . Install the NI-CAN Software Before installin g the CAN hardware, com plete the follo wing steps to install the N[...]

  • Page 17

    Chapter 2 I nstallat ion and Conf iguration Getting Started with CAN fo r Windo ws NT 2-2 © Natio nal In strume nts Corp orati on Figu re 2-1. Add/R emove Pr ograms Prope rties Di alog Box Y ou can use this sa me app let to uninstall th e NI-CAN so ftware at a later time. Refer to Append ix A, Uninstal l the Hardwa re and So ftwar e , for mor e in[...]

  • Page 18

    Chap ter 2 I nstallat ion and C onfiguratio n © National In strume nts Corpora tion 2-3 Getting Sta rted with CAN for Windows N T Figu re 2-2. NI-CAN Software Setu p Screen The setup wizard gu ides you through the necessary steps to install the NI-CAN software. Y ou may go back and change values where appropriate b y clicking on the Back button. Y[...]

  • Page 19

    Chapter 2 I nstallat ion and Conf iguration Getting Started with CAN fo r Windo ws NT 2-4 © Natio nal In strume nts Corp orati on 3. Fi nd an unused e xpan sion slot of the appropriat e type in your computer . 4. Remo ve th e corresponding slot co ver on the back panel of the computer . 5. Inse rt the CAN interface into the slot with the CAN con n[...]

  • Page 20

    Chap ter 2 I nstallat ion and C onfiguratio n © National In strume nts Corpora tion 2-5 Getting Sta rted with CAN for Windows N T Install Y our PCMCIA-CAN or PCMCI A-CAN/2 Caution E lectrostatic discharge can damage several components on these CAN interfaces. T o avoid su ch damage in h an dling your interfa ce, touch the antistatic pla stic packa[...]

  • Page 21

    Chapter 2 I nstallat ion and Conf iguration Getting Started with CAN fo r Windo ws NT 2-6 © Natio nal In strume nts Corp orati on 3. Conn ect the PCMCIA- CAN cable to the card. 4. P ower on your com puter . When you ha ve fini shed installing the hardwar e, proceed to the n ext section, Connect the Cables . Connect th e Cables Because exact cablin[...]

  • Page 22

    Chap ter 2 I nstallat ion and C onfiguratio n © National In strume nts Corpora tion 2-7 Getting Sta rted with CAN for Windows N T Figur e 2-5. CAN Inter face Th at Is Working Prop erly T o select a particular in terface, click on that interf ace in the list. When you install a PCI-CAN interface, y our computer automatically assigns valid r esource[...]

  • Page 23

    Chapter 2 I nstallat ion and Conf iguration Getting Started with CAN fo r Windo ws NT 2-8 © Natio nal In strume nts Corp orati on Figu re 2-7. NI-CAN Se ttings fo r the PCI-CA N/2 Each port of the CAN hardware interface is conf igured fr om this tab . Use the drop-do wn box nearest the to p of the tab to select the ph ysical port number to conf ig[...]

  • Page 24

    © National In strume nts Corpora tion 3-1 Getting Sta rted with CAN for Windows N T 3 V erify the Installation This chapter d escribes how to verify the hardwar e and software installation . Y ou can use the NI-CAN Diagn os tic uti lity , install ed with your NI-CAN software, to test the hardware and software installa tion. The utility verifies th[...]

  • Page 25

    Chap ter 3 Ve rify th e Inst allat ion Getting Started with CAN fo r Windo ws NT 3-2 © Natio nal In strume nts Corp orati on Figu re 3-1. NI-CAN Dia gnosti c Utility aft er T esting Y ou can get details about an y tested CAN interface b y selecting the interface and clicking on the Details b utton. For each f ailed CAN interface, select it and cli[...]

  • Page 26

    © National In strume nts Corpora tion 4-1 Getting Sta rted with CAN for Windows N T 4 Begin to Use the NI-CAN Software This chapter helps yo u get started with the NI-CAN software for Wind ows NT . Using the NI-CAN Software The functi ons provid ed by the NI-CAN s oftware are simi lar to those provi ded by many other devi c e driv ers. Fo r exa mp[...]

  • Page 27

    Chapter 4 B egin to Use the NI-CAN So ftware Getting Started with CAN fo r Windo ws NT 4-2 © Natio nal In strume nts Corp orati on General Programming Considerations As you begin devel op ing yo ur W i n32 NI-CAN app l icati on , remem ber the followi ng poi nts : • For yo ur Lab VIEW a pplic ation, you must use the NI-CA N La bVIEW functions in[...]

  • Page 28

    © National In strume nts Corpora tion A-1 Getting Started wit h CAN for Window s NT A Uninstall the Hardware and Software This appen dix des cribes how to uninstall th e CAN hardware and the NI-CAN software f rom W indo ws NT . Uninstalling the CAN Hardware from Windows NT Because the current version of W indo ws NT does not maintain har dware inf[...]

  • Page 29

    Appendix A Uninstall the H ardware and Softwa re Getting Started with CAN fo r Windo ws NT A-2 © Natio nal In strume nts Corp orati on Figur e A -1. Add/ Remove P rogra ms Prope rties Dialog Box 2. Select the NI-CAN softw are you wan t to remov e, and click on the Add/Remove button. The uninstall program runs and removes all folders, utilities, de[...]

  • Page 30

    Appendix A Uninstall the Hardw are an d Software © National In strume nts Corpora tion A-3 Getting Started wit h CAN for Window s NT Figur e A -2. NI-CAN Un instal lation Result s The uninstall program removes only items that the install ation program installed. If you ad d anything to a directory that w as created by the install ation p rogram, t[...]

  • Page 31

    © National In strume nts Corpora tion B-1 Getting Started wit h CAN for Window s NT B Cabling Requirements This appendix describ es the cabling requirements for C AN interfaces. Cables should be constructed to meet these requirements, as well as the requirem ents of th e other CAN or De viceNet devi ces in the n etwork. Connector Pinouts Depending[...]

  • Page 32

    Appendix B Cabling Requ ireme nts Getting Started with CAN fo r Windo ws NT B-2 © Natio nal In strume nts Corp orati on The 5-pi n Combic on-style p luggable s cre w terminal fo llo ws th e pinout required b y the Dev iceNet specification . Figure B-2 shows the pinou t for this connector . Figur e B -2. Pino ut for 5-Pin Combi con-S tyle Pluggab l[...]

  • Page 33

    Appendix B C abling Re quirements © National In strume nts Corpora tion B-3 Getting Started wit h CAN for Window s NT Power Supply Information for the CAN Ports For the PCI-CAN and PCI-CAN/2, the power source fo r the CAN physical layer is conf igured with a jumper . For the PCI-CAN and po rt one of the PCI-CAN/2, power is configured with jumper J[...]

  • Page 34

    Appendix B Cabling Requ ireme nts Getting Started with CAN fo r Windo ws NT B-4 © Natio nal In strume nts Corp orati on Figure B-5 sho ws ho w to conf igu re your ju mpers for internal o r ex ternal power supplie s. Figur e B-5. Po wer Source Jumpers The CAN physical lay er is still isolated regardless of the power source chosen. The PCMCIA-CAN an[...]

  • Page 35

    Appendix B C abling Re quirements © National In strume nts Corpora tion B-5 Getting Started wit h CAN for Window s NT Cable Specifications Cables should meet the ph ysical medium requirements specif ied in ISO 11898, sho wn in T able B -2. Belden cable (3 084A) meets all of those requ irements, and should be suitable for most application s. Cable [...]

  • Page 36

    Appendix B Cabling Requ ireme nts Getting Started with CAN fo r Windo ws NT B-6 © Natio nal In strume nts Corp orati on Maximum Number of Devices The maximum n umber of de vices that you can connect to a CAN port depends on the electrical characteristics of the dev ices on the network. If all of the de vices meet the requirements of ISO 1189 8, at[...]

  • Page 37

    Appendix B C abling Re quirements © National In strume nts Corpora tion B-7 Getting Started wit h CAN for Window s NT Cabling Example Figure B-7 sho ws an e xample of a cab le to con nect tw o CAN de vices. Fo r the internal power conf iguration, no V+ connection is required. Figur e B-7. Cabl ing Exa mple 9-Pin D-Sub 9-Pin D-Sub CAN_H CAN_L GND V[...]

  • Page 38

    © National In strume nts Corpora tion C-1 Getting Started wit h CAN for Window s NT C T roubleshooting and Common Questions This append ix descri bes ho w to t roublesh oot probl ems and answer s some common qu estions. Missing CAN Interface in the NI-CAN Configuration Utility The NI-CAN Configuration ut ility contain s co nfiguration informatio n[...]

  • Page 39

    Appendix C T roublesh ooting and Com mon Quest ions Getting Started with CAN fo r Windo ws NT C-2 © Natio nal In strume nts Corp orati on the interface passes the diagnostic test. For the PCI-CAN, if legac y boar ds in your system are u sing the resources, change the resource conf iguration of the le gacy board . If the problem persists, contact N[...]

  • Page 40

    Appendix C T rouble shooting an d Common Que stions © National In strume nts Corpora tion C-3 Getting Started wit h CAN for Window s NT How can I determine which version of the NI-CAN softwar e I hav e installed? Run the NI-CAN Diagnostic u tility . T o run th e util ity , select the NI-CAN Diagnostic item under Start»Programs»NI-CAN Software f [...]

  • Page 41

    Appendix C T roublesh ooting and Com mon Quest ions Getting Started with CAN fo r Windo ws NT C-4 © Natio nal In strume nts Corp orati on Why does the uninstal l program leave some components installed? The uninstall program removes only items that the install ation program installed. If you ad d anything to a directory that w as created by the in[...]

  • Page 42

    © National In strum ents Corp oration D-1 Gettin g Started wit h CAN for Window s NT D Specifications This appendix describes the phy sical characteristics of the CAN hardware, along with the recommend ed operating conditions. Tabl e D-1. PCI-CAN and P CI-CAN/2 Hard ware Character istics Characteristic Specif ication Dimensions 10 .67 by 17.46 cm [...]

  • Page 43

    Appendix D Specificat ions Getting Started with CAN fo r Windo ws NT D -2 © Natio nal In strume nts Corp orati on Tabl e D-2. PCMCIA-C AN and PCMCIA-CAN/2 Hardware C haracter istics Characteristic Specif ication Dimensi ons 8.56 b y 5.4 0 by 0 .5 cm (3.4 b y 2.1 b y 0.4 in.) Po wer Requirem ent 500 mA typical I/O Connector Cable wit h 9-pin D-Sub [...]

  • Page 44

    © National In strume nts Corpora tion E-1 Getting Sta rted with CAN for Windows N T E Customer Communication Fo r your con venience, this appendix con tains forms to help y ou gather the information necessary to help us solve y our technical problems an d a form you can use to comment on the p roduct document ation. When yo u contact us , we need [...]

  • Page 45

    Getting Started with CAN fo r Windo ws NT E-2 © Natio nal In strume nts Corp orati on Fax-on-Demand Support Fax -on-Demand is a 24- hour informat ion retrie v al system cont aining a librar y of documents on a wide range of tech nical information. Y ou can access F ax-on-Demand f rom a touch-ton e telephone at 512 418 1111. E-Mail Support (Current[...]

  • Page 46

    T echnical Support Form Photocopy this form and u pdate it each time you mak e changes to yo ur software or hardw are, and u se the completed cop y of this form as a reference f or your curr ent conf iguration. Completing this fo rm accurately befor e contacting National Instruments for technical support helps our applications engineers answer your[...]

  • Page 47

    Hardware and Software Configuration Form Record the settings and re visions o f your hardwar e and softw are on the line to the r ight of each item. Complete a ne w cop y of this fo rm each tim e yo u re vise y our softw are or har dw are con f iguration, an d use this form as a reference for yo ur current con figuration. C ompleting this form accu[...]

  • Page 48

    Documentation Comment Form Natio n a l Inst ru m ent s enco u rages y o u t o comme n t o n the d o cume n tati o n su p pl ied with o ur p ro d ucts . This informat i on he l ps us pr o v ide quality p r oducts to m eet yo ur needs. T i t l e : Gettin g St arted wit h Y our C A N Hardwar e a n d th e NI - CAN ™ S o ft w a r e for W ind o ws NT E[...]

  • Page 49

    © National In strum ents Corp oration G-1 Gettin g Started wit h CAN for Window s NT Glossar y Pref ix Meanings V alue n- nano- 10 –9 m- milli- 10 –3 c- centi- 10 –2 k- kilo- 10 3 M- mega - 10 6 ° degr ees Ω ohms % percent A amperes A C alternating current ANSI American National Stan dard s Institute A T-compatible compatible with the 1 6[...]

  • Page 50

    Gloss ar y Getting Started with CAN fo r Windo ws NT G -2 © Natio nal In strume nts Corp orati on in. inc hes IRQ interrup t request ISA Industry Standard Architecture ISO Internati onal Standard s Org anization mm e t e r s PC person al com p ute r PCI peripher al componen t interconnect PCMCIA Personal Computer Memory Card International Associat[...]