background image

Chapter 3

Verify the Installation

PXI-846x and NI-CAN for Windows 98/95

3-2

ni.com

You can get details about any tested CAN interface by selecting the
interface and clicking the

Details

button. For each failed CAN interface,

select it and click the

Details

button to get a description of the failure.

Use that information and the information in Appendix F,

Troubleshooting

and Common Questions

to troubleshoot the problem. Troubleshooting

information is also available in the online help for the NI-CAN Diagnostic
utility, which you can access by clicking on the

Help

button.

Содержание CAN PXI-846 Series

Страница 1: ...CAN Getting Started with Your PXI 846x Series and the NI CAN Software for Windows 98 95 PXI 8460 PXI 8461 and PXI 8462 PXI 846x and NI CAN for Windows 98 95 August 2000 Edition Part Number 370293A 01 ...

Страница 2: ...any 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico D F 5 280 7625 Mexico Monterrey 8 357 7695 Netherlands 0348 433466 New Zealand 09 914 0488 Norway 32 27 73 00 Poland 0 22 528 94 06 Portugal 351 1 726 9011 Singapore 2265886 Spain 91 640 0085 Sweden 08 587 895 00 Switzerland 056 200 51 51 Taiwa...

Страница 3: ...ce failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmit...

Страница 4: ...Communications DOC Changes or modifications not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protectio...

Страница 5: ... Directives Readers in the EU EEC EEA must refer to the Manufacturer s Declaration of Conformity DoC for information pertaining to the CE Mark compliance scheme The Manufacturer includes a DoC for most every hardware product except for those bought for OEMs if also available from an original manufacturer that also markets in the EU or where compliance is not required as for electrically benign app...

Страница 6: ...Configuration Install the NI CAN Software 2 1 Install the Hardware 2 2 Check the Configuration of Your PXI 8460 PXI 8461 or PXI 8462 2 2 Install Your PXI 8460 PXI 8461 or PXI 8462 2 2 Connect the Cables 2 4 Configure the NI CAN Software 2 4 Chapter 3 Verify the Installation Chapter 4 Begin to Use the NI CAN Software Using the NI CAN Software 4 1 General Programming Considerations 4 2 Appendix A Un...

Страница 7: ... for PXI 8461 High Speed CAN Connector Pinouts C 1 Power Supply Information for the High Speed CAN Ports C 2 Bus Power Supply Requirements C 4 Cable Specifications C 5 Cable Lengths C 5 Number of Devices C 6 Cable Termination C 6 Cabling Example C 7 Appendix D Cabling Requirements for PXI 8462 Dual Speed CAN Port Identification D 1 Appendix E RTSI Bus RTSI PXI and CompactPCI E 1 Appendix F Trouble...

Страница 8: ...gure 3 1 NI CAN Diagnostic Utility after Testing 3 1 Figure A 1 Selecting an Interface to Remove from Windows 98 95 A 2 Figure A 2 Add Remove Programs Properties Dialog Box A 3 Figure B 1 Pinout for 9 Pin D Sub Connector B 1 Figure B 2 PXI 8460 Parts Locator Diagram B 2 Figure B 3 Power Source Jumpers B 3 Figure B 4 Termination Resistor Placement for Low Speed CAN B 5 Figure B 5 Location of Termin...

Страница 9: ...r Bus Powered Versions B 3 Table B 2 ISO 11519 2 Specifications for Characteristics of a CAN_H and CAN_L Pair of Wires B 4 Table C 1 Power Requirements for the CAN Physical Layer for Bus Powered Versions C 4 Table C 2 ISO 11898 Specifications for Characteristics of a CAN_H and CAN_L Pair of Wires C 5 Table C 3 DeviceNet Cable Length Specifications C 5 Table E 1 Pins Used By the PXI 846x Series Boa...

Страница 10: ...ort versions of the boards This manual assumes that you are already familiar with Windows How To Use the Manual Set Use this getting started manual to install and configure your PXI 8460 PXI 8461 or PXI 8462 and the NI CAN software for Windows 98 95 Use the NI CAN User Manual to learn the basics of CAN and how to develop an application program The user manual also contains debugging information an...

