Peak PCAN-USB X6 User manual

PCAN-USBX6
User Manual
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH

Relevant Products
Product name Model Attribute Part number
PCAN-USBX6
with D-Sub connectors Red corners IPEH-004062
PCAN-USBX6
with D-Sub connectors
galvanic isolation for CAN
connection Gray corners IPEH-004064
PCAN-USBX6
with M12 connectors
galvanic isolation for CAN
connection Gray corners IPEH-004063
The cover picture shows the products PCAN-USBX6 with M12 connectors (left) and with D-Sub connectors
(right).
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 ®.
© 2022 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 2.0.0 (2022-02-17)
Relevant Products PCAN-USBX6
User Manual 2.0.0 © 2022 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 Connectors 8
2.1 PCAN-USBX6 with D-Sub Connectors 8
2.2 PCAN-USBX6 with M12 Connectors 10
2.3 Internal Termination 12
2.4 Cabling 15
3 Installation 17
3.1 Install Device Driver Setup 17
3.2 Prepare Power Supply 17
3.3 Connect the PCAN-USBX6 17
3.4 Connect the CAN-Bus 18
3.5 Example Application under Windows 18
4 Operation 19
4.1 Status LEDs 19
4.2 Unplugging the USB Connection 20
4.3 Distinguishing Several PCAN-USB X6 20
5 CAN Monitor PCAN-View 21
5.1 CAN interface initialize 22
5.2 Transmit CAN message 24
5.3 Additional Tabs 25
6 API PCAN-Basic 30
6.1 Features of PCAN-Basic 31
6.2 Principle Description of the API 32
7 Technical Data 33
Appendix A CE Certificate 35
Appendix B Dimension Drawings 36
PCAN-USBX6 with D-Sub Connectors 36
Contents PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
3

1 Introduction
CAN interface PCAN-USBX6 for the USB port which allows the connection of up to six
CAN FD or CAN buses. The device is therefore best suited for working with multiple
CAN networks like the use in test benches with hardware-in-the-loop (HIL)
simulations for motor vehicles or in the product line testing of CAN-based products.
The CAN interface is installed in an aluminum profile casing and is shipped in
versions with D-Sub connectors or M12 circular connectors. Especially the M12
version is suitable for use in harsh environments.
IPEH-004063/-64: Galvanic isolation up to 300 volts for each CAN channel protects
against the transmission of electrical interference peaks between the CAN channels
and the computer.
The CAN FD standard (CAN with Flexible Data rate) is primarily characterized by
higher bandwidth for data transfer. The maximum of 64 data bytes per CAN FD frame
(instead of 8 so far) can be transmitted with bit rates up to 12 Mbit/s. CAN FD is
downward compatible to the CAN 2.0 standard, CAN FD nodes can be inserted into
already existing CAN networks without CAN FD extensions.
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 and support CAN FD.
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-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
5

1.1 Properties at a Glance
■CAN interface for High-speed USB 2.0 (compatible to USB 1.1 and USB 3.0)
■6 High-Speed CAN channels (ISO 11898-2)
■Complies with CAN specifications ISO 11898-1 for CAN and CAN FD
■CAN FD support for ISO and Non-ISO standards switchable
■CAN FD bit rates for the data field (64 bytes max.) from 25 kbit/s up to
12Mbit/s
■CAN nominal bit rates from 25 kbit/s up to 1 Mbit/s
■FPGA implementation of the CAN FD controller
■NXP TJA1044GT CAN transceiver
■Alternative pluggable transceiver modules on request
■Galvanic isolation up to 300 V per CAN connection
(only for IPEH-004063 and IPEH-004064)
■Time stamp resolution 1 μs
■Status LEDs for CAN channels, USB upstream, and power supply
■CAN connection via D-Sub, 9-pin or M12 circular connectors, 5-pin
(pin assignment of both connectors in accordance with CiA® 303-1)
■Aluminum casing with increased Ingress Protection IP64 (only for IPEH-004063)
■High-speed USB 2.0 downstream port (only for IPEH-004062 and IPEH-004064)
■CAN termination can be activated through a solder jumper, separately for each
CAN channel
■Measurement of bus load including error frames and overload frames on the
physical bus
■Induced error generation for incoming and outgoing CAN messages
■Power supply from 8 to 30 V
■Extended operating temperature range from -40 to 85 °C (-40 to 185 °F)
1 Introduction PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
6

