CAN PCAN-PCI User Manual

Manual is about: CAN Interface for PCI

Summary of PCAN-PCI

  • Page 1

    Pcan-pci can interface for pci user manual document version 2.3.1 (2014-04-29).

  • Page 2

    Pcan-pci – user manual 2 products taken into account product name model part number pcan-pci single channel one can channel ipeh-002064 pcan-pci dual channel two can channels ipeh-002065 pcan-pci single channel opto-decoupled one can channel, galvanic isolation for can connection ipeh-002066 pcan-pc...

  • Page 3

    Pcan-pci – user manual 3 contents 1 introduction 4 1.1 properties at a glance 4 1.2 system requirements 5 1.3 scope of supply 5 2 installing the software and the card 6 3 connecting the can bus 9 3.1 d-sub connector 9 3.2 supplying external devices via the can connector 10 3.3 cabling 12 3.3.1 termi...

  • Page 4

    Pcan-pci – user manual 4 1 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 op...

  • Page 5

    Pcan-pci – user manual 5 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 devel...

  • Page 6

    Pcan-pci – user manual 6 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. Do the following to install the driver: 1. Make sure that...

  • Page 7

    Pcan-pci – user manual 7 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...

  • Page 8

    Pcan-pci – user manual 8 do the following to complete the initialization: 1. Turn on the computer and start windows. Make sure that you are logged in as user with administrator privileges. Windows notifies that new hardware has been detected. 2. The drivers are found and installed by windows. 3. Aft...

  • Page 9

    Pcan-pci – user manual 9 3 connecting the can bus 3.1 d-sub connector a high-speed can bus (iso 11898-2) is connected to the 9-pin d-sub connector. The pin assignment for can corresponds to the specification cia® 102. Figure 2: pin assignment of high-speed can connection (view onto a male connector ...

  • Page 10

    Pcan-pci – user manual 10 3.2 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). Thus devices with low po...

  • Page 11

    Pcan-pci – user manual 11 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 di...

  • Page 12

    Pcan-pci – user manual 12 3.3 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-pci c...

  • Page 13

    Pcan-pci – user manual 13 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 40 m 500 kbit/...

  • Page 14

    Pcan-pci – user manual 14 4 using the software this chapter covers the provided software pcan-view and the programming interface pcan-basic. 4.1 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 fo...

  • Page 15

    Pcan-pci – user manual 15 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 2. From...

  • Page 16

    Pcan-pci – user manual 16 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. Do the following to ...

  • Page 17

    Pcan-pci – user manual 17 figure 8: dialog box new transmit message 2. Enter the id and the data for the new can message. 3. 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 t...

  • Page 18

    Pcan-pci – user manual 18 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. The tracer can be c...

  • Page 19

    Pcan-pci – user manual 19 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...

  • Page 20

    Pcan-pci – user manual 20 4.2 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 interfaces by peak-system and can...

  • Page 21

    Pcan-pci – user manual 21 4.2.1 features of pcan-basic supports windows 8, 7, vista (32/64-bit), windows ce 6.X, and 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 hardw...

  • Page 22

    Pcan-pci – user manual 22 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. Initial...

  • Page 23

    Pcan-pci – user manual 23 completion to end the communication the function can_uninitialize is called in 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 de...

  • Page 24

    Pcan-pci – user manual 24 5 technical specifications connectors computer pci bus (rev. 2.2), pc98, 32-bit bus width, for 3.3 v and 5 v systems can d-sub (m), 9 pins pin assignment according to specification cia® 102 can specification iso 11898-2, high-speed can 2.0a (standard format) and 2.0b (exten...

  • Page 25

    Pcan-pci – user manual 25 environment operating temperature -40 - 85 °c (-40 - 185 °f) temperature for storage and transport -40 - 125 °c (-40 - 257 °f) relative humidity 15 - 90 %, not condensing emc en 55024:2011-09 en 55022:2011-12 ec directive 2004/108/eg.

  • Page 26

    Pcan-pci – user manual 26 appendix a ce certificate.

  • Page 27

    Pcan-pci – user manual 27 appendix b dimension drawing figure 12: dimension drawing pcan-pci the figure doesn’t show the actual size of the product..

  • Page 28

    Pcan-pci – user manual 28 appendix c quick reference software/hardware installation under windows before installing the pcan-pci card into the computer set up the corresponding software package from the supplied dvd (with administrator privileges). Afterwards, insert the pcan-pci card into a vacant ...