Peak PCAN-PCI User manual

PCAN-PCI
User Manual
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH

Relevant Products
Product name Model Part number
PCAN-PCI Single Channel 1 CAN channel IPEH-002064
PCAN-PCI DualChannel 2 CAN channels IPEH-002065
PCAN-PCI Single Channel
opto-decoupled
1 CAN channel,
galvanic isolation for CAN connection
IPEH-002066
PCAN-PCI DualChannel
opto-decoupled
2 CAN channels,
galvanic isolation for CAN connection
IPEH-002067
The cover picture shows the product PCAN-PCI DualChannel opto-decoupled. Other product versions
have an identical form factor but vary in equipment.
Imprint
PCAN is a registered trademark of PEAK-System Technik GmbH. CiA® is a registered community trade
mark of CAN in Automation e.V.
All other product names in this document may be the trademarks or registered trademarks of their
respective companies. They are not explicitly marked by ™ or ®.
© 2023 PEAK-System Technik GmbH
Duplication (copying, printing, or other forms) and the electronic distribution of this document is only
allowed with explicit permission of PEAK-System Technik GmbH. PEAK-System Technik GmbH reserves
the right to change technical data without prior announcement. The general business conditions and
the regulations of the license agreement apply. All rights are reserved.
PEAK-System Technik GmbH
Otto-Röhm-Straße 69
64293 Darmstadt
Germany
Phone: +49 6151 8173-20
Fax: +49 6151 8173-29
www.peak-system.com
Document version 3.1.0 (2023-08-30)
Relevant Products PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
2

Contents
Imprint 2
Relevant Products 2
Contents 3
1 Introduction 5
1.1 Properties at a Glance 6
1.2 System Requirements 7
1.3 Scope of Supply 7
2 Setting 8
2.1 Voltage Supply of External Devices 8
3 Installation 10
3.1 Install Device Driver Setup 10
3.2 Installing the PCAN-PCI card 11
3.3 Check Operational Readiness 11
4 Connecting the CAN Bus 12
4.1 Connection over D-Sub connector 12
4.2 Cabling 13
4.3 Example Application under Windows 14
5 CAN Monitor PCAN-View 15
5.1 Initialize CAN-Interface 16
5.2 Transmit CAN message 18
5.3 Additional Tabs 19
6 API PCAN-Basic 24
6.1 Features of PCAN-Basic 25
6.2 Principle Description of the API 26
Contents PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
3

1 Introduction
The plug-in card PCAN-PCI enables the connection of a PC with PCI slots to
CANnetworks. The card is available as a single or dual channel version. The
opto-decoupled versions also guarantee galvanic isolation of up to 500 V
betweenthe PC and the CAN sides.
The monitor software PCAN-View and the programming interface PCAN-Basic for
the development of applications with CAN connection are included in the scope of
supply.
Device drivers exist for different operating systems, so programs can easily access a
connected CAN bus.
This manual describes the use of the CAN interface with Windows.
Device drivers and application information for Linux:
www.peak-system.com/quick/DL-Driver-E
At the end of this manual you can find a Quick Reference with brief
information about the installation and operation of the CAN interface.
1 Introduction PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
5

1.1 Properties at a Glance
■PC plug-in card for PCI slots
■1 or 2 High-speed CAN channels (ISO 11898-2)
■Bit rates from 5 kbit/s up to 1 Mbit/s
■Compliant with CAN specifications 2.0A (11-bit ID) and 2.0B (29-bit ID)
■CAN bus connection via D-Sub, 9-pin (in accordance with CiA®106)
■NXP SJA1000 CAN controller, 16 MHz clock frequency
■NXP PCA82C251 CAN transceiver
■5-Volt supply to the CAN connection can be connected through a solder jumper,
e.g. for external bus converter
■Galvanic isolation on the CAN connection up to 500 V, separate for each
CANchannel (only for IPEH-002066 and IPEH-002067)
■Extended operating temperature range from -40 to +85 °C (-40 to +185 °F)
1 Introduction PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
6