Страница 11: ... Italic text denotes variables emphasis a cross reference or an introduction to a key concept This font also denotes text that is a placeholder for a word or value that you must supply monospace Text in this font denotes text or characters that you should enter from the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives pat...

Страница 12: ...2 0 CAN Physical Layer for Industrial Applications CompactPCI Specification Revision 2 0 PCI Industrial Computers Manufacturer s Group DeviceNet Specification Version 2 0 Open DeviceNet Vendor Association Microsoft Windows 95 98 user s guide Microsoft Corporation PXI Specification Revision 1 0 National Instruments Corporation ...

Страница 13: ...hardware and software Windows 98 or Windows 95 installed on your computer One of the following boards which is included in your kit PXI 8460 one port PXI 8460 two port PXI 8461 one port PXI 8461 two port PXI 8462 two port 3 5 in high density 1 44 MB disks which are included in your kit NI CAN Software for Windows 95 98 NT Version 1 4 Disk x of 4 CAN interface cables that meet the requirements in A...

Страница 14: ...ther internally from the board or externally from the bus cable power The power source for the CAN physical layer for each port is configured with a jumper PXI 8461 boards are available with two physical connector types DB 9 D Sub Combicon style pluggable screw terminals PXI 8460 and PXI 8462 boards are available with DB 9 D Sub connectors The PXI 846x series boards use the Real Time System Integr...

Страница 15: ...ility The NI CAN software includes the following components Firmware runs on embedded Intel 386EX Device driver Diagnostic test utility Configuration utility Language interface libraries for Microsoft Visual C C 2 0 or later LabWindows CVI 4 0 or later and LabVIEW 4 0 or later Example programs that use NI CAN functions Optional Programming Tools Your kit includes the NI CAN software for Windows NT...

Страница 16: ...ceNet applications including general manufacturing test and control Leveraging National Instruments patented graphical programming language G otherwise known as LabVIEW BridgeVIEW gives you the ability to integrate functionality in a way that is not possible with traditional automation software In addition to the programming advantages of G BridgeVIEW also provides a number of features for the dev...

Страница 17: ...98 95 and the PXI 8460 PXI 8461 or PXI 8462 hardware Install the NI CAN Software Install the NI CAN software before you install your hardware 1 Select Start Settings Control Panel 2 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 ...

Страница 18: ...461 or PXI 8462 hardware Check the Configuration of Your PXI 8460 PXI 8461 or PXI 8462 If you plan to use your CAN board in a system where bus power is available you may want to configure the power supply jumpers on your board See Appendix C Cabling Requirements for PXI 8461 High Speed CAN for more information If you are installing a low speed CAN board you might have to change the power supply ju...

Страница 19: ...ctricity that might be on your clothes or body 5 Regarding the RTSI interface on the J2 connector of your PXI 846x series board there are important issues to consider when using it in a CompactPCI chassis Please refer to Appendix E RTSI Bus for detailed information about the PXI 846x series RTSI interface 6 Insert the PXI board into the selected 5 V slot Use the injector ejector handle to fully in...

Страница 20: ...ents for PXI 8462 Dual Speed CAN for information about the cabling requirements of CAN hardware Configure the NI CAN Software The NI CAN Configuration utility is fully integrated with the Windows Device Manager You can use it to examine or modify the configuration of the NI CAN software The context sensitive online help available by right clicking on any of the controls on the configuration utilit...

Страница 21: ...e click on that interface in the list of installed interfaces below National Instruments CAN Interfaces The Resources tab provides information about the hardware resources assigned to the CAN interface Use the Resources tab to examine the assigned resources to verify that there are no conflicts The Conflicting Device List lists any conflicts If conflicts exist uncheck the Use automatic settings ch...

Страница 22: ...l port number to configure For each port use the Name drop down box to select the name for the CAN Network Interface Object CAN0 CAN1 and so on You use this name to refer to the physical port from within your NI CAN application To access online help for the NI CAN Configuration utility right click the mouse anywhere on the Settings tab and select Full Help from the pop up menu that appears You can...

