CAN Viewer
CAN Viewer
2nd Edition
© 2010 WABCO
Table of Contents
3 Program surface 5
5 Administration 13
4.1 Set-up of cable connection to vehicle 5.2 Creating a configuration file for
via ISO 763 (7-pin) 8 decoding CAN messages in plain text 13
5.2.1 Section [FileInfo] 14
4.2 Set-up of cable connection to vehicle
via ISO 12098 (15-pin) 8 5.2.2 Section [Config] 14
4.3 Software installation and activation 9 5.2.3 Section [Identifier] 15
Explanation of symbols
– Step
2
General safety instructions CAN-Viewer 1
Comply with the company and national accident pre- The workplace has to be dry and sufficiently lighted and
vention/health & safety regulations. ventilated.
3
2 CAN-Viewer Introduction
2 Introduction
4
Program surface CAN-Viewer 3
3 Program surface
Available
Configurations
Receive
buffer
CAN
messages
as value
Memory
status when
recording
CAN
messages
5
3 CAN-Viewer Program surface
Function
Starting CAN reception Starting the reception and display of CAN messages
Searching CAN messages Search and display of all CAN messages from any CAN bus
indicator
Decimal or hexadecimal dis- Switching display of protocol between decimal and hexadecimal val-
play ues
Not activated:
Display of CAN data as value
Activated:
Display of CAN data as plain text
6
Program surface CAN-Viewer 3
Identifier configuration... Setting the CAN messages filter (see chapter 4.6 Filtering the dis-
played CAN messages (identifier configuration))
Settings ... Adjusting general program settings e.g. interface, data file location, ...
(see chapter 5.1 Program settings)
Help
About ... Opening the program information (e.g. version, serial number, ...)
7
4 CAN-Viewer Application
4 Application
Fig. 3 Cable connection via ISO 7638 Fig. 4 Cable connection via ISO 12098
8
Application CAN-Viewer 4
4.3 Software installation and activation 4.4 Display of messages from the
tractor vehicle trailer interface
– Plug the USB flash drive into the USB port of the PC. (ISO 11992-2 or 11992-3)
– To install the software on the PC, start the file In the event that the CAN-Viewer is currently receiving
SETUP.EXE in the main directory of the USB flash CAN messages, proceed as follows:
drive.
– Click this button to end receive mode.
– Follow the installation instructions on the screen.
If you have any questions, the WABCO website If you only want to view specific CAN messages, you
! www.wabco-auto.com, or your WABCO partner, can also filter them (see chapter 4.6 Filtering the dis-
played CAN messages (identifier configuration)).
will also provide further assistance.
Scope and content of the CAN messages corre-
! sponds to the selected ISO. There you will also
find specific information.
9
4 CAN-Viewer Application
4.5 Display of messages from any CAN – In the dialog, select the corresponding
bus Baudrate and the Identifier for the desired
bus.
In the event that the CAN-Viewer is currently receiving
CAN messages, proceed as follows: – Click OK to close the dialog.
– Click the button to end this mode. – Click the button to open the dialog for fil-
tering the CAN messages.
– Click the button to open the CAN config- Since no identifiers are yet known or have been de-
uration dialog. fined, proceed as follows:
4.6 Display of one or a number of spe- Fig. 6 Dialog for editing an identifier
cific CAN message(s)
– In this dialog, enter the ID and any name
In the event that the CAN-Viewer is currently receiving you choose (see fig. 6).
CAN messages, proceed as follows:
– Click OK to close this dialog.
– Click this button to end receive mode.
You may repeat this procedure for all desired CAN
messages.
– Click the button to open the CAN configu- – Click OK to close the dialog for defining
ration dialog (see fig. 5) . identifiers as well.
10
Application CAN-Viewer 4
4.7 Filtering the displayed CAN mes- 4.8 Creating / Editing an identifier
sages (identifier configuration)
In the event that the CAN-Viewer is currently receiving
In the event that the CAN-Viewer is currently receiving CAN messages, proceed as follows:
CAN messages, proceed as follows:
– Click this button to end receive mode.
– Click this button to end receive mode.
List of all available parameters You may repeat this procedure for all desired CAN
for the selected identifier messages.
11
4 CAN-Viewer Application
4.9 Creating a configuration file with 4.11 Recording and saving a protocol
your own settings with CAN messages to a file
– Adjust the display of the CAN messages In the event that the CAN-Viewer is currently receiving
as required. CAN messages, proceed as follows:
– Click the button to open the dialog for – Click this button to start reception.
saving a configuration dialog.
– Specify a location and a name for the – Click this button to start the recording
configuration file. mode.
4.10 Loading your own configuration file – Specify a location and a name for the
record file.
– Click this button to open the dialog. – Click the button Save to close this dialog.
The CAN-Viewer automatically starts the reception of As soon as all the memory has been used up, the re-
CAN messages. cording process is stopped automatically and a dialog
for saving the record file is opened.
12
Administration CAN-Viewer 5
5 Administration
5.2 Creating a configuration file for • [Config]: This section contains details regarding
decoding CAN messages in plain the CAN bus configuration. The standard config-
text urations also contain the description texts.
13
5 CAN-Viewer Administration
Example:
[FileInfo]
FileType = CANLOGGERCONFIG
FileStructureVersion = 1.0
Example:
[Config]
Name = ISO11992 (2001)
Hint = Tractor vehicle / Trailer interface
ExtIdentifier =1
Baud rate =1
14
Administration CAN-Viewer 5
The structure of entries is always as follows: The bit encoding of parameters is structured as fol-
lows:
IDxxx_ • xxx is a serial number
(001..0.099). IDxxx_Pyy_BCzzz • zzz is a serial number
• A maximum of 99 identifiers (001...256).
are supported. • There must not be any gaps
• There must not be any gaps within the numbering system.
within the numbering system.
The parameters pertaining to the identifier are always
structured as follows:
IDxxx_Pyy • yy is a serial number
(001...99).
• A maximum of 99 parameters
are supported.
• There must not be any gaps
within the numbering system.
.
15
5 CAN-Viewer Administration
16
Administration CAN-Viewer 5
[Identifier]
ID001_Name = EBS11 (Truck)
ID001_ID = 201508896
ID001_Visible =1
ID001_P01_Name = Vehicle ABS
ID001_P01_Visible =1
ID001_P01_BytePos =1
ID001_P01_ByteSize =1
ID001_P01_BitPos =1
ID001_P01_BitSize =2
ID001_P01_ShowType =1
ID001_P01_BC001_Value =0
ID001_P01_BC001_Text = passive, but installed
ID001_P01_BC002_Value =1
ID001_P01_BC002_Text = active
;-----------------------------------
ID001_P02_Name = Vehicle retarder control
ID001_P02_Visible =1
ID001_P02_BytePos =1
ID001_P02_ByteSize =1
ID001_P02_BitPos =3
ID001_P02_BitSize =2
ID001_P02_ShowType =1
ID001_P02_BC001_Value =0
ID001_P02_BC001_Text = passive
ID001_P02_BC002_Value =1
ID001_P02_BC002_Text = active
17
6 CAN-Viewer Further information on the CAN bus
CAN Bus Power Train CAN Bus Chassis & Safety CAN Bus XXX
Gateway
[Contents in chapters 6.1 - 6.5 from source: www.wikipedia.de - Die freie Enzyklopädie (03/2006)]
18
Further information on the CAN bus CAN-Viewer 6
6.3 Object identifier other node. This process is detected by the other node,
which then stops the attempt to transmit so that the oth-
The object identifier designates the content of a mes- er node may transfer its data. If both nodes use the
sage, not the device. In a measuring system, it is pos- same identifier, an error frame is generated (see struc-
sible, for example, to assign an identifier to each of the ture 6.5 Frame structure). For this reason, the standard
parameters temperature, voltage, pressure. The recip- recommends that an identifier should only be used by a
ients use the identifier to determine whether or not the maximum of one node.
message is relevant to them. The object identifier also
serves the purpose of assigning a priority to messages. This procedure also establishes a hierarchy of messag-
es in relation to one another. The message with the
The specification defines two different identifier for- lowest identifier may "always" be transmitted. For the
mats: transmission of time-critical messages it is therefore
• 11bit identifiers, also called "base frame format“. possible to assign an identifier of high priority (= low ID,
e.g. 0) to grant priority during transmission. However,
• 29 bit identifiers, also called "extended frame for-
even for messages with a high priority it is not possible
mat".
to determine the precise moment of transmission in ad-
A node may be recipient and sender of messages with vance (non-deterministic behaviour).
any number of identifiers. However, a maximum of one
sender may be assigned to an identifier (for the arbitra-
tion to function).
6.5 Frame structure
recessive
1 11 1 1 1 4 0...64 15 1 1 1 7 3
dominant
Acknowledgement Delimiter
Remote Transmission Bit
Acknowledgement Slot
Identifier Extension Bit
CRC Checksum
CRC Delimiter
Start of Frame
End Of Frame
Identifier Field
Intermission
Data Field
Reserved
Bus Idle
[Contents in chapters 6.1 - 6.5 from source: www.wikipedia.de - Die freie Enzyklopädie (03/2006)]
19
CAN-Viewer Notes
20