1.2 System Requirements
■Voltage supply in the range of 8 to 30 V DC
Computer with:
■Operating system Windows 11, 10 (32/64-bit) or Linux (32/64-Bit)
■A vacant USB port (USB 1.1, USB 2.0 or USB 3.0) or a self-powered USB hub
Malfunction! Do not use a USB extension cable to connect the
CANinterface to the computer. Extension cables does not comply with
the USB specification.
1.3 Scope of Supply
■CAN interface PCAN-USBX6 in aluminum casing
■IPEH-004062 and IPEH-004064: Mating connector for power supply
■IPEH-004063: Cables for power supply and USB connection
Note: The scope of supply does not contain a power supply unit for the
device. There is no supply via the USB connection to the PC.
Downloads
■Device drivers for Windows 11, 10 (32/64-bit) and Linux (32/64-bit)
■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
1 Introduction PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
7

2 Connectors
Read the corresponding chapter on the connections of your PCAN-USBX6.
2.1 PCAN-USBX6 with D-Sub Connectors
2.1.1 Power Supply over Mating Connector
The power supply is possible in a range from 8 to 30 V DC. The "Power" input is
electronically protected with reverse polarity and overvoltage protection. The power
supply is connected via the supplied mating connector.
Power supply Mating connector Polarity
V+ 1
GND 2
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
8

2.1.2 CAN Connection
The pin assignment for CAN corresponds to the specification CiA® 303-1:
D-Subconnector, Type: DE9 Assignment
CAN_GND 3, 6
CAN_High 7
CAN_Low 2
ohne 1, 4, 5, 8, 9
2.1.3 USB Upstream
For connecting the PCAN-USBX6 to a computer.
2.1.4 USB Downstream
For general use of USB devices. The USB Downstream port is passed through to the
computer and is used to connect another USB device to the computer.
Malfunction! Connecting another CAN interface to the USB downstream
port is not as intended.
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
9

2.2 PCAN-USBX6 with M12 Connectors
2.2.1 Power Supply
The power supply via the female panel connector is possible in a range from 8 to
30VDC. The "Power" input is electronically protected with reverse polarity and
overvoltage protection.
The power supply is connected via the supplied power cable:
The pin assignment is as follows:
M12 female panel connector
„Power“
M12 male cable connector on
power cable
Assignment
V+ 1
none 2
GND 3
none 4
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
10

2.2.2 CAN Connection
The pin assignment of the six M12 male panel connectors corresponds to the
specification CiA®303-1:
M12 male panel connectors
(CAN connectors 1 to 6)
M12 female cable connector
on CAN bus
Assignment
Shield 1
none 2
CAN_GND 3
CAN_High 4
CAN_Low 5
Maximum Diameter of M12 Female Cable Connector
The distance between the M12 male panel connector is 19 mm. Therefore, the
maximum outer diameter of the M12 female cable connector is limited to 18 mm for
a proper connection.
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
11

Recommendations for Suitable M12 Female Cable Connectors
The M12 male panel connector for CAN on PCAN-USBX6 are from the manufacturer
Phoenix, type "Speedcon". With the associated M12 female cable connector, the
connection is made with a quick-release fastener. Cable connectors of other types
are screwed on. Among others, the following assembled M12 female cable
connectors with free cable end are suitable:
Manufacturer Series Type Example Order Number
Phoenix SAC-5P FS-SCO SAC-5P- 5,0-920/FS SCO 1518229
Phoenix SAC-5P M12FS SAC-5P- 5,0-920/M12FS 1507489
Binder 763 unshielded M12-A female cable connector,
Contacts: 5
77 3430 0000
20005-0500
Binder 763 shielded M12-A female cable connector,
Contacts: 5
77 3530 0000
50705-0500
2.2.3 USB Upstream
The connection of the PCAN-USBX6 to the computer is done via the supplied USB
cable:
2.3 Internal Termination
For each CAN channel a termination can be activated via solder bridges on the board.
This switches a resistor of 120 Ω between CAN_High and CAN_Low. The conversion is
done for an additional improvement of the CAN signal as split termination.
Tipp: We recommend to do termination at the CAN cabling, for example
with the terminating resistors PCAN-Term (IPEK-003002) or
PCAN-MiniTerm (IPEK-003002-Mini). Thus, CAN nodes can be flexibly
connected to the bus.
Further notes on termination with terminating resistors can be found in chapter 2.4
Cabling.
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
12

