Peak PCAN-Router Pro User manual

PCAN-Router Pro
4-Channel CAN Router with Data Logger
User Manual
Document version 2.6.0 (2021-03-03)

PCAN-Router Pro – User Manual
2
Relevant Products
Product Name Part Number Model Firmware Version
PCAN-Router Pro IPEH-002212 from SN 100 from 1.15.x
PCAN® is a registered trademark of PEAK-System Technik GmbH. CANopen®,
CANopen FD®, and CiA® are registered EU trademarks of CAN in Automation e.V.
Other product names in this document may be the trademarks or registered trade-
marks of their respective companies. They are not explicitly marked by ™ or ®.
© 2021 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-Roehm-Strasse 69
64293 Darmstadt
Germany
Phone: +49 6151 8173-20
Fax: +49 6151 8173-29
www.peak-system.com
info@peak-system.com
Document version 2.6.0 (2021-03-03)

PCAN-Router Pro – User Manual
3
Contents
1Introduction 5
1.1 Properties at a Glance 6
1.2 Operation Requirements 7
1.3 Scope of Supply 8
2Connectors 9
2.1 Power Supply 9
2.2 CAN 1 to CAN 4, D-Sub 9-pin 10
2.3 CompactFlash Card 11
3Hardware Adjustments 12
3.1 Alternative CAN Transceiver Modules 13
3.2 Termination of the CAN Buses 16
3.3 Setting the Router ID for other
Configurations 18
3.4 Voltage Supply of External Devices 20
3.5 Power Supply via D-Sub Connector 22
3.6 Replacing the Button Cell for the Real-time
Clock (RTC) 24
4Installing Configuration Software 26
5Operation 28
5.1 Turning On the PCAN-Router Pro 28
5.2 Default Bit Rates of the CAN Channels 28
5.3 Shipping Configuration 29
5.3.1 Structure of the Status Messages 30
5.4 Setting the Real-Time Clock 32
5.5 Status LEDs 35
5.6 Power-down Mode 36

PCAN-Router Pro – User Manual
4
5.7 Wake-up 36
5.7.1 Wake-Up with Supply Voltage 36
5.7.2 Wake-up via CAN 37
5.7.3 Wake-Up Externally by High Level 37
5.7.4 Wake-Up by Real-Time Clock (RTC) 38
6Logging CAN Traffic onto a CompactFlash Card 39
6.1 Preparing a CompactFlash Card 39
6.2 Preparing a Configuration for Recording 41
6.3 Using the Recorded CAN Traffic 43
7Creating Own Firmware 45
7.1 Library 47
8Firmware Upload 48
8.1 System Requirements 48
8.2 Prepare Hardware 49
8.3 Firmware Transfer 51
9Technical Specifications 55
Appendix A CE Certificate 59
Appendix B Dimension Drawing 60
Appendix C Contents of a CompactFlash Card 61
Appendix D Disposal Information (Battery) 62
Appendix E Router Resources 63

PCAN-Router Pro – User Manual
5
1Introduction
The PCAN-Router Pro allows to join the data traffic from four High-
speed CAN buses. The behavior of the router is configured via the
CAN bus with the provided Windows program PPCAN-Editor 2. As
well as pure forwarding, the CAN data can be processed,
manipulated, and for example, filtered in a number of different
ways. There are a variety of function blocks and other settings
available to the user for configuration setup. Furthermore, there is a
virtual fifth CAN channel which is used for recording all data traffic
to a CompactFlash card.
As an alternative to the standard firmware which the PCAN-Router
Pro is equipped with at delivery, custom firmware based on the
ARM microcontroller NXP LPC2294 can be created and
implemented. The firmware is created using the included
development package with GNU compiler for C and C++ and is then
transferred to the module via CAN. Various programming examples
facilitate the implementation of own solutions.
CAN transceiver modules in the PCAN-Router Pro allow a flexible
adaptation of each CAN channel to the requirements. For example,
Low-speed and Single-wire CAN transceivers are also available on
request.
The documentation for the PCAN-Router Pro has multiple parts:
PCAN-Router Pro - User Manual (this document):
Explains hardware adjustments, the operation of the device, and
the hardware-specific settings in the PPCAN-Editor 2 (Appendix
E on page 63).
PPCAN-Editor 2 - Documentation (program help):
The help of the configuration program PPCAN-Editor 2 for
Windows, accessible via the Help menu or via F1.

