PCAN-Router Pro – User Manual
I/O Function
I/O Number
Trace Disable
Trace Clear
Trace Buffer Type
Configuration ID 7E7h
Enable
RTC Set Year
RTC Set Month
RTC Set Day of Month
RTC Set Day of Week
RTC Set Hour
RTC Set Minute
RTC Set Second
RTC Write
RTC Set Alarm
Logging Error Frames
Enable
CAN x Bitrate Raw
CAN Bitrate: xy
Number
Value range
Function
of bits
Disable logging function for one or more CAN channels
Value from bit
5
Each of the five bits represents a CAN channel (Example: CAN 1 and CAN 3 = 00101b = 5). The fifth, virtual CAN
pattern (see right)
channel can create transmit messages.
Erases trace sessions on the CF card:
2
1, 2
1 = Erases the contents of the current session and restarts the logging in this session.
2 = Erases all sessions and restarts the logging in a new first session.
Determines the mode for logging:
2
1, 2
1 = linear: The logging stops when the trace file is full (default).
2 = circular: When the trace file is full, the logging restarts at the beginning.
Determines for each CAN channel if it can receive configuration messages via the CAN ID 7E7h (on for all channels
Value from bit
by default). At least one CAN channel must be selected for reception. Each of the four bits represents a CAN
4
pattern (see right)
channel (Example: CAN 2 and CAN 4 = 1010b = 10). If 0 is indicated, 15 (all four CAN channels) is used
automatically.
0 - 99
1 - 12
1 - 31
Declarations for date and time to set the battery-buffered real-time clock
Note: All declarations must be transmitted to the router.
1 = Mo ... 7 = Su
Initialization with the I/O function
0 - 23
0 - 59
0 - 59
1
1
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:
32
pattern (see right)
--MMMMMM MMDDDDDh hhhhmmmm mmssssss
M = month, D = day of month, h = hour, m = minute, s = second
Value from bit
Determines for each CAN channel if occurring error frames are recorded with the enabled logging function. Each
4
pattern (see right)
of the four bits represents a CAN channel (Example: CAN 2 and CAN 3 = 0110b = 6).
Sets the CAN bit rate for CAN channel x by the according register bytes for the CAN controller:
0x00YX00BB with BB = bitrate prescaler (BRP), X = Tseg1, Y = Tseg2; clock = 56 MHz; real value = register value + 1
Example for 800 kbit/s: 0x00290004
Composition of
Register values: BB = 4, Tseg1 = 9, Tseg2 = 2
32
different values
Real values: BBr = 5, Tseg1r = 10, Tseg2r = 3
(see right)
Segment length (BBr / clock): 5 / 56 MHz = 89.286 ns
Segment count (Sync + Tseg1r + Tseg2r): 1 + 10 + 3 = 14
Bit length (segment length * segment count): 89.286 ns * 14 = 1.25 μs, equivalent to 800 kbit/s
0 - 3
Sets a CAN bit rate xy for the given CAN channel
(CAN channel 1 - 4)
Special Out (70 h) > RTC Write
57
Special Out (70h) > RTC Set
Need help?
Do you have a question about the PCAN-Router Pro and is the answer not in the manual?