Страница 23: ...o run the utility select the NI CAN Diagnostic item under Start Programs National Instruments CAN When you have started the NI CAN Diagnostic utility test your CAN interfaces by clicking on the Test All button You can also test one CAN interface by highlighting it and clicking on the Test One button If the NI CAN Diagnostic is successful it puts a checkmark next to the interface and changes its st...

Страница 24: ...ls button For each failed CAN interface select it and click the Details button to get a description of the failure Use that information and the information in Appendix F Troubleshooting and Common Questions to troubleshoot the problem Troubleshooting information is also available in the online help for the NI CAN Diagnostic utility which you can access by clicking on the Help button ...

Страница 25: ... PXI 8461 two port interfaces would provide CAN0 through CAN3 You can use this object to transmit and receive entire CAN frames For example to transmit a CAN frame you would specify the outgoing arbitration ID frame type data or remote data length and data The CAN Objects provide higher level access to a CAN network Each CAN Object maps to a specific data item arbitration ID and you can use multip...

Страница 26: ...r file nican h in your source code The NI CAN software is accessed through the 32 bit DLL nican dll either by linking with one of the language interfaces provided with the NI CAN software or by using direct DLL entry from other programming environments Several sample CAN applications are included with the NI CAN software Use them as a guide for your own application development For information abou...

Страница 27: ...from the Windows Device Manager To remove the hardware information from Windows 98 95 complete the following steps 1 Select Start Settings Control Panel 2 Double click on the System icon 3 In the System Properties dialog box that appears select the Device Manager tab 4 Click on the View devices by type button at the top of the Device Manager tab 5 Double click on the National Instruments CAN Inter...

Страница 28: ...es attached to your board and physically remove the board from your computer Uninstalling the NI CAN Software from Windows 98 95 Before uninstalling the NI CAN software you should remove all PXI 8460 PXI 8461 or PXI 8462 boards from your computer as explained in the previous section Complete the following steps to remove the NI CAN software 1 Select the Add Remove Programs icon under Start Setting...

Страница 29: ... utilities device drivers DLLs and registry entries associated with the NI CAN software The uninstall program removes only items that the installation program installed If you add anything to a directory that was created by the installation program the uninstall program does not delete that directory because the directory is not empty after the uninstallation You must remove any remaining componen...

Страница 30: ...ts of the other CAN devices in the network Connector Pinouts The PXI 8460 has DB 9 D Sub connector s The 9 pin D Sub follows the pinout recommended by CiA DS 102 Figure B 1 shows the pinout for this connector Figure B 1 Pinout for 9 Pin D Sub Connector 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 1 2 3 4 5 6 7 8 ...

Страница 31: ...more information Power Supply Information for the Low Speed CAN Ports For port one of the PXI 8460 power is configured with jumper J5 For port two of the PXI 8460 power is configured with jumper J6 These jumpers are shown in Figure B 2 Figure B 2 PXI 8460 Parts Locator Diagram Connecting pins 1 and 2 of a jumper configures the CAN physical layer to be powered externally from the bus cable power In...

Страница 32: ... external power supplies Figure B 3 Power Source Jumpers The CAN physical layer is still isolated regardless of the power source chosen Bus Power Supply Requirements If the CAN physical layer is powered from a bus power supply the power supply should be a DC power supply with an output of 8 V to 27 V The power requirements for the CAN ports for Bus Powered configurations are shown in Table B 1 You...

Страница 33: ...he electrical characteristics of the devices on the network If all of the devices meet the requirements of ISO 11519 2 at least 20 devices may be connected to the bus Higher numbers of devices may be connected if the electrical characteristics of the devices do not degrade signal quality below ISO 11519 2 signal level specifications Table B 2 ISO 11519 2 Specifications for Characteristics of a CAN...

Страница 34: ...rmination requires one resistor for each CAN line This configuration allows the Philips fault tolerant CAN transceiver to detect any of seven network faults You can use your PXI 8460 to connect to a low speed CAN network having from two to 32 nodes as specified by Philips including the port on the PXI 8460 as a node You can also use the PXI 8460 to communicate with individual low speed CAN devices...