PCAN-Router Pro – User Manual
6
PPCAN-Editor 2 Tutorial - Learning by doing based on many
examples, which you can find in the PCAN-Router Pro package
in the directory Tutorial.
PPCAN-Editor 2 - References (PDF file):
Explains the function blocks and the mathematical functions that
are implemented in PPCAN-enabled devices (like the PCAN-
Router Pro).
1.1 Properties at a Glance
4 High-speed CAN channels (ISO 11898-2)
•Complies with CAN specifications 2.0 A/B
•CAN bit rates from 40 kbit/s up to 1 Mbit/s
•NXP TJA1041 CAN transceiver with wake-up
•Alternative pluggable transceiver modules on request
CAN connections are D-Sub, 9-pin
CAN termination switchable, separately for each CAN channel
Wake-up function using separate input, CAN bus, or real-time
clock
CompactFlash card slot
Battery-buffered real-time clock (RTC), can also be used for
wake-up
Beeper
Status LEDs for CAN channels, CompactFlash card,
microcontroller, and power supply
NXP microcontroller LPC2294
Aluminum casing with flange. DIN rail fixing option available on
request

PCAN-Router Pro – User Manual
7
8 - 27 V power supply, protection against overvoltage and
reverse polarity
Extended operating temperature range from -40 to 85 °C (-40 to
185 °F)
Properties of the standard firmware:
Detailed configuration with the software PPCAN-Editor 2 for
Windows
Various function blocks for data processing and manipulation
Configurable beeper
Configurable CAN channel status LEDs
Recording of CAN data and error frames to a CompactFlash card
Conversion of logging data to various output formats using the
Windows software PEAK-Converter
1.2 Operation Requirements
Voltage supply 8 – 27 V DC (e.g. car battery)
For configuring via CAN (standard firmware):
•Computer with CAN interface of the PCAN series
(e.g. PCAN-USB)
•CAN cabling with correct termination
•Windows 10 or 8.1 (32/64-bit) for the configuration
program
For converting logged CAN data:
•Computer with card reader for CompactFlash cards
•Windows 10 or 8.1 (32/64-bit) for the conversion program

PCAN-Router Pro – User Manual
8
•Sufficient space for data on the hard disk (up to 5 times of
the initial file size from the CompactFlash card, e.g.
1 GByte + 4 GByte)
1.3 Scope of Supply
PCAN-Router Pro in aluminum casing
Mating connector for power supply1
Configuration software PPCAN-Editor 2 for Windows
Conversion software PEAK-Converter for Windows
Industrial CompactFlash card (min. 1 GByte)
Windows development package with GCC ARM Embedded,
flash program, and programming
Library with programming examples
Manual in PDF format
12-pole, pitch 3.81 mm, mating connector Phoenix Contact MC1.5/2-STF-3.81

PCAN-Router Pro – User Manual
9
2Connectors
2.1 Power Supply
The operation of the PCAN-Router Pro requires a voltage source
with a nominal 12 V direct current voltage, 8 to 27 V are possible.
The input is electronically protected against reverse polarity and
overvoltage.
Note: The scope of delivery does not include a power supply
unit for the power supply of the device.
The connection is done with the supplied mating connector
(Phoenix Contact MC1.5/2-STF-3.81) for fastening cable strands. The
polarity is as follows:
Note: After applying the supply voltage, the PCAN-Router Pro
needs a wake-up signal in order to start operation. Having
customized equipment, if there is no CAN transceiver module
with wake-up function, the PCAN-Router Pro must be switched
on with an external wake-up signal (see section 5.7.3 on page
37).

PCAN-Router Pro – User Manual
10
2.2 CAN 1 to CAN 4, D-Sub 9-pin
A CAN bus is connected to a 9-pin D-Sub port.
Pin assignment of the ports CAN 1 and CAN 2
Pin assignment of the ports CAN 3 and CAN 4
The assignment of the CAN pins relies upon the used CAN
transceiver module:
Transceiver Module Transmission
Standard
Special Function Used CAN
Lines
PCAN-Transceiver
TJA1041 (default)
High-speed CAN
ISO 11898-2
Wake-up via CAN CAN_L, CAN_H
PCAN-Transceiver
PCA82C251
High-speed CAN
ISO 11898-2
none CAN_L, CAN_H
PCAN-Transceiver
MAX3057-ISO
High-speed CAN
ISO 11898-2
Galvanic isolation of
the CAN connection
up to 300 V
CAN_L, CAN_H
PCAN-Transceiver
TH8056
Single-wire CAN
SAE J2411
Wake-up via CAN CAN_SW
PCAN-Transceiver
TJA1055
Low-speed CAN
ISO 11898-3
Wake-up via CAN CAN_L, CAN_H

