PCAN-Router Pro – User Manual Contents Introduction Properties at a Glance Operation Requirements Scope of Supply Connectors Power (Voltage Supply) CAN 1 to CAN 4, D-Sub 9-pin CompactFlash Card Hardware Adjustments Using an Alternative CAN Transceiver Module Adjusting the Termination for a CAN Bus...
Page 4
PCAN-Router Pro – User Manual Power-down Mode 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...
PCAN-Router Pro – User Manual Introduction The PCAN-Router Pro links the data traffic from up to four High- speed CAN buses. The behavior of the router is configured via the CAN bus with the provided Windows program PPCAN-Editor. As well as pure forwarding, the CAN data can be processed, manipu- lated, and for example, filtered in a number of different ways.
PCAN-Router Pro – User Manual PPCAN-Editor - References (PDF file): Explains the function blocks and the mathematical functions that are implemented in PPCAN-enabled devices (like the PCAN- Router Pro). Properties at a Glance 4 High-speed CAN channels via pluggable transceiver modules (Wake-up capability);...
PCAN-Router Pro – User Manual Properties of the standard firmware: Comprehensive configuration with the Windows software PPCAN-Editor 2 Various function blocks for data processing and manipulation Configurable beeper Configurable status LEDs for CAN channels Recording of CAN data and error frames to a CompactFlash card...
PCAN-Router Pro – User Manual Scope of Supply PCAN-Router Pro in an aluminum casing Mating connector for power supply Configuration software PPCAN-Editor 2 for Windows Conversion software PEAK-Converter for Windows Industrial CompactFlash card (min. 1 GByte) Windows development software (Yagarto GNU ARM toolchain, flash program)
PCAN-Router Pro – User Manual Connectors Power (Voltage 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.
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...
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.
Along the top edge of the casing remove two screws on each the front and the rear of the PCAN-Router Pro. Take off the upper casing part. On the front of the PCAN-Router Pro, remove the lower two screws. Together with the front panel, pull out the circuit board into front direction from the casing's lower part.
PCAN-Router Pro – User Manual Using an Alternative CAN Transceiver Module For each of the four CAN connections an alternative CAN transceiver module can be inserted. Following modules are available: Module name Transmission Special Used CAN Default bit rate standard...
Page 14
Secure the transceiver module with the screw, the spacer, and the nut. At 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.
PCAN-Router Pro – User Manual Adjusting the Termination for a CAN 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.
Setting the Router ID for the Configuration The board of the PCAN-Router Pro has a rotary switch with 16 settings to determine the Router ID (0 - F hex = 0 - 15). Position of the rotary switch for the Router ID...
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.
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 19
PCAN-Router Pro – User Manual Proceed as follows to enable the supply via a D-Sub connector: Set the solder jumper on the circuit board of the PCAN-Router Pro according to the desired function. During this procedure take especially care not to produce unwanted short circuits on the board.
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).
Startup screen of the installation program for the PPCAN-Editor Follow the instructions of the setup program until you come to the step Select Hardware Profiles. At this point select at least the entry “PCAN-Router Pro” so that the PCAN-Router Pro will be supported by the PPCAN-Editor.
Page 22
Note: The PPCAN-Editor 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 >...
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.
33.3 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...
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 26
PCAN-Router Pro – User Manual Position Length Name of data Description (byte:bit) (bits) variable FileNotFound File trace.btr does not exist FileOpenError File trace.btr cannot be opened FileSeekError Start of file trace.btr cannot be found FileStartError First sector of file trace.btr cannot be...
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 28
Enable the symbol entry by checking the corresponding field Enable. Make sure that a CAN connection exists between the computer and the PCAN-Router Pro, and, furthermore, that the PPCAN-Editor has access to this connection. PPCAN-Editor: Display of a connection in the status bar on the bottom.
Page 29
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).
PCAN-Router Pro – User Manual Status LEDs Applies to the standard firmware except for the “Power” LED. State 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.
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...
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.
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...
Logging CAN Traffic onto a CompactFlash Card 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...
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.
Page 36
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 56.
The recorded CAN traffic on the CompactFlash card (CF card) is binary-coded in the trace.btr file. For further use you must convert the data in an appropriate format. To do so, the Windows program PEAK-Converter is available on the provided DVD. User interface of the PEAK-Converter Possible conversion targets:...
Page 38
PCAN-Router Pro – User Manual For further use of the trace data proceed as follows: Eject the CF card from the PCAN-Router Pro and insert it into the card reader of the computer. From the provided DVD, start the converter program PEAK- Converter.exe located in the directory Tools/PCAN-...
100) can be operated with a custom firmware. This is based on the NXP LPC2294 microcontroller with ARM core. The functions of the PCAN-Router Pro are accessed via a software library. Installation packages for the Yagarto GNU ARM toolchain for Windows and several code examples are on the provided DVD.
(* stands for version number), a binary file. You can access all resources of the PCAN-Router Pro by means of this library. The library is docu- mented in the header files (*.h). The files are located in each example directory.
PCAN-Router Pro – User Manual 7.3.1 Compiling a Firmware Example Do the following to compile a firmware example under Windows: From the provided DVD, copy the subdirectory of the desired example from the Example directory to the local hard disk.
You can transfer (upload) a new version of the standard firmware as well as custom firmware to the PCAN-Router Pro. The upload of firmware to the PCAN-Router Pro is done via a CAN bus with the provided Windows program PCAN-Flash.
Preparing Hardware and Software For an upload of new firmware via CAN, the CAN bootloader must be activated in the PCAN-Router Pro. This is done with the Router ID rotary switch on the circuit board. This requires that the casing of the router is opened.
Page 44
PCAN-Router Pro – User Manual Position of the rotary switch on the circuit board of the PCAN-Router Pro BL-HW: Make a note of the current setting of the rotary switch “Router ID” and then turn it to “F”. Connect CAN connector CAN 1 of the PCAN-Router Pro with a CAN interface connected to the computer.
PCAN- Router Pro after the firmware update. Sending the Firmware The process of uploading new firmware to the PCAN-Router Pro is as follows: Turn on the PCAN-Router Pro by applying a supply voltage.
Page 46
PCAN-Router Pro – User Manual Click on the … button next to the File name field in order to select the desired firmware file (*.bin) to be uploaded. Click on the OK button. Make sure that the PCAN-Flash program is connected with 500 kbit/s to the available CAN interface at the computer.
Page 47
Click the (Detect) button in order to detect the PCAN- Router Pro connected to the CAN bus. An entry for the PCAN-Router Pro appears in the main window. Select the entry for the PCAN-Router Pro. BL-SW: Click the (Activate module) button.
Page 48
BL-HW: Put the cover back onto the casing (taking care of LED light guides) and fasten it with the four screws. You can now use the PCAN-Router Pro with the new firmware. After an update of the standard firmware, the “μC Status” LED blinks with increased frequency (2 Hz) indicating that no configure- tion is available.
PCAN-Router Pro – User Manual Technical Specifications Power supply Supply voltage 12 V DC, 8 - 27 V possible Mating connector type Phoenix Contact MC1,5/2-STF-3,81 Current consumption (at 12 V) Idling: 65 mA Maximum (4 channels to CF): 95 mA Power-down mode: 470 μA...
Page 50
PCAN-Router Pro – User Manual Termination Setup with switches on the board CAN* High-speed none 120 Low-speed 4.7 k 1.1 k Single-wire 9.1 k 2.1 k * Determined by the transceiver module used for each CAN channel CAN ID reserved for...
Page 51
PCAN-Router Pro – User Manual Conformity Directive 2014/30/EU DIN EN 61326-1:2013-07 RoHS 2 Directive 2011/65/EU DIN EN 50581 VDE 0042-12:2013-02...
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.
File size: a multiple of 512 bytes (min. 1024 bytes), not fragmented File contents: empty bytes (00h) The size and the time stamp of the file trace.btr are not altered by the PCAN-Router Pro at data logging. Capacity of CAN messages of the file trace.btr: Bytes ...
(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...
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 57
Special Out (70h) > RTC Set RTC Write Initializes the real-time clock (RTC) with declarations from the I/O function Sets the alarm time for turning on the PCAN-Router Pro when it is in power-down mode Value from bit Bit pattern:...
Page 58
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 16) Tx Msg Count CAN x Number of transmitted CAN messages on CAN channel x...
Page 59
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...
Need help?
Do you have a question about the PCAN-Router Pro and is the answer not in the manual?
Questions and answers