1.2 System Requirements
Computer with
■operating system Windows11 (x64), 10 (x64), or Linux
■a vacant PCI slot
1.3 Scope of Supply
■Plug-in card PCAN-PCI
Downloads
■Device drivers for Windows11 (x64), 10 (x64), and Linux
■CAN monitor PCAN-View for Windows
■Programming interface PCAN-Basic for developing applications with CAN
connection
■Programming interfaces for standardized protocols from the automotive sector
■Manual in PDF format
1 Introduction PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
7

2 Setting
The following describes the setting for the power supply of external devices. If you
do not need this setting, skip this chapter.
2.1 Voltage Supply of External Devices
Optionally, an external power supply can be connected separately for each CAN
channel via solder bridges at pin 1 and/or pin 9 on the D-Sub connector. This
allows external devices to be supplied with a voltage of 5 V DC, such as the PCAN-
TJA1054 bus converter for Low-speed CAN. Pin 1 and pin 9 are not connected at
delivery.
The opto-decoupled versions of the card contain an interconnected DC/DC
converter. Therefore, the current output is limited to about 50 mA.
2.1.1 Activate Voltage Supply
Risk of short circuit! Soldering on the CAN interface may only be
performed by qualified electrical engineering personnel.
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
Set the solder bridge(s) corresponding to the desired settings.
The following figure shows the solder field positions on the quad channel card. The
table below contains the possible settings.
2 Setting PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
8

Position of the solder fields on the card for a 5 V supply
D-Sub
connector
Solder
field
5 V supply
Without
(default)
Pin 1 Pin 9 Pin 1 and
Pin 9
CAN 1 LJ21
CAN 2 LJ22
Attention! The voltage supply for external devices is not protected
separately. Therefore, turn off the computer before you connect and
disconnect CAN cables or peripheral systems.
2 Setting PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
9

3 Installation
This chapter covers the software setup for the PCAN-PCI card in Windows and the
installation of the card in the computer.
Note: For installation on Linux, see Appendix E Linux.
Install the driver before you install the CAN interface.
3.1 Install Device Driver Setup
1. Download the device driver setup from our website:
www.peak-system.com/quick/DL-Driver-E
2. Unpack the file PEAK-System_Driver-Setup.zip
3. Double-click the file PeakOemDrv.exe
The driver setup starts.
4. Follow the program instructions.
3 Installation PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
10

3.2 Installing the PCAN-PCI card
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
1. Shut down the computer.
2. Disconnect the computer’s power supply.
3. Open the computer case.
4. Insert the plug-in card into an available PCI Express slot and attach it to the slot.
5. Close the computer case.
6. Reconnect the computer power supply.
7. Turn on the computer and start Windows.
Windows detects the new hardware and completes the driver installation.
3.3 Check Operational Readiness
1. Open the Windows Start menu.
2. Type Peak Settings and press |Enter|.
The window PEAK Settings appears.
3. Select CAN Hardware.
The connected CAN interface is displayed.
3 Installation PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
11

4 Connecting the CAN Bus
4.1 Connection over D-Sub connector
After installation of the CAN interface a CAN bus can be connected to the D-Sub
connector. The pin assignment of the D-Sub connector corresponds to the
specification CiA® 106:
Pin Assignment D-Sub plug
1 +5 V (optional)
2 CAN_Low
3 CAN_GND
4 None
5 None
6 CAN_GND
7 CAN_High
8 None
9 +5 V (optional)
4 Connecting the CAN Bus PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
12

4.2 Cabling
4.2.1 Termination
The High-speed CAN bus (ISO 11898-2) must be terminated with 120 Ω on both
ends. The termination prevents interfering signal reflections and ensures the
proper operation of the transceivers of the connected CAN nodes (CAN interfaces,
controldevices).
The CAN interface PCAN-PCI does not have an internal termination. Use the CAN
interface on a terminated CAN bus.
4.2.2 Example of a Connection
This example shows a connection between the PCAN Interface and a control unit
(ECU). The upper example shows a connection with a cable which is terminated
with 120 Ω at both ends. At the lower example the connection is made with
termination adapters.
4 Connecting the CAN Bus PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
13