PCAN-Router Pro – User Manual
11
The D-Sub connectors have pins with additional functions:
Connectors Pin Function
CAN 1, CAN 2,
CAN 3, CAN 4
1 5-Volt supply for external devices (to be
activated on the circuit board)
CAN 3, CAN 4 4 Input for external wake-up signal
CAN 3, CAN 4 9 Supply of the router via a D-Sub
connector (to be activated on the circuit
board)
Note: The additional functions at the D-Sub connectors are not
galvanically isolated. When using the transceiver module
PCAN-Transceiver MAX3057-ISO, galvanic isolation is only
provided for those pins that are assigned to CAN
communication at the corresponding D-Sub connector
(2: CAN_L, 7: CAN_H, 3: CAN_GND).
2.3 CompactFlash Card
To log the CAN data traffic (trace) you can use CompactFlash cards
(CF cards) with a maximum capacity of 2 GByte.
The CF slot is located on the rear of the PCAN-Router Pro. The CF
card is properly inserted if it flushes with the rear panel.
Note: When you want to insert or eject a CompactFlash card,
the PCAN-Router Pro must be turned off (no power supply or
power-down mode, Power LED off). Else the card is not
detected or data gets lost.
About the use of a CF card see chapter 6
Logging CAN Traffic onto a
CompactFlash Card
on page 39.

PCAN-Router Pro – User Manual
12
3Hardware Adjustments
You can adjust some hardware settings on the circuit board of the
PCAN-Router Pro:
Using an alternative CAN transceiver module
(see chapter 3.1 on page 13)
Adjusting the termination for a CAN bus
(see chapter 3.2 on page 16)
Setting the Router ID for the configuration
(see chapter 3.3 on page 18)
Enabling the 5-Volt supply for external devices
(see chapter 3.4 on page 20)
Enabling the supply of the router via a D-Sub connector
(see chapter 3.5 on page 22)
Replacing the button cell for the real-time clock (RTC)
(see chapter 3.6 on page 24)

PCAN-Router Pro – User Manual
13
3.1 Alternative CAN Transceiver Modules
An alternative CAN transceiver module can be used for each of the
four CAN connections. The PCAN-Transceiver TJA1041 is preinstalled
by default. The following alternative modules are supported:
Order
Number
Name Transmission
Standard
Bit Rate Wake-
up
Galvanic
Isolation
IPEH-001001
Default
PCAN-Transceiver
TJA1041
High-Speed-CAN
ISO
11898-2
40 kbit/s to
1 Mbit/s
yes no
IPEH-001002 PCAN-Transceiver
PCA82C251
High-Speed-CAN
ISO 11898-2
5 kbit/s to
1 Mbit/s
no no
IPEH-001003 PCAN-Transceiver
MAX3057-ISO
High-Speed-CAN
ISO 11898-2
5 kbit/s to
1 Mbit/s
no yes
IPEH-001004
PCAN-Transceiver
TH8056
Single-Wire-CAN
SAE J2411
1.3 kbit/s
to 40 or
100 kbit/s
yes no
IPEH-001005
PCAN-Transceiver
TJA1055
Low-Speed-CAN
ISO 11898-3
20 kbit/s to
125 kbit/s
yes no
Do the following to replace a transceiver module:
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the circuit board of the PCAN-Router Pro. Take
precautions to avoid ESD when handling the circuit board.
1. Disconnect the power supply.
2. Unscrew the four screws at the upper corners of the
housing on the front and back.
3. Remove the housing cover.
4. Unscrew the two screws at the lower corners of the front
cover.
5. Pull out with the front panel the board from the bottom side
of the housing to the front.

PCAN-Router Pro – User Manual
14
6. Remove the retaining screw from the transceiver module to
be replaced.
Pay attention to the spacer and the nut, which may come
loose.
Positions of the transceiver modules for the four CAN channels
(CAN 1 on the left)
7. Pull off the transceiver module upwards from the main
board.
8. Plug the alternative transceiver module onto the socket.
Make sure that the hole in the transceiver module is aligned
to the corresponding hole in the main board.
9. Secure the transceiver module with the screw, the spacer,
and the nut.
10. Put the cover back on the housing by paying attention to the
LED light guides.
11. Screw the four screws at the upper corners of the housing
on the front and back side.

PCAN-Router Pro – User Manual
15
12. Screw the two screws at the lower corners of the front
cover.
13. Restart the device by connecting power supply again.
After the restart, the PCAN-Router Pro automatically detects the
type of the inserted CAN transceiver module and adjusts the
according default bit rate for the CAN channel (see table above).
The bit rate can be changed by a configuration.
Note: Having customized equipment, if there is no CAN
transceiver module with wake-up function, the PCAN-Router
Pro must be switched on with an external wake-up signal (see
section 5.7.3 on page 37).