2.3.1 Activate Internal Termination
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.
1. Loosen the four Torx screws of the front panel of the case.
2. Remove the front panel including the mainboard .
3. Remove the transceiver module(s) to reach the desired solder field(s). Loosen the
screw and pull off the transceiver module.
The following figure shows the position of the transceiver modules and the solder
fields.
4. Set the solder bridge(s) according to the desired settings.
The following table contains the possible settings.
5. Plug on the transceiver modules and fix each transceiver with the corresponding
screw.
6. Insert the board including the mainboard carefully back into the case.
PCAN-USBX6 with M12 connectors: Make sure that the seal is correctly seated.
7. Fasten the front panel with the four Torx screws.
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
13

Top view on the solder fields (red) and
transceiver modules (dark grey) of the
mainboard
Solder fields:
CAN1: JP1, JP2
CAN2: JP3, JP4
CAN3: JP5, JP6
CAN4: JP7, JP8
CAN5: JP9, JP10
CAN6: JP11, JP12
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
14

D-Sub/M12
connectors
Solder fields Internal termination
Without (standard) Aktive
CAN 1 JP1 und JP2
CAN 2 JP3 und JP4
CAN 3 JP5 und JP6
CAN 4 JP7 und JP8
CAN 5 JP9 und JP10
CAN 6 JP11 und JP12
2.4 Cabling
2.4.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).
2.4.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
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
15

120 Ω at both ends. At the lower example the connection is made with termination
adapters.
2.4.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
25 kbit/s 2.5 km
The listed values have been calculated on the basis of an idealized system and can
differ from reality.
2 Connectors PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
16

3 Installation
This chapter covers the software setup for the CAN interface PCAN-USBX6 under
Windows and its connection to the computer.
Note: For installation on Linux, see Appendix D Linux.
Install the driver before you connect 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.2 Prepare Power Supply
Select a power supply with a nominal voltage between 8 and 30 V DC.
PCAN-USBX6 with D-Sub Connectors
Connect the supplied mating connector to the power supply cable.
PCAN-USBX6 with M12 Connectors
Connect the supplied power cable to the power supply.
3.3 Connect the PCAN-USBX6
1. Connect the power supply to the PCAN-USBX6.
2. Connect the PCAN-USBX6 to a USB port on the computer or to a USB hub.
Windows detects the new hardware and completes the driver installation.
3 Installation PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
17

3. Check the LEDs of the CAN channels on the PCAN-USBX6.
If the LEDs are green, then the driver was initialized successfully.
Malfunction! Do not use a USB extension cable to connect the
CANinterface to the computer. Extension cables does not comply with
the USB specification.
3.4 Connect the CAN-Bus
Connect a CAN bus to each of one or more CAN ports.
3.5 Example Application under Windows
As an example application for accessing the CAN interface, run the CAN monitor
PCAN-View from the Windows Start menu.
3 Installation PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
18

4 Operation
4.1 Status LEDs
CAN channels
The status LEDs of the six CAN channels can assume the following states:
Status Meaning
Green on There's a connection to a driver of the operating system.
Green slow blinking A software application is connected to the CAN channel.
Green quick blinking Data is transmitted via the connected CAN bus.
Red blinking An error is occurring during the transmission of CAN data.
Orange quick blinking Identification of a channel by the PCAN-View software.
USB Upstream
The status LED of the USB upstream is only lit, when it is connected to a
USB 2.0 port or higher.
The status LEDs of the USBupstream can assume the following states:
Status Meaning
Green on A power supply and a connection via the USB upstream exist. The device
is ready for use.
Orange on There is only a connection via the USB upstream. The device is not ready
for use.
power Supply
The status LED of the power supply can assume the following states:
Status Meaning
Green on A power supply is connected.
4 Operation PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
19

4.2 Unplugging the USB Connection
On Windows, the icon for removing hardware safely is not used with the
PCAN-USBX6. You can unplug the PCAN-USBX6 from the computer without any
preparation.
4.3 Distinguishing Several PCAN-USB X6
You can operate several PCAN-USBX6 on a single computer at the same time. The
supplied program PCAN-View allows the assignment of device IDs in order to
distinguish the several CAN interfaces in a software environment.
4 Operation PCAN-USBX6
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
20
Table of contents
Other Peak Adapter manuals

Peak
Peak PCAN-Optoadapter User manual

Peak
Peak PCAN-Optoadapter User manual

Peak
Peak PCAN-USB FD User manual

Peak
Peak PCAN-Optoadapter User manual

Peak
Peak PCAN-DONGLE IPEH-002015 User manual

Peak
Peak PLIN-USB User manual

Peak
Peak PCAN-USB Hub User manual

Peak
Peak PCAN-AU5790 User manual

Peak
Peak PCAN-USB Pro FD User manual

Peak
Peak PCIe-miniPCIe User manual