National Instruments NI-CANTM Software for Windows NT 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

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto National Instruments NI-CANTM Software for Windows NT. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoNational Instruments NI-CANTM Software for Windows NT vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual National Instruments NI-CANTM Software for Windows NT você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual National Instruments NI-CANTM Software for Windows NT, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual National Instruments NI-CANTM Software for Windows NT deve conte:
- dados técnicos do dispositivo National Instruments NI-CANTM Software for Windows NT
- nome do fabricante e ano de fabricação do dispositivo National Instruments NI-CANTM Software for Windows NT
- instruções de utilização, regulação e manutenção do dispositivo National Instruments NI-CANTM Software for Windows NT
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque National Instruments NI-CANTM Software for Windows NT não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos National Instruments NI-CANTM Software for Windows NT e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço National Instruments na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas National Instruments NI-CANTM Software for Windows NT, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo National Instruments NI-CANTM Software for Windows NT, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual National Instruments NI-CANTM Software for Windows NT. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    CAN Getting Started with Your PXI-8461 or PXI-8460 and the NI-CAN ™ Software for Windows NT PXI-8461 or PXI-8460 and NI-CAN for Windows NT September 1999 Edition Part Number 3220 06B-01[...]

  • Página 2

    Worldwide Technical Support and Product Info rmation www.natinst.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 794 0100 Worldwide Offices Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 284 5011, Canada (Calgary) 403 274 9391, Canada (Ontario) 905[...]

  • Página 3

    Important Information Warranty The PXI hardware is war ranted against defe cts in materials and workm anship for a period of one ye ar from the date of shipment, as evidenced by receipt s or other documentation. National Instruments will, at its option, repair or replace equipmen t that proves to be d efectiv e du ring t he w arranty peri od . This[...]

  • Página 4

    Compliance FCC/DOC Radio Frequency Interference Class A Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accorda nce with the instructions in this manual, may cause interference to radio and television reception. Classification requirements are the same for the Federal Communications Commi[...]

  • Página 5

    © National Instruments Corporation v PXI-8461 or PXI-8460 and NI-CAN for Windows NT Contents About This Manual How To Use the Manual Set ............ ............ ........... .............. ........... ............ ........... ....... ix Conventions ............ ........... ........... ............... ........... ........... ........... ..........[...]

  • Página 6

    Contents PXI-8461 or PXI-8460 and NI-CAN for Windows NT vi www.natinst.com Appendix B Cabling Requirements for PXI-8461 High-Speed CAN Connector Pinouts .......................... ........... ........... ... ........... ............ .. ............ ........... ... ... B-1 Power Supply Information for the High-Speed CAN Ports ............. .........[...]

  • Página 7

    Contents © National Instruments Corporation vii PXI-8461 or PXI-8460 and NI-CAN for Windows NT Glossary Figures Figure 2-1. Add/Remove Programs Properties Dialog Box............. .............. .......... 2-2 Figure 2-2. Installing the PXI Hardware ................ ............... .............. .............. ....... 2-4 Figure 2-3. PXI-8461 That[...]

  • Página 8

    © National Instruments Corporation ix PXI-8461 or PXI-8460 and NI-CAN for Windows NT About This Manual This manual contains instructions to help you install and configure your PXI-8461 (one port and two port) or PXI-846 0 (one port o r two port) and the NI-CAN software for Wi ndo ws NT . This manual uses PXI-8461 or PXI-8460 to refer to both the o[...]

  • Página 9

    About This Manual PXI-8461 or PXI-8460 and NI-CAN for Windows NT x www.natinst.com Use the NI-CAN Programmer Refere nce Manual for specif ic information about each NI-CAN function and object, including format, parameters, and possible errors. Conventions The follo wing con ventions appear in this manual: » The » symbol leads you th rough nested m[...]

  • Página 10

    About This Manu al © National Instruments Corporation xi PXI-8461 or PXI-8460 and NI-CAN for Windows NT Related Documentation The following documents contain information that you may find helpful as you read this manual: • ANSI/ISO Standard 11898-1993, Road Vehicles—Interchange o f Digital Information—Co ntroller Area Network (CAN) for High-[...]

  • Página 11

    © National Instruments Corporation 1-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 1 Introduction This chapter lists what you need to get started, provides an overview of the PXI hardware and the NI-CAN software for Windows NT, and describes optional equipment you can order. What Y ou Need to Get Started Make sure you have all of the following [...]

  • Página 12

    Chapter 1 Introduction PXI-8461 or PXI-8460 and NI-CAN for Windows NT 1-2 www .natinst.com specification for CAN and is also optically isolated to 500 V . CAN interfacing is accomplished using the Intel 82527 CAN controller chip. The PXI-8461 supports a wide v ariety of transfer rates up to 1 Mb/s. The PXI-8460 supports rates u p to 125 kb/s. The C[...]

  • Página 13

    Chapter 1 Introduction © National Instruments Corporation 1-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT • Language interface libraries for Microsoft V isual C/C++ 2.0 or later , LabW indows/CVI 4.0 or later , and LabVIEW 4.0 or later • Example programs that use NI-CAN functions Optional Programming T ools Your kit includes the NI-CAN soft[...]

  • Página 14

    © National Instruments Corporation 2-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2 Installation and Configuration This chapter describes how to install and configure the NI-CAN so ftware for Windows NT and the PXI-8461 or PXI-8460 hardware. Install the NI-CAN Software Install the NI-CAN so ftware for Windows NT before you install your hardwar[...]

  • Página 15

    Chapter 2 Installation and Configuration PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2-2 www .natinst.com 3. Double-click on the Add/Remove Programs icon in the Control Panel to launch the Add/Remove Programs applet. A dialog box similar to the one in Figure 2-1 appears. Figure 2-1. Add/Remove Programs Properties Dialog Box Y ou can use this sam[...]

  • Página 16

    Chapter 2 Installation and Configuration © National Instruments Corporation 2-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Install the Hardware This section describes how to install your PXI-846 1or PXI-8460 hardware. Check the Configuration of Y our PXI-8461 or PXI-8460 If you plan to use your CAN board in a system where bus power is availabl[...]

  • Página 17

    Chapter 2 Installation and Configuration PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2-4 www .natinst.com 5. Insert the PXI board into the selected 5 V slot. Use the injector/ejector handle to fully inject the de vice into place. Figure 2-2 shows ho w to install the PXI board into a PXI or CompactPCI chassis. Figure 2-2. Installing the PXI Hardw[...]

  • Página 18

    Chapter 2 Installation and Configuration © National Instruments Corporation 2-5 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Configure the NI-CAN Software The NI-CAN Configuration utility is locat e d in th e Windows NT Control Panel. You can use it to examine or modify the configuration of the NI-CAN software. The context-sensitive online help,[...]

  • Página 19

    Chapter 2 Installation and Configuration PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2-6 www .natinst.com T o view information about the NI-CAN software conf iguration for the PXI-8461 or PXI-8460, click on the Settings button. Figure 2-4 shows the Settings dialog box. Figure 2-4. NI- CAN Hardware Settings Dialog Box Each port of the PXI-8461 or[...]

  • Página 20

    © National Instruments Corporation 3-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 3 V erify the Installation This chapter describes how to verify the hardware and software installation. Y ou can use the NI-CAN Diagnostic uti lity , installed wi th your NI-CAN software, to test the hardware and software installati on. The utility verifies that [...]

  • Página 21

    Chapter 3 Verify the Installation PXI-8461 or PXI-8460 and NI-CAN for Windows NT 3-2 www .natinst.com Y ou can get details about any tested CAN interf ace by selecting the interface and clicking on the Details b utton. For each f ailed CAN interface, select it and click on the Details b utton to get a description of the failure. Use that informatio[...]

  • Página 22

    © National Instruments Corporation 4-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 4 Begin to Use the NI-CAN Software This chapter helps you get started with the NI-CAN software for Windows NT. Using the NI-CAN Software The functions provided by the NI-CAN software are similar to those provided by many other device drivers. For example, NI-CAN [...]

  • Página 23

    Chapter 4 Begin to Use the NI-CAN Software PXI-8461 or PXI-8460 and NI-CAN for Windows NT 4-2 www .natinst.com General Programming Considerations As you begin develo ping your Win32 NI-CAN application, rememb er the following p oints: • For your LabVIEW or BridgeVIEW application, you must use the NI-CAN LabVIEW functions in nican.llb . • For yo[...]

  • Página 24

    © National Instruments Corporation A-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT A Uninstalling the Hardware and Software This appendix describes ho w to uninstall the PXI-8461 or PXI-8460 hardware and the NI-CAN software from W indo ws NT . Uninstalling the Hardware from Windows NT Because W indows NT 3.51 and 4.0 do not maintain hardware in[...]

  • Página 25

    Appendix A Uninstalling the Hardware and Software PXI-8461 or PXI-8460 and NI-CAN for Windows NT A-2 www .natinst.com Complete the following steps to remo v e the NI-CAN software from W indows NT 4.0 : 1. Select the Add/Remove Programs icon under Start»Settings» Control Panel . A dialog box similar to the one in Figure A-1 appears. This dialog bo[...]

  • Página 26

    © National Instruments Corporation B-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT B Cabling Requirements for PXI-8461 High-Speed CAN This appendix describes the cabling requirements for the hardware. Cables should be constructed to meet these requirements and the requirements of the other CAN or De viceNet de vices in the network. Connector Pi[...]

  • Página 27

    Appendix B Cabling Requirements for PXI-8461 High-S peed CAN PXI-8461 or PXI-8460 and NI-CAN for Windows NT B-2 www .natinst.com The 5-pin Combicon-style pluggable scre w terminal follo ws the pinout required by the DeviceNet Specification . Figure B-2 shows the pinout for this connector . Figure B-2. Pinout for 5-Pin Combicon-Style Pluggable Screw[...]

  • Página 28

    Appendix B Cabling Requirements for PXI-8461 High-S peed CAN © National Instruments Corporation B-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Figure B-3. PXI-8461 Part Locator Diagram Connecting pins 1 and 2 of a jumper configures the CAN physical layer to be powered e xternally (from the bus cable power). In this conf iguration, the power mu[...]

  • Página 29

    Appendix B Cabling Requirements for PXI-8461 High-S peed CAN PXI-8461 or PXI-8460 and NI-CAN for Windows NT B-4 www .natinst.com Figure B-4 shows ho w to configure your jumpers for in tern al or external power supplies. Figure B-4. Power Sour ce Jumpers The CAN physical layer is still isolated re gardless of the po wer source chosen. Bus Power Supp[...]

  • Página 30

    Appendix B Cabling Requirements for PXI-8461 High-S peed CAN © National Instruments Corporation B-5 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Cable Specifications Cables should meet the physical medium requirements specif ied in ISO 11898, shown in T able B-2. Belden cable (3084A) meets all of those requirements and should be suitable for mos[...]

  • Página 31

    Appendix B Cabling Requirements for PXI-8461 High-S peed CAN PXI-8461 or PXI-8460 and NI-CAN for Windows NT B-6 www .natinst.com Number of Devices The maximum number of de vices that you can connect to a CAN port depends on the electrical characteristics of the de vices on the network. If all of the devices meet the requirements of ISO 11898, at le[...]

  • Página 32

    Appendix B Cabling Requirements for PXI-8461 High-S peed CAN © National Instruments Corporation B-7 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Cabling Example Figure B -6 show s an e xample of a cable to connect tw o CAN de vices. For the internal power conf iguration, no V+ connection is required. Figure B-6. Cabling Example 9-Pin D-Sub 9-Pin[...]

  • Página 33

    © National Instruments Corporation C-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT C Cabling Requirements for PXI-8460 Low-Speed CAN This appendix describes the cabling requirements for the PXI-8460 hardware. Cables should be constructed to meet these requirements, as well as the requirements of the other CAN devices in the network. Connector P[...]

  • Página 34

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-2 www .natinst.com CAN_H and CAN_L are signal lines that carry the data on the CAN network. These signals should be connected using twisted-pair cable. The V+ and V– pins are used to supply bus po wer to the CAN physical layer if external [...]

  • Página 35

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CAN © National Instruments Corporation C-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Connecting pins 2 and 3 of a jumper configures the CAN physical layer to be powered internally (from the card). In this configuration, the V– signal serves as the reference ground for the isolated signa[...]

  • Página 36

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-4 www .natinst.com Cable Specifications Cables should meet the physical medium requirements specif ied in ISO 11519-2, sho wn in T able C-2. Belden cable (3084A) meets all of those requirements, and should be suitable for most application s.[...]

  • Página 37

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CAN © National Instruments Corporation C-5 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Low-Speed T ermination Every de vice on the lo w-speed CAN network requires a termination resistor for each CAN data line: R RT H for CAN_H and R RT L for CAN_L. Figure C -4 shows termination resistor pla[...]

  • Página 38

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-6 www .natinst.com Philips also recommends an indi vidual device R TH and R TL termination of 500 Ω to 16 k Ω . The PXI-8460 board ships with mounted R TH and R TL v alues of 510 Ω ±5% per port. The PXI-8460 kit also inclu des a pair [...]

  • Página 39

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CAN © National Instruments Corporation C-7 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Replacing the T ermination Resistors Follo w these steps to replace the termination resistors, after you hav e determined the correct value in the pre vious section, D etermin ing the Necessary Terminatio[...]

  • Página 40

    Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-8 www .natinst.com 3. Insert the replacement resistors into the empty sockets. 4. Refer to Install the Hardware , in Chapter 2, Installation and Configuration , to complete th e hardware installation. Cabling Example Figure C -7 shows an e x[...]

  • Página 41

    © National Instruments Corporation D-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT D T roubleshooting and Common Questions This appendix describes ho w to troubleshoot problems and answers some common questions. Missing Board in the NI-CAN Configuration Utility The NI-CAN Configuration utility contains conf iguration information for all of the [...]

  • Página 42

    Appendix D T roubleshooting and Common Questions PXI-8461 or PXI-8460 and NI-CAN for Windows NT D-2 www .natinst.com NI-CAN Software Problem Encountered This error occurs if the NI-CAN Diagnostic utility detects that it is unable to communicate correctly with the hardware using the installed NI-CAN software. If you get this error , shut do wn yo ur[...]

  • Página 43

    Appendix D T roubleshooting and Common Questions © National Instruments Corporation D-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT How do I connect a CAN cable to my CAN port? Y ou will need to use an appropriate cable. For information about cabling requirements for National Instruments CAN hardware, refer to Appendix B, Cabling Requirements f[...]

  • Página 44

    © National Instruments Corporation E-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT E Specifications This appendix describes the physical characteristics of the hardw are and the recommended op erating cond i tions. PXI-8461 One Port and T wo Port Dimensions................... ........... ........... .... P XI 3U Module 100 by 160 mm (3.94 by 6.[...]

  • Página 45

    Appendix E Specifications PXI-8461 or PXI-8460 and NI-CAN for Windows NT E-2 www .natinst.com Operating environment Component temperature ................. .0 to 55 °C Relative humidity ............. .............. .10% to 90%, noncondensing Storage environment Temperature......................... ........... .–20 to 70 °C Relative humidity ...[...]

  • Página 46

    © National Instruments Corporation F-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT F T echnical Support Resources This appendix describes the comprehensiv e resources a vailable to you in the T echnical Sup port section of the National Instruments W eb site and provides technical support telephone numbers for you to use if you hav e trouble con[...]

  • Página 47

    Appendix F T echnical Support Resources PXI-8461 or PXI-8460 and NI-CAN for Windows NT F-2 www .natinst.com Software-Related Resources • Instrument Driver Network —A library with hundreds of instrument dri v ers fo r control of standalone instruments via GPIB, V XI, or serial interfaces. Y ou also can submit a request for a particular instrumen[...]

  • Página 48

    © National Instruments Corporation G-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Glossar y Pref ix Meaning V alue n- nano - 10 –9 m- milli- 10 –3 k- kilo- 10 3 M- mega- 10 6 ° degrees Ω ohms % percent A amperes ANSI American National Standards Institute bb i t s Bb y t e s C Celsius CAN Controller Area Network CiA CAN in A utomation DC[...]

  • Página 49

    Glossary PXI-8461 or PXI-8460 and NI-CAN for Windows NT G-2 www .natinst.com ISO International Standards Organization LED light-emitting dio de m meters PC personal computer PCI peripheral component interconnect PCMCIA Personal Computer Memory Card International Association PLC Programmable Logic Controller RAM random-access memory resource hardwar[...]