PCAN-Router Pro – User Manual
16
3.2 Termination of the CAN Buses
Depending on the used CAN transceiver module you can activate or
change the CAN bus termination for each CAN connection CAN 1 to
CAN 4 with switch blocks S1 to S4. Switches 1 and 2 on a switch
block always must have the same position. By default, internal
termination is not activated.
Tip: We recommend adding termination at the CAN cabling, for
example with termination adapters (e.g. PCAN-Term). Thus,
CAN nodes can be flexibly connected to the bus.
Do the following to activate the termination:
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the circuit board of the PCAN-Router Pro. Take
precautions to avoid ESD when handling the circuit board.
1. Disconnect the power supply.
2. Unscrew the four screws at the upper corners of the
housing on the front and back.
3. Remove the housing cover.
4. Unscrew the two screws at the lower corners of the front
cover.
5. Pull out with the front panel the board from the bottom side
of the housing to the front.
6. Apply the desired termination using switch blocks S1 to S4
(CAN 1 to CAN 4).
Make sure that both DIP switches (1/2) on the switch block
are in the same position.

PCAN-Router Pro – User Manual
17
Positions of the switch blocks for CAN termination;
ON switch position is marked on the switch blocks
Termination at Switch Position2Type of Transceiver
Off On
High-speed CAN (ISO 11898-2)
Transceiver installed by default.
none 120 Ωbetween
CAN_L and CAN_H
Low-speed CAN (ISO 11898-3)
Transceiver only on request
4.7 kΩfor
CAN_L and CAN_H
1.1 kΩfor
CAN_L and CAN_H
Single-wire CAN (SAE J2411)
Transceiver only on request
9.1 kΩfor CAN_SW 2.1 kΩfor CAN_SW
7. Put the cover back on the housing by paying attention to the
LED light guides.
8. Screw the four screws at the upper corners of the housing
on the front and back side.
9. Screw the two screws at the lower corners of the front
cover.
10. Restart the device by connecting power supply again.
After the restart, the internal termination for the respective
CAN channel is active.
2Both switches of a switch block

PCAN-Router Pro – User Manual
18
3.3 Setting the Router ID for other
Configurations
The board of the PCAN-Router Pro has a rotary switch with 16
settings to determine the Router ID (0 - F hex = 0 - 15). When the
device is started with the standard firmware, that configuration is
loaded from the internal memory whose number matches the
specified Router ID. In addition, the Router ID gives a unique
identification during the PPCAN communication (configuration
transfer). For the transmission of CAN messages during normal
operation this Router ID is not relevant.
Note: The rotary switch setting Fis reserved for an upload of
new firmware.
Do the following to change the Router ID:
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the circuit board of the PCAN-Router Pro. Take
precautions to avoid ESD when handling the circuit board.
1. Disconnect the power supply.
2. Unscrew the four screws at the upper corners of the
housing on the front and back.
3. Remove the housing cover.
4. Find the rotary switch on the board with the help of the
following figure:

PCAN-Router Pro – User Manual
19
5. Turn the ID rotary switch on the board to your desired
position. Use a slotted screwdriver, for example.
6. Put the cover back onto the casing by taking care of LED
light guides.
7. Screw the four screws at the upper corners of the housing
on the front and back side.
8. Restart the device by connecting power supply again.
After the restart, the changed Router ID will be active.
During operation with a configuration the LED μC Status blinks
green every second. If a configuration for the set Router ID does not
exist, the LED blinks twice as fast.

PCAN-Router Pro – User Manual
20
3.4 Voltage Supply of External Devices
A 5-Volt supply can optionally be routed to pin 1 of a D-Sub
connector (independently for each connector) by setting solder
jumpers on the circuit board of the PCAN-Router Pro. Thus, devices
with low power consumption (e.g. bus converters) can be directly
supplied via the D-Sub connector. The current output is limited to
100 mA for each connector.
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. bus converters) to or from
the PCAN-Router Pro while it is turned off.
Do the following to activate the 5-Volt supply:
Danger of short circuit! Take great care when soldering to
avoid short circuits.
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the circuit board of the PCAN-Router Pro. Take
precautions to avoid ESD when handling the circuit board.
1. Disconnect the power supply.
2. Unscrew the four screws at the upper corners of the
housing on the front and back.
3. Remove the housing cover.
4. Unscrew the two screws at the lower corners of the front
cover.
5. Pull out with the front panel the board from the bottom side
of the housing to the front.
6. Solder the solder bridge(s) on the board using the following
figure and table:
Other manuals for PCAN-Router Pro
2
Table of contents
Other Peak Network Hardware manuals