Страница 35: ...l RTH and RTL termination of 100 to 500 Ω upon connection of the board RRTH overall should be between 100 and 500 Ω RRTH of low speed CAN interface 510 Ω 5 mounted or 15 kΩ 5 in kit RRTH RRTL As the formula indicates the 510 Ω 5 shipped on your board will work with properly terminated networks having a total RTH and RTL termination of 125 to 500 Ω or individual devices having an RTH and RTL termin...

Страница 36: ...n Determining the Necessary Termination Resistance for Your Board 1 Remove the termination resistors on your PXI 8460 Figure B 5 shows the location of the termination resistor sockets on a PXI 8460 Figure B 5 Location of Termination Resistors on a PXI 8460 2 Cut and bend the lead wires of the resistors you want to install Refer to Figure B 6 Figure B 6 Preparing Lead Wires of Replacement Resistors...

Страница 37: ...n Cabling Example Figure B 7 shows an example of a cable to connect two low speed CAN devices For the internal power configuration the V connection is required for the low speed transceiver to operate as specified in the Philips data sheet Figure B 7 Cabling Example 9 Pin D Sub 9 Pin D Sub CAN_H CAN_L GND V V V V 5 Pin Combicon 5 Pin Combicon Pin 7 Pin 4 Pin 7 Pin 4 Pin 2 Pin 2 Pin 5 Pin 3 Pin 9 P...

Страница 38: ...of the other CAN or DeviceNet devices in the network Connector Pinouts Depending on the type of PXI board you are installing it has either DB 9 D Sub connector s or Combicon style pluggable screw terminal connector s The 9 pin D Sub follows the pinout recommended by CiA Draft Standard 102 Figure C 1 shows the pinout for this connector Figure C 1 Pinout for 9 Pin D Sub Connector 1 2 3 4 5 6 7 8 9 N...

Страница 39: ...upply bus power to the CAN physical layer if external power is required for the CAN physical layer If internal power for the CAN physical layer is used the V pin serves as the reference ground for CAN_H and CAN_L See the next section Power Supply Information for the High Speed CAN Ports for more information Power Supply Information for the High Speed CAN Ports For the PXI 8461 a jumper controls th...

Страница 40: ...o be powered externally from the bus cable power In this configuration the power must be supplied on the V and V pins on the port connector Connecting pins 2 and 3 of a jumper configures the CAN physical layer to be powered internally from the board In this configuration the V signal serves as the reference ground for the isolated signals 1 Power Supply Jumper J6 2 Power Supply Jumper J5 3 Assembl...

Страница 41: ...rom a bus power supply the power supply should be a DC power supply with an output of 10 V to 30 V The power requirements for the CAN ports for bus powered configurations are shown in Table C 1 You should take these requirements into account when determining requirements of the bus power supply for the system Table C 1 Power Requirements for the CAN Physical Layer for Bus Powered Versions Characte...

Страница 42: ...cifies 40 m total cable length with a maximum stub length of 0 3 m for a bit rate of 1 Mb s The ISO 11898 specification says that significantly longer cable lengths may be allowed at lower bit rates but each node should be analyzed for signal integrity problems Table C 3 lists the DeviceNet cable length specifications Table C 2 ISO 11898 Specifications for Characteristics of a CAN_H and CAN_L Pair...

Страница 43: ...mission line is not terminated each signal change on the line causes reflections that may cause communication failures Because communication flows both ways on the CAN bus CAN requires that both ends of the cable be terminated However this requirement does not mean that every device should have a termination resistor If multiple devices are placed along the cable only the devices on the ends of th...

Страница 44: ... an example of a cable to connect two CAN devices For the internal power configuration no V connection is required Figure C 6 Cabling Example 9 Pin D Sub 9 Pin D Sub CAN_H CAN_L Shield V V V V 5 Pin Combicon 5 Pin Combicon Pin 7 Pin 4 Pin 7 Pin 4 Pin 2 Pin 2 Pin 5 Pin 3 Pin 9 Pin 5 Pin 3 Pin 1 Pin 2 Pin 2 Pin 5 Pin 3 Pin 9 Pin 5 Pin 3 Pin 1 120Ω 120Ω Power Connector ...

