Peak PCAN-cPCI Dual Channel opto-decoupled User Manual

Peak PCAN-cPCI Dual Channel opto-decoupled User Manual

Can interface for compactpci

Advertisement

Quick Links

PCAN-cPCI
CAN Interface for CompactPCI
User Manual
Document version 2.2.1 (2014-04-29)

Advertisement

Table of Contents
loading

Summary of Contents for Peak PCAN-cPCI Dual Channel opto-decoupled

  • Page 1 PCAN-cPCI CAN Interface for CompactPCI User Manual Document version 2.2.1 (2014-04-29)
  • Page 2 All other product names mentioned in this manual may be the trademarks or registered trademarks of their respective companies. They are not explicitly marked by “™” and “®”. © 2014 PEAK-System Technik GmbH PEAK-System Technik GmbH Otto-Roehm-Strasse 69 64293 Darmstadt...
  • Page 3: Table Of Contents

    PCAN-cPCI – User Manual 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 Using the Software...
  • Page 4: Introduction

    PCAN-cPCI – User Manual Introduction The PCAN-cPCI card enables the connection of an industrial computer system with CompactPCI to CAN networks. There is galvanic isolation of up to 500 Volts between the computer and CAN sides. The card is available as a dual or four-channel version. Device drivers and programming interfaces exist for different operating systems, so programs can easily access a connected CAN bus.
  • Page 5: System Requirements

    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. System Requirements One empty slot in the CompactPCI system, 3U form factor,...
  • Page 6 PCAN-cPCI – User Manual PCAN-Basic programming interface consisting of an interface DLL, examples, and header files for all common programming languages Manual in PDF format...
  • Page 7: Installing The Software And The Card

    PCAN-cPCI – User Manual Installing the Software and the Card This chapter covers the software setup for the PCAN-cPCI card under Windows and the installation of the card in the computer. Setup the driver before installing the PCAN-cPCI card. Do the following to install the driver: Make sure that you are logged in as user with administrator privileges (not needed for normal use of the PCAN-cPCI card later on).
  • Page 8 PCAN-cPCI – User Manual Do the following to install the PCAN-cPCI card in the computer: Attention! Electrostatic discharge (ESD) can damage or destroy components on the PCAN-cPCI card. Take precautions to avoid ESD when handling the card. At the Quad Channel version of the PCAN-cPCI card (IPEH- 003022) connect the cables of the additional front blind to the 10-pin ports J1 (CAN 3) and J2 (CAN 4).
  • Page 9 PCAN-cPCI – User Manual Install the PCAN-cPCI card in the appropriate 3U slot (cPCI connection J1). For details refer to the documentation of the CompactPCI system. Place the additional connection blind beside the inserted PCAN-cPCI card, if applicable. Reconnect the power supply of the computer. Do the following to complete the initialization: Turn on the computer and start Windows.
  • Page 10: Connecting The Can Bus

    You can find a detailed description in the following section 3.2. Tip: You can connect a CAN bus with a different transmission standard via a bus converter. PEAK-System offers different bus converter modules (e.g. PCAN-TJA1054 for a Low-speed CAN bus according to ISO 11898-3).
  • Page 11: Supplying External Devices Via The Can Connector

    PCAN-cPCI – User Manual 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 (independently for each connector) by setting solder bridges on the PCAN-cPCI card. Thus devices with low power consumption (e.g.
  • Page 12 PCAN-cPCI – User Manual Figure 3: Positions of the solder fields on the PCAN-cPCI card for a 5-Volt supply, JP1 to JP4 for CAN channels 1 to 4 5-Volt supply → None Pin 1 Pin 9 Pin 1 + Pin 9 JP1, JP2, JP3, JP4 Attention! Risk of short circuit! If the option described in this section is activated, you may only connect or disconnect CAN...
  • Page 13: Cabling

    PCAN-cPCI – User Manual Cabling 3.3.1 Termination A High-speed CAN bus (ISO 11898-2) must be terminated on both ends with 120 Ohms. Otherwise, there are interfering signal reflections and the transceivers of the connected CAN nodes (CAN- interface, control device) will not work. The PCAN-cPCI card does not have an internal termination.
  • Page 14: Maximum Bus Length

    PCAN-cPCI – 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: Bit rate Bus length 1 Mbit/s...
  • Page 15: Using The Software

    PCAN-cPCI – User Manual 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 16 PCAN-cPCI – 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 17: Receive/Transmit Tab

    PCAN-cPCI – 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 18 PCAN-cPCI – User Manual Figure 8: Dialog box Edit 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 19: Trace Tab

    PCAN-cPCI – 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 20: Status Bar

    PCAN-cPCI – 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 21: Linking Own Programs With 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 interfaces by PEAK-System and can be used for the following operating systems: Windows 8, 7, Vista (32/64-bit) Windows CE 6.x (x86/ARMv4)
  • Page 22: Features Of Pcan-Basic

    Use of up to 8 channels for each hardware unit (depending on the PEAK CAN interface used) Simple switching between channels of a PEAK CAN interface Driver-internal buffer for 32,768 messages per CAN channel Precision of time stamps on received messages up to 1 μs...
  • Page 23: Principle Description Of The Api

    PCAN-cPCI – 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 24: Notes About The License

    Notes about the License Device drivers, the interface DLL, and further files needed for linking are property of the PEAK-System Technik GmbH and may be used only in connection with a hardware component purchased from PEAK-System or one of its partners. If a CAN hardware component...
  • Page 25: Technical Specifications

    PCAN-cPCI – User Manual Technical Specifications Connectors Computer CompactPCI connector J1 (110 Pin, 32 Bits) D-Sub (m), 9 pins Pin assignment according to specification CiA® 102 Specification ISO 11898-2, High-speed CAN 2.0A (standard format) and 2.0B (extended format) Bit rates 5 kbit/s - 1 Mbit/s Controller NXP SJA1000...
  • Page 26 PCAN-cPCI – 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 EC directive 2004/108/EG...
  • Page 27: Appendix Ace Certificate

    PCAN-cPCI – User Manual Appendix A CE Certificate...
  • Page 28: Appendix B Dimension Drawings

    PCAN-cPCI – User Manual Appendix B Dimension Drawings Figure 12: Top view PCAN-cPCI card...
  • Page 29 PCAN-cPCI – User Manual Figure 13: View of the front blind The figures don't show the actual size of the product.
  • Page 30: Appendix C Quick Reference

    PCAN-cPCI – User Manual Appendix C Quick Reference Software/Hardware Installation under Windows Before installing the PCAN-cPCI card into the computer please set up the corresponding software package from the supplied DVD (with administrator privileges). Afterwards, insert the PCAN-cPCI card into an empty CompactPCI slot of the switched off computer. The PCAN-cPCI card is recognized by Windows and the driver is initialized.

Table of Contents