Peak PCAN-PCI User Manual

Pci to can interface
Hide thumbs Also See for PCAN-PCI:

Advertisement

Quick Links

PCAN-PCI
PCI to CAN Interface
User Manual
V2.2.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCAN-PCI and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Peak PCAN-PCI

  • Page 1 PCAN-PCI PCI to CAN Interface User Manual V2.2.0...
  • Page 2 IPEH-002067 opto-decoupled isolation for CAN connections The cover picture shows the product PCAN-PCI Dual Channel opto-decoupled. Other product versions have an identical form factor but vary in equipment. CANopen® and CiA® are registered community trade marks of CAN in Automation e.v.
  • Page 3: Table Of Contents

    PCAN-PCI – User Manual Contents 1. Introduction Properties at a Glance System Requirements Scope of Supply 2. Installing the Software and the Card 3. Connecting the CAN Bus D-Sub connector Supplying External Devices via the CAN Connector Cabling 3.3.1 Termination 3.3.2...
  • Page 4: Introduction

    PCAN-PCI – User Manual 1. Introduction The PCAN-PCI card provides one or two CAN channels in computers with PCI slots. Device drivers and programming interfaces exist for different operating systems, so programs can easily access a connected CAN bus. Tip: At the end of this manual (Appendix C) you can find a Quick Reference with brief information about the installation and operation of the PCAN-PCI card.
  • Page 5: System Requirements

    PCAN-PCI – User Manual Note: This manual describes the use of the PCAN-PCI card with Windows. You can find device drivers for Linux and the corresponding application information on the provided DVD in the directory branch Develop and on our website under www.peak-system.com/linux.
  • Page 6: Installing The Software And The Card

    PCAN-PCI – User Manual 2. Installing the Software and the Card This chapter covers the software setup for the PCAN-PCI card under Windows and the installation of the card in the computer. Setup the driver before installing the PCAN-PCI card.
  • Page 7 PCAN-PCI – User Manual Do the following to install the PCAN-PCI card in the computer: Attention! Electrostatic discharge (ESD) can damage or destroy components on the PCAN-PCI card. Take precautions to avoid ESD when handling the card. Figure 1: Position of the CAN connectors CAN 1 (lower position) and CAN 2 (upper position).
  • Page 8 All Windows operating systems: The drivers are found and installed by Windows. Afterwards you can work as user with restricted rights again. After the initialization process is finished successfully you can find the entry “PCAN-PCI” in the branch “CAN-Hardware” of the Windows Device Manager.
  • Page 9: Connecting The Can Bus

    CiA® 102. Figure 2: Pin assignment of High-speed CAN connection (view onto a male connector on the PCAN-PCI card) With the pins 1 and 9 devices with low power consumption (e.g. bus converters) can be directly supplied via the CAN connector. At deli- very these pins are not assigned.
  • Page 10: Supplying External Devices Via The Can Connector

    Set the solder bridge(s) on the PCAN-PCI card according to the desired settings. During this procedure take especially care not to produce unwanted short circuits on the card. Figure 3 shows the positions of the solder fields on the PCAN-PCI card. The table below contains the possible settings.
  • Page 11 PCAN-PCI – User Manual Figure 3: PCAN-PCI card, LJ21 (lower marker) and LJ22 (upper marker) 5-Volt supply → None Pin 1 Pin 9 Pin 1 + Pin 9 LJ21 (CAN channel 1) / LJ22 (CAN channel 2) Attention! Risk of short circuit! If the option described in this section is activated, you may only connect or disconnect CAN cables or peripheral systems (e.g.
  • Page 12: Cabling

    The PCAN-PCI card does not have an internal termination. Use the card on a terminated CAN bus. 3.3.2 Example of a Connection Figure 4: Simple CAN connection In this example, the PCAN-PCI card is connected with a control unit by a cable that is terminated at both ends.
  • Page 13: Maximum Bus Length

    PCAN-PCI – User Manual 3.3.3 Maximum Bus Length High-Speed-CAN networks may have bit rates of up to 1 Mbit/s. The maximum bus length depends primarily on the bit rate. The following table shows the maximum possible CAN bus length at different bit rates:...
  • Page 14: Using The Software

    PCAN-PCI – User Manual 4. Using the Software This chapter covers the provided software PCAN-View and the programming interface PCAN-Basic. CAN Monitor PCAN-View for Windows PCAN-View for Windows is a simple CAN monitor for viewing, transmitting, and logging CAN messages.
  • Page 15 PCAN-PCI – User Manual DVD. In the navigation program (Intro.exe), go to English > Tools, and under PCAN-View for Windows select the link Start. The dialog box for selecting the CAN hardware and for setting the CAN parameters appears. Figure 6: Selection of the CAN hardware and parameters From the list Available CAN hardware select the CAN channel to be used.
  • Page 16: Receive/Transmit Tab

    PCAN-PCI – User Manual 4.1.1 Receive/Transmit Tab Figure 7: Receive/Transmit tab The Receive/Transmit tab is the main element of PCAN-View. It contains two lists, one for received messages and one for the transmit messages. Representation of CAN data is in hexadecimal format.
  • Page 17 PCAN-PCI – User Manual Figure 8: Dialog box New transmit message Enter the ID and the data for the new CAN message. The field Cycle Time indicates if the message shall be transmitted manually or periodically. If you want to transmit the message periodically, you must enter a value greater than 0.
  • Page 18: Trace Tab

    PCAN-PCI – User Manual 4.1.2 Trace Tab Figure 9: Trace tab On the Trace tab the data tracer of PCAN-View is used for logging the communication on a CAN bus. During this process the CAN messages are cached in the working memory of the PC. Afterwards they can be saved to a file.
  • Page 19: Status Bar

    PCAN-PCI – User Manual 4.1.3 Status Bar Figure 10: Display of the status Bar The status bar shows information about the current CAN connection, about error counters (Overruns, QXmtFull) and shows error messages. You can find further information about the use of PCAN-View in the help which you can invoke in the program via the menu Help or the F1 key.
  • Page 20: Linking Own Programs With Pcan-Basic

    PCAN-PCI – User Manual Linking Own Programs with PCAN-Basic Figure 11: PCAN-Basic On the provided DVD you can find files of the programming interface PCAN-Basic in the directory branch Develop. This API provides basic functions for linking own programs to CAN...
  • Page 21: Features Of Pcan-Basic

    PCAN-PCI – User Manual 4.2.1 Features of PCAN-Basic Supports Windows 7/Vista/XP (32/64-bit) and Windows CE 6.x operating system Multiple PEAK-System applications and your own can be operated on a physical CAN channel at the same time Use of a single DLL for all supported hardware types...
  • Page 22: Principle Description Of The Api

    PCAN-PCI – User Manual 4.2.2 Principle Description of the API The PCAN-Basic API is the interface between the user application and device driver. In Windows operating systems this is a DLL (Dynamic Link Library). The sequence of accessing the CAN interface is divided into three phases: 1.
  • Page 23: Notes About The License

    PCAN-PCI – User Manual Completion To end the communication the function is called in CAN_Uninitialize order to release the reserved resources for the CAN channel, among others. In addition the CAN channel is marked as "Free" and is available to other applications.
  • Page 24: Technical Specifications Pcan-Pci

    PCAN-PCI opto: up to 500 V, separate for each Channel Supplying external PCAN-PCI: D-Sub pin 1 /pin 9; 5 V, max. 100 mA devices PCAN-PCI opto: D-Sub pin 1 /pin 9; 5 V, max. 50 mA Not assigned at delivery Termination none...
  • Page 25 PCAN-PCI – User Manual Measures Size PCB: 93 x 120 mm See also dimension drawing in Appendix B on page 27 Weight PCAN-PCI Single Channel: 54 g PCAN-PCI Dual Channel: 63 g PCAN-PCI Single Ch. opto: 55 g PCAN-PCI Dual Ch. opto:...
  • Page 26: Appendix Ace Certificate

    PCAN-PCI – User Manual Appendix A CE Certificate...
  • Page 27: Appendix B Dimension Drawing

    PCAN-PCI – User Manual Appendix B Dimension Drawing Figure 12: Dimension drawing PCAN-PCI The figure doesn’t show the actual size of the product.
  • Page 28: Appendix C Quick Reference

    DVD (with administrator privileges). Afterwards, insert the PCAN-PCI card into a vacant PCI slot of the switched off computer. The PCAN-PCI card is recognized by Windows and the driver is initialized. After the installation process is finished successfully you can find the entry “PCAN-PCI”...

This manual is also suitable for:

Ipeh-002064Ipeh-002067Ipeh-002065Ipeh-002066

Table of Contents