Страница 45: ...I 8461 one port and PXI 8461 two port boards Port two of the PXI 8462 is identical to port two of the PXI 8460 two port board The PXI 8462 allows simultaneous communication with both a high speed and low speed bus each with its own specific cabling and termination requirements For cabling requirements and port information for the high speed CAN port please refer to Appendix C Cabling Requirements ...

Страница 46: ... device will work in any standard CompactPCI chassis adhering to the PICMG 2 0 R2 1 CompactPCI core specification using the 64 bit definition for J2 PXI specific features are implemented on the J2 connector of the CompactPCI bus Table E 1 lists the J2 pins your PXI 846x series board uses Your PXI board is compatible with any CompactPCI chassis with a sub bus that does not drive these lines Even if...

Страница 47: ... Windows 98 95 E 2 ni com Table E 1 Pins Used By the PXI 846x Series Boards PXI Pin Name PXI J2 Pin Number PXI Star D17 PXI Trigger 0 B16 PXI Trigger 1 A16 PXI Trigger 2 A17 PXI Trigger 3 A18 PXI Trigger 4 B18 PXI Trigger 5 C18 PXI Trigger 7 E16 ...

Страница 48: ...is installed refer to the No National Instruments CAN Interfaces section of this appendix This problem occurs when Windows 98 95 does not display the New Hardware Found dialog box when expected If the National Instruments CAN Interfaces item exists but the board you are looking for is not listed there refer to the Missing Board in Device Manager section of this appendix If the board you are lookin...

Страница 49: ...8461 or PXI 8462 listed select the board by clicking on it and then click on the Remove button to remove each board from the list of Other Devices 6 After you have removed all of the PXI 8460 PXI 8461 or PXI 8462 boards from the list of Other Devices click on the Refresh button to force Windows to detect each PXI board and to display a New Hardware Found dialog box for each one Your PXI 8460 PXI 8...

Страница 50: ...e Device Manager should list an error code that indicates why the problem occurred To see the error code for a particular interface select the name of the interface and click on the Properties button to go to the General tab for that interface The Device Status section of the General tab shows the error code Locate the error code in the following list to find out why your interface is not working ...

Страница 51: ... to verify this problem is to look at the Resource settings list on the Resources tab to verify that your interface was not assigned an Interrupt Request level To solve this problem free up an Interrupt Request level that is being used by another device in the system Code 22 Your interface is disabled To enable your interface check the appropriate configuration checkbox in the Device Usage section...

Страница 52: ...pt resources being used by other hardware in the system Resource conflicts typically occur when your system contains legacy hardware that use resources that have not been reserved properly with the Device Manager If a resource conflict exists write down the interrupt resource that caused the conflict and refer to the Microsoft Windows user s guide for instructions on how to use the Device Manager ...

Страница 53: ...ce types Double click this icon to see a list of installed hardware How can I determine which version of the NI CAN software I have installed Run the NI CAN Diagnostic utility To run the utility select the Diagnostic item under Start Programs National Instruments CAN The NI CAN Diagnostic utility displays information about the version of the NI CAN software currently installed How many PXI 8460 PX...

Страница 54: ...t using NI CAN language interfaces refer to Chapter 3 Developing Your Application in the NI CAN User Manual How do I use NI CAN from within LabVIEW or BridgeVIEW For information about using NI CAN from within LabVIEW or BridgeVIEW refer to Chapter 3 Developing Your Application in the NI CAN User Manual Why does the uninstall program leave some components installed The uninstall program removes onl...

Страница 55: ...Power requirement 5 VDC 500 mA typical I O connector 9 pin D Sub for each port Operating environment Component temperature 0 to 55 C Relative humidity 10 to 90 noncondensing Storage environment Temperature 20 to 70 C Relative humidity 10 to 90 noncondensing PXI 8461 One Port and Two Port Dimensions PXI 3U Module 100 by 160 mm 3 94 by 6 30 in Power requirement 5 VDC 500 mA typical I O connector 9 p...

