Peak PCAN-Router Pro User Manual

Peak PCAN-Router Pro User Manual

4-channel can router with data logger
Hide thumbs Also See for PCAN-Router Pro:

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCAN-Router Pro and is the answer not in the manual?

Questions and answers

Summary of Contents for Peak PCAN-Router Pro

  • Page 1 PCAN-Router Pro 4-Channel CAN Router with Data Logger User Manual Document version 2.6.0 (2021-03-03)
  • Page 2 © 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.
  • Page 3: Table Of Contents

    PCAN-Router Pro – User Manual Contents Introduction Properties at a Glance Operation Requirements Scope of Supply Connectors Power Supply CAN 1 to CAN 4, D-Sub 9-pin CompactFlash Card Hardware Adjustments Alternative CAN Transceiver Modules Termination of the CAN Buses Setting the Router ID for other...
  • Page 4 PCAN-Router Pro – User Manual Wake-up 5.7.1 Wake-Up with Supply Voltage 5.7.2 Wake-up via CAN 5.7.3 Wake-Up Externally by High Level 5.7.4 Wake-Up by Real-Time Clock (RTC) Logging CAN Traffic onto a CompactFlash Card Preparing a CompactFlash Card Preparing a Configuration for Recording...
  • Page 5: Introduction

    PCAN-Router Pro – User Manual Introduction 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...
  • Page 6: Properties At A Glance

    PCAN-Router Pro – User Manual 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).
  • Page 7: Operation Requirements

    PCAN-Router Pro – User Manual 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...
  • Page 8: Scope Of Supply

    PCAN-Router Pro – User Manual • 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) Scope of Supply PCAN-Router Pro in aluminum casing...
  • Page 9: Connectors

    PCAN-Router Pro – User Manual Connectors 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.
  • Page 10: Can 1 To Can 4, D-Sub 9-Pin

    PCAN-Router Pro – User Manual 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...
  • Page 11: 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.
  • Page 12: Hardware Adjustments

    PCAN-Router Pro – User Manual Hardware 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)
  • Page 13: Alternative Can Transceiver Modules

    125 kbit/s 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. Disconnect the power supply.
  • Page 14 PCAN-Router Pro – User Manual 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) Pull off the transceiver module upwards from the main board.
  • Page 15 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).
  • Page 16: Termination Of The Can Buses

    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. Disconnect the power supply.
  • Page 17 PCAN-Router Pro – User Manual Positions of the switch blocks for CAN termination; ON switch position is marked on the switch blocks Type of Transceiver Termination at Switch Position High-speed CAN (ISO 11898-2) none 120 Ω between Transceiver installed by default.
  • Page 18: Setting The Router Id For Other Configurations

    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.
  • Page 19 PCAN-Router Pro – User Manual Turn the ID rotary switch on the board to your desired position. Use a slotted screwdriver, for example. Put the cover back onto the casing by taking care of LED light guides. Screw the four screws at the upper corners of the housing on the front and back side.
  • Page 20: 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.
  • Page 21 PCAN-Router Pro – User Manual Connection Solder Field Default Activated CAN 1, Pin 1 JP12 CAN 2, Pin 1 JP13 CAN 3, Pin 1 JP14 CAN 4, Pin 1 JP15 Put the cover back onto the casing by taking care of LED light guides.
  • Page 22: Power Supply Via D-Sub Connector

    As an alternative to the power connector intended for supplying the PCAN-Router Pro, it can be supplied via pin 9 of the D-Sub connector CAN 3 or CAN 4 with 8 to 27 V DC. On the circuit board of the PCAN-Router Pro, a connection to the desired D-Sub connector must be established with a solder bridge.
  • Page 23 PCAN-Router Pro – User Manual Position of the solder fields on the bottom side of the circuit board for the supply of the router via the D-Sub connector Supply is Connection No Function Possible CAN 3, Pin 9 CAN 4, Pin 9 Put the cover back onto the casing by taking care of LED light guides.
  • Page 24: Replacing The Button Cell For The Real-Time Clock (Rtc)

    Replacing the Button Cell for the Real-time Clock (RTC) The real-time clock (RTC) integrated in the PCAN-Router Pro is supplied by a button cell of the IEC type CR1620 (3 V), as long as the device is turned off (without voltage supply or in power-down mode).
  • Page 25 PCAN-Router Pro – User Manual Put the cover back onto the casing by taking care of LED light guides. Screw the four screws at the upper corners of the housing on the front and back. Restart the device by connecting power supply again.
  • Page 26: Installing Configuration Software

    Follow the instructions of the setup program and install the PPCAN-Editor 2. You can then start the PPCAN-Editor 2, create a configuration, and send it to the PCAN-Router Pro. You can get corresponding information in the help or in the tutorial for the PPCAN-Editor 2.
  • Page 27 Note: The PPCAN-Editor 2 uses the CAN ID 7E7h for communi- cation with the PCAN-Router Pro. Using the standard firmware, it is defined for each CAN channel that the PCAN-Router Pro is reacting to incoming configuration messages. Therefore, do not use CAN ID 7E7h otherwise, or switch this behavior on or off 70h Special Out >...
  • Page 28: Operation

    PCAN-Router Pro – User Manual Operation Turning On the PCAN-Router Pro After applying a supply voltage, the PCAN-Router Pro does a reset and is turned off (power-down mode, Power LED off). For turning on the PCAN-Router Pro needs a wake-up signal.
  • Page 29: Shipping Configuration

    125 kbit/s The default bit rate is enabled if the current configuration in the PCAN-Router Pro does not provide another bit rate. In a configu- ration the bit rate can be set independently for each CAN channel. 70h (Special Out) > CAN Bitrate...
  • Page 30: Structure Of The Status Messages

    PCAN-Router Pro – User Manual The PCAN-Router Pro package can be downloaded from the product page under Downloads or from the following page: www.peak-system.com/quick/DL-Packages-E This configuration has following properties: All incoming messages from the four CAN channels are written to an inserted CompactFlash card.
  • Page 31 No CF card inserted in the PCAN-Router Pro For a correct recognition of a CF card, it must be inserted into or ejected from the PCAN-Router Pro at turned off state. PartitionError CF card does not contain a partition or...
  • Page 32: Setting The Real-Time Clock

    70h (Special Out) > RTC F0h (Special In) > RTC The shipping configuration for the PCAN-Router Pro contains an entry you can enable in order to set the time with a CAN message. By default, this entry is disabled to avoid accidental adjustment of the time via CAN.
  • Page 33 Enable. Make sure that a CAN connection exists between the computer and the PCAN-Router Pro, and, furthermore, that the PPCAN-Editor 2 has access to this connection. PPCAN-Editor 2: Display of a connection in the status bar on the bottom.
  • Page 34 Transmit this message once manually, e.g. by pressing the space bar. Date and time of the real-time clock in the PCAN-Router Pro are now set to the information contained in the data bytes. Tip: You can recall the current date and time with another CAN message having the ID 7F9h and being transmitted as remote request frame (data bytes: see table below).
  • Page 35: Status Leds

    PCAN-Router Pro – User Manual Status LEDs Applies to the standard firmware except for the “Power” LED. Status Meaning Power If a supply voltage is applied, the PCAN-Router Pro is in power-down mode and must be turned on by a wake-up signal. See following section 5.7 on page 36.
  • Page 36: Power-Down Mode

    470 μA at 12 V. The Power LED is off. In order to set the PCAN-Router Pro from turned on state to the power-down mode, you need to deactivate the selfhold function. This is done by transmitting a CAN message that is processed by...
  • Page 37: Wake-Up Via Can

    Wake-Up Externally by High Level On each of the ports CAN 3 and CAN 4, a High level (at least 4.5 V) can be applied to pin 4 to switch on the PCAN-Router Pro. Wake-up pin 4 at ports CAN 3 and CAN 4 An external wake-up signal is required if none of the CAN transcei- ver modules in the PCAN-Router Pro has a wake-up function.
  • Page 38: Wake-Up By Real-Time Clock (Rtc)

    Wake-Up by Real-Time Clock (RTC) Applies to the standard firmware. The PCAN-Router Pro is turned on at the alarm time set previously. The alarm time is set with a CAN message. To do so, the I/O 70h (Special Out) > RTC Set Alarm...
  • Page 39: Logging Can Traffic Onto A Compactflash Card

    For more information please contact our support: support@peak-system.com Preparing a CompactFlash Card To log CAN traffic with the PCAN-Router Pro the contents of a CompactFlash card (CF card) must be prepared in a certain way. What you need: a Computer with card reader for CF cards...
  • Page 40 PCAN-Router Pro – User Manual With the appropriate program of the operating system format the card using the file system FAT16. Create a file trace.btr in the root directory of the CF card, which contains empty bytes (00h). The file size must be a multiple of 512 bytes.
  • Page 41: Preparing A Configuration For Recording

    Field Selection/Input Explanation I/O Function 70h (Special Out) Special functions of the PCAN-Router Pro I/O No Routing 1 to CF All Forward all CAN messages from CAN channel 1 to the CF card. Alternatively, you can select the CAN channels 2, 3, or 4, or create additional entries for these CAN channels.
  • Page 42 ID Routing 1 to CF Excluding : All CAN messages with 11-bit ID excluding those with the given 11-bit ID Tip: This setting and further ones for the PCAN-Router Pro are Router Resources explained in Appendix E on page 63.
  • Page 43: Using The Recorded Can Traffic

    (semicolon as separator). Do the following to get the trace data: Eject the CF card from the PCAN-Router Pro and insert it into the card reader of the computer. Copy the PEAK-Converter to your local hard disk. You can find the software in the PCAN-Router Pro package under Tools or on our website.
  • Page 44 PCAN-Router Pro – User Manual Start the conversion.
  • Page 45: Creating Own Firmware

    PCAN-Router Pro – User Manual Creating Own Firmware With the help of the development package, you can program your own application-specific firmware for PEAK-System programmable hardware products. Download of the development package: URL: www.peak-system.com/quick/DLP-DevPack System Requirements: PC with Windows® 10 (32-/64-bit)
  • Page 46 Do the following to create your own firmware: Create a folder on your local PC. We recommend using a local drive. Copy the complete unzipped PEAK-DevPack directories into your folder, incl. all subs. No installation is required at all. Run the script SetPath_for_VSCode.vbs. This script will modify the example directories for the Visual Studio Code IDE (https://code.visualstudio.com/).
  • Page 47: Library

    (* stands for version number), a binary file. You can access all resources of the PCAN-Router Pro by means of this library. Die library is documented in the header files (*.h) which are located in the inc...
  • Page 48: Firmware Upload

    The microcontroller in the PCAN-Router Pro is equipped with new firmware via CAN and the Windows program PEAK-Flash. For this, the bootloader must be activated in the PCAN-Router Pro. There are two possibilities to start the bootloader: Only with standard firmware on the device: PEAK-Flash can enable the bootloader, if you use the standard firmware on the device.
  • Page 49: Prepare Hardware

    Prepare Hardware For a firmware upload via CAN, the CAN bootloader must be activated in the PCAN-Router Pro via the rotary switch on the board. When using the standard firmware, you can continue directly with chapter 8.3 on page 51.
  • Page 50 PCAN-Router Pro – User Manual Restart the device by interrupting the power supply. The change of the rotary switch takes effect. The μC Status LED stays off. The LEDs of the CAN connectors CAN 1 to CAN 4 are blinking.
  • Page 51: Firmware Transfer

    The power LED lights green. Connect the CAN interface of your computer to the CAN 1 connector on the PCAN-Router Pro. Make sure that the CAN cabling is terminated correctly (2 x 120 Ω). Firmware upload is only possible with the CAN 1 connector.
  • Page 52 PCAN-Router Pro – User Manual Click the Next button. Click on the Modules connected to the CAN bus radio button. In the Channels of connected CAN hardware drop-down menu, select a CAN interface connected to the computer (e.g. PCAN-USB). Make sure that the nominal bitrate of 500 kbit/s is selected...
  • Page 53 Firmware File is for selecting a firmware file (*.bin). 13. Click Next. The Ready to Flash dialog appears. 14. Click Start to transfer the new firmware to the PCAN-Router Pro. The Flashing dialog appears. 15. After the process is complete, click Next.
  • Page 54 PCAN-Router Pro – User Manual 17. Only for firmware update via rotary switch: Continue with step 6 in chapter 8.2 on page 49. 18. Restart the device by shortly interrupting the power supply. You can now use the PCAN-Router Pro with the new firmware.
  • Page 55: Technical Specifications

    PCAN-Router Pro – User Manual Technical Specifications Connectors Power 1 x Phoenix mating connector, 2-pole, pitch 3.81 mm (Phoenix Contact MC1.5/2-STF-3.81 – 1827703) 4 x D-Sub (m), 9 pins ® Pin assignment according to specification CiA 303-1 Power Supply Operating voltage...
  • Page 56 PCAN-Router Pro – User Manual Supported bit timing values Nominal Prescaler (BRP) 0 - 1023 Time Segment 1 0 - 15 (TSEG1) Time Segment 2 0 - 8 (TSEG2) Synch. Jump Width 0 - 3 (SJW) Galvanic isolation Only with transceiver PCA82C251 on request Supplying external devices D-Sub pin 1;...
  • Page 57 PCAN-Router Pro – User Manual Memory Type CompactFlash card Memory size max. 2 GByte File system FAT16 Data Logging Internal memory none External memory CompactFlash card Storage requirement 512 bytes per 25 CAN messages (independent of the message lengths) Maximum memory size...
  • Page 58 PCAN-Router Pro – User Manual Conformity RoHS EU Directive 2011/65/EU (RoHS 2) + EU Directive 2015/863/EU (amended list of restricted substances) DIN EN IEC 63000:2019-05;VDE 0042-12:2019-05 EU Directive 2014/30/EU DIN EN 61326-1:2013-07; VDE 0843-20-1:2013-07...
  • Page 59: Appendix Ace Certificate

    PCAN-Router Pro – User Manual Appendix A CE Certificate...
  • Page 60: Appendix B Dimension Drawing

    PCAN-Router Pro – User Manual Appendix B Dimension Drawing Top view (measures in mm) Front view (measures in mm) The figures do not show the original size.
  • Page 61: Appendix C Contents Of A Compactflash Card

    ⎝ ⎠ Important Note: To optimize performance and reduce memory card accesses, the PCAN-Router Pro saves incoming messages in blocks. This means that the available storage space cannot be used optimally. The size of the memory blocks is configurable. For more information please contact our support:...
  • Page 62: Appendix D Disposal Information (Battery)

    (Battery) The device and the battery it contains must not be disposed of with household waste. Remove the battery from the device for proper separate disposal. The PCAN-Router Pro contains the following battery: 1 x button cell CR1620 3.0 V...
  • Page 63: Appendix E Router Resources

    PCAN-Router Pro – User Manual Appendix E Router Resources The table lists all the logical resources of the PCAN-Router Pro with standard firmware, arranged by I/O functions (column “I/O Function”) and the respective I/O numbers (column “I/O Number”). Number I/O Function...
  • Page 64 RTC Write Initializes the real-time clock (RTC) with declarations from the I/O function Special Out (70h) > RTC Set Sets the alarm time for turning on the PCAN-Router Pro when it is in power-down mode Value from bit Bit pattern:...
  • Page 65 Router ID Module ID 0 - 15 Position of the corresponding rotary switch on the board of the PCAN-Router Pro (see section 3.3 on page 18) Tx Msg Count CAN x Number of transmitted CAN messages on CAN channel x...
  • Page 66 Status of logging to CompactFlash card Bit meaning: 0: No CF card inserted in the PCAN-Router Pro For a card detection a reset (power cycle) is required. 1: CF card does not contain a partition or more than one 2: CF card isn't formatted with the file system FAT16...

Table of Contents