4.2.3 Maximum Bus Length
The maximum bus length depends primarily on the bit rate:
Nominal bit rate Buslength
1 Mbit/s 40 m
500 kbit/s 110 m
250 kbit/s 240 m
125 kbit/s 500 m
50 kbit/s 1.3 km
20 kbit/s 3.3 km
10 kbit/s 6.6 km
5 kbit/s 13 km
The listed values have been calculated on the basis of an idealized system and can
differ from reality.
4.3 Example Application under Windows
As an example application for accessing the CAN interface, run the CAN monitor
PCAN-View from the Windows Start menu.
4 Connecting the CAN Bus PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
14

5 CAN Monitor PCAN-View
The CAN monitor PCAN-View is a Windows software for viewing, sending, and
recording CAN and CAN FD messages. The software is installed with the installation
of the device driver package under Windows.
In the following the initialization of a CAN interface is described as an example.
Detailed information about using PCAN-View can be found in the program window
under the menu item Help.
5 CAN Monitor PCAN-View PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
15

5.1 Initialize CAN-Interface
1. Open the program PCAN-View via the Windows Start menu.
Depending on the CAN-Interface the Connect dialog is displayed with or without
settings for CAN FD.
CAN CAN FD
CAN interface List entry in Available Hardware
USB Interface, 1-channel see example above
USB Interface, 2-channel
PCIe Interface, 2-channel
5 CAN Monitor PCAN-View PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
16

2. If there are several CAN-Interfaces, select the desired interface. For multiple
channels, select the desired channel from the list.
3. Enter the bit rate(s) and other settings according to the connected CAN bus.
4. Confirm the entries with OK. The main window appears and displays the
Receive/Transmittab.
5. For initializing another channel or CAN-Interface, open another instance of
PCAN-View.
5 CAN Monitor PCAN-View PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
17

5.2 Transmit CAN message
1. Select the menu command Transmit / New Message.
Depending on the CAN-Interface, the dialog box New Transmit Message is
displayed with or without settings for CAN FD.
CAN CAN FD
1. Enter the ID,Length and Data of the message. Other settings can be made
according to the connected CAN bus.
2. Enter a value into the Cycle Time field to choose manually or periodically
message transmission.
To transmit periodically enter a value greater than 0.
To transmit only manually enter the value 0.
3. Confirm the entries with OK.
The created transmit message appears on the Receive / Transmit tab.
4. To send the message manually, select the menu command Transmit > Send or
press the |space|bar.
The manual transmission process is performed additionally for periodically
transmitted CAN messages.
5 CAN Monitor PCAN-View PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
18

5.3 Additional Tabs
Depending on the CAN interface, additional tabs are available.
5.3.1 Trace Tab
The tracer (data logger) records the communication of the CAN bus in linear or
ringbuffer mode. The trace data can be saved to a file.
5 CAN Monitor PCAN-View PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
19

5.3.2 CAN Interface Tab
The CAN interface tab shows information about the hardware and the used
Windows device driver. In this case exemplary for the PCAN-miniPCIe FD.
Depending on the CAN interface, a hardware ID can be determined to distinguish
several interfaces of the same type. For interfaces with CAN FD a transmission
according to "ISO" or "Non-ISO" can be set as default of the hardware.
5 CAN Monitor PCAN-View PCAN-PCI
User Manual 3.1.0 © 2023 PEAK-System Technik GmbH
20
Other manuals for PCAN-PCI
4
This manual suits for next models
4
Table of contents
Other Peak Network Hardware manuals
Popular Network Hardware manuals by other brands

Cisco
Cisco ASR 901S Series Troubleshooting

D-Link
D-Link mydlink DNR-312L Quick installation guide

Untangle
Untangle u150 Setup guide

Rockwell Automation
Rockwell Automation Allen-Bradley ControlLogix EtherNet/IP user manual

Honeywell
Honeywell HN350401 Series Quick installation guide

FreeWave
FreeWave FGRIO-M user manual