Страница 56: ... 3 94 by 6 30 in Power requirement 5 VDC 500 mA typical I O connector 9 pin D Sub for each port Operating environment Component temperature 0 to 55 C Relative humidity 10 to 90 noncondensing Storage environment Temperature 20 to 70 C Relative humidity 10 to 90 noncondensing High Speed CAN Port Characteristics Bus Power 0 30 V 40 mA typical 100mA maximum CAN H CAN L 8 to 18V DC or peak CATI Low Spe...

Страница 57: ... access the latest example programs system configurators tutorials technical news as well as a community of developers ready to share their own techniques Customer Education National Instruments provides a number of alternatives to satisfy your training needs from self paced tutorials videos and interactive CDs to instructor led hands on courses at locations around the world Visit the Customer Edu...

Страница 58: ...ice Web sites from the Worldwide Offices section of ni com Branch office web sites provide up to date contact information support phone numbers e mail addresses and current events If you have searched the technical support resources on our Web site and still cannot find the answers you need contact your local office or National Instruments corporate Phone numbers for our worldwide offices are list...

Страница 59: ...A amperes AC alternating current ANSI American National Standards Institute AT compatible compatible with the 16 bit Industry Standard Architecture b bits B bytes C Celsius CAN Controller Area Network CiA CAN in Automation DC direct current DLL dynamic link library DMA direct memory access EMI electromagnetic interference FCC Federal Communications Commission ft feet hex hexadecimal ...

Страница 60: ...on PLC Programmable Logic Controller RAM random access memory resource hardware settings used by National Instruments CAN hardware including an interrupt request level IRQ and an 8 KB physical memory range such as D0000 to D1FFF hex RTSI bus Real Time System Integration Bus The National Instruments timing bus that connects CAN and DAQ boards directly by means of the PXI trigger bus on the PXI 846x...

Страница 61: ...on questions F 1 F 6 CompactPCI and RTSI E 1 configuration 2 1 Add Remove Programs Properties Dialog Box 2 1 checking of PXI 8460 PXI 8461 or PXI 8462 2 2 Device Manager Shows PXI 8461 That Is Not Working Properly figure 2 5 Device Manager Shows PXI 8461 That Is Working Properly figure 2 5 connector pinouts dual speed CAN D 1 high speed CAN C 1 pinout for 9 Pin D Sub connector figure C 1 low speed...

Страница 62: ...stics G 2 power supply C 2 power source jumpers figure C 4 termination resistor placement figure C 6 I installation 2 1 Add Remove Programs Properties dialog box figure 2 1 of PXI hardware figure 2 3 of PXI 8460 PXI 8461 or PXI 8462 2 2 verifying 3 1 interrupt resource conflict F 5 L LabVIEW 1 4 4 2 F 7 LabWindows CVI 1 3 low speed CAN bus power supply requirements table B 3 cable specification ta...

Страница 63: ... 5 Pin Combicon style pluggable screw terminal figure C 2 pins used by PXI 846x series boards E 2 port identification dual speed CAN D 1 power supply high speed CAN ports C 2 power source jumpers figure C 4 low speed CAN ports B 2 power source jumpers figure B 3 Problem Shown in Device Manager error message F 3 programming See optional programming tools PXI and CompactPCI and RTSI E 1 PXI 8460 bus...

Страница 64: ...source jumpers figure C 4 power supply C 2 specifications G 1 termination resistor placement figure C 6 transfer rates 1 2 PXI 8462 cabling requirements D 1 checking configuration 2 2 fault reporting capabilities E 1 installation 2 2 interrupts required F 6 number of boards configured F 6 physical layer 1 2 port identification D 1 port speeds 1 2 specifications G 2 PXI 846x series boards and RTSI ...

Страница 65: ...ure B 7 placement high speed CAN figure C 6 low speed CAN figure B 5 preparing lead wires of low speed CAN figure B 7 troubleshooting F 1 Device Manager Shows PXI 8461 That Is Not Working Properly figure F 3 Diagnostic Utility failures F 5 U uninstall program F 7 W Web support from National Instruments H 1 what you need to get started 1 1 worldwide technical support H 2 ...

Отзывы: