CAN PCAN-PCI User Manual

Can interface for pci

Advertisement

Quick Links

PCAN-PCI
CAN Interface for PCI
User Manual
Document version 2.3.1 (2014-04-29)

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

Summary of Contents for CAN PCAN-PCI

  • Page 1 PCAN-PCI CAN Interface for PCI User Manual Document version 2.3.1 (2014-04-29)
  • 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

    Contents Introduction Properties at a Glance System Requirements Scope of Supply Installing the Software and the Card Connecting the CAN Bus D-Sub Connector Supplying External Devices via the CAN Connector Cabling 3.3.1 Termination 3.3.2 Example of a Connection 3.3.3 Maximum Bus Length...
  • Page 4: Introduction

    PCAN-PCI – User Manual Introduction The PCAN-PCI card enables the connection of a PC with PCI slots to CAN networks. The opto-decoupled versions also guarantee galvanic isolation of up to 500 Volts between the PC and the CAN sides. Device drivers and programming interfaces exist for different operating systems, so programs can easily access a connected CAN bus.
  • Page 5: System Requirements

    Extended operating temperature range from -40 to 85 °C (-40 to 185 °F) 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 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. Do the following to install the driver:...
  • 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 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

    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. You can find a detailed description in the following section 3.2.
  • Page 10: Supplying External Devices Via The Can Connector

    Supplying External Devices via the CAN Connector A 5-Volt supply can optionally be routed to pin 1 and/or pin 9 of a D- Sub connector by setting solder bridges on the PCAN-PCI card (independently for each connector on the Dual Channel versions).
  • 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

    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. Figure 5: PCAN-View for Windows Do the following to start and initialize PCAN-View: If PCAN-View is already installed on the hard disk, open the Windows Start menu, go to Programs >...
  • Page 15 From the list Available CAN hardware select the CAN channel to be used. Select the bit rate that is used by all nodes on the CAN bus from the dropdown list Bit rate. Under Filter settings you can limit the range of CAN IDs to be received, either for standard frames (11-bit IDs) or for extended frames (29-bit IDs).
  • Page 16: Receive/Transmit Tab

    Representation of CAN data is in hexadecimal format. Do the following to transmit a CAN message with PCAN-View: Select the menu command Transmit > New Message (alternatively or Ins).
  • Page 17 Transmit > Send (alternatively Space bar). The manual transmission for CAN messages being transmitted periodically is carried out additionally. Tip: Using the menu command File > Save the current transmit messages can be saved to a list and loaded for reuse later on.
  • Page 18: Trace Tab

    PC. Afterwards they can be saved to a file. The tracer can be configured to run in linear or in ring buffer mode. In linear buffer mode the logging is stopped as soon as the buffer is filled completely.
  • Page 19: 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

    Linux (32/64-bit)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 Use of up to 8 channels for each hardware unit (depending on...
  • Page 22: Principle Description Of The Api

    1. Initialization 2. Interaction 3. Completion Initialization A CAN channel must be initialized before using it. This is done by the simple call of the function . Depending on the CAN_Initialize type of the CAN hardware, up to eight CAN channels can be opened at the same time.
  • Page 23: Notes About The License

    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. 4.2.3 Notes about the License...
  • Page 24: Technical Specifications

    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 Environment Operating temperature -40 - 85 °C (-40 - 185 °F) Temperature for storage -40 - 125 °C (-40 - 257 °F) and transport Relative humidity 15 - 90 %, not condensing EN 55024:2011-09 EN 55022:2011-12...
  • 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”...

Table of Contents