VCI V2.20 MiniMon Manual 3.2 (English)
VCI V2.20 MiniMon Manual 3.2 (English)
miniMon
Simple CAN Monitoring Tool for Windows
Software Version 2.x
Support
In case of unsolvable problems with this product or other IXXAT products
please contact IXXAT in written form by:
Fax: +49 (0)7 51 / 5 61 46-29
e-Mail: [email protected]
Copyright
Duplication (copying, printing, microfilm or other forms) and the electronic
distribution of this document is only allowed with explicit permission of
IXXAT Automation GmbH. IXXAT Automation GmbH reserves the right to
change technical data without prior announcement. The general business
conditions and the regulations of the license agreement do apply. All rights
are reserved.
miniMon-Manual-E-V3.2
Contents
1 OVERVIEW ................................................................................... 5
2 FUNCTIONS AND HANDLING ........................................................ 6
2.1 Starting the program ........................................................... 6
2.2 Configuration ....................................................................... 6
2.2.1 Board Type (Hardware Configuration ................................................... 6
2.2.2 Baudrate ............................................................................................. 8
2.2.3 Filtering of received objects (acceptance) ............................................. 9
2.3 Start/Stop ........................................................................... 10
2.4 Transmission of objects (Transmit) ..................................... 10
2.5 Request of objects (Request) .............................................. 11
2.6 Clear all windows ............................................................... 11
2.7 Reception of CAN objects ................................................... 12
2.8 Status Display ..................................................................... 13
1 Overview
The CAN miniMon is a simple and low-cost CAN bus monitor program which
allows the online monitoring of bus traffic on the CAN bus as well as the
transmission of single CAN objects. The CAN miniMon is delivered with VCI.
2.2 Configuration
By selecting the item ´Config´ in the main menu, the sub-menu for the
configuration of the CAN miniMon is opened.
In this dialog the parameter “Board” shows that CAN interface which was used
in your last session. If you want to select a different CAN interface, press the
button next to the parameter window. After that a window opens which shows
all PC/CAN interfaces which are installed on the PC (corresponding to the applet
“IXXAT Interfaces”). Here you can select the CAN interface the CAN miniMon
shall work with and confirm your selection by pressing OK. It is not necessary to
specifiy hardware specific parameters like interrupt number or memory address.
Chip: The CAN interface can be provided with one or two CAN
controllers (e.g. one SJA1000 and one 82527). Therefore the
user has to specify which CAN controller should be used.
The CAN controllers are referenced as CAN 1 and CAN 2.
The information about the hardware configuration of the
used interface can be taken
- from the ´IXXAT Interfaces´ applet in the Control Panel
by executing the hardware test.
- from the ´CAN-Type´ dialog in the CAN miniMon menu
´View´
- from the manual of the interface.
- from your order.
Protocol: Selection which CAN protocol shall be used: standard
protocol (11 bit identifier ) or extended protocol (29 bit
identifier).
For the selection of the CAN controller to be used the following has to be
considered:
- The extended CAN protocol (29 bit identifier) and the detection of error
frames is not supported by the 82C200 CAN controller.
- The reception of remote frames in the receive window is only possible using
the SJA1000 CAN controller.
- When the 82527 CAN controller is used an exact display of the actual bus
load is not possible.
2.2.2 Baudrate
The baud rate can either be selected from a list which provides a number of
standard baud rates for selection (acc. to CiA) or can be set directly by entering
the values for the bus timing registers.
• Baudrate (manual)
The values for the bit timing registers of the CAN controller are entered directly
and confirmed by pressing ‘OK’. The values are stored when the CAN miniMon
program is terminated and reloaded when the program is restarted.
In the dialog box ‘Acceptance’ the values for the acceptance code and
acceptance mask are set. The input is hexadecimal. The acceptance mask
specifies the bits in the identifier that are relevant for the filter (1 = relevant; 0
= not relevant). The acceptance code specifies the value which the relevant bits
must have to be allowed to pass the filter. The acceptance filter works
independent of the used type of CAN controller. The input is hexadecimal. For
standard CAN identifiers (11 bit identifier) only the last three hexadecimal digits
are used.
Example:
You are only interested in CAN objects with value 5 in the lower 4 identifier bits.
Therefore only the lower 4 identifier bits are relevant for filtering:
MASK = 000 0000 1111 = 0x00F
These relevant bits must have the value 5:
CODE = 000 0000 1001 = 0x005
With these settings CAN miniMon will only receive CAN objects with value 5 in
the relevant identifier bits:
0x005, 0x015, 0x025, 0x035, 0x045 ...
Filter algorithm:
A bitwise AND operation is performed between the identifier of a received CAN
object and the adjusted acceptance mask. The result of the AND operation is
compared with the adjusted acceptance code. Only CAN objects for which the
result of the AND operation is equal to the acceptance code are allowed to pass
the acceptance filter. All other CAN objects are not received.
If 0 is set for the acceptance mask there are no relevant bits and therefore the
filter is completly open. All CAN objects will be received.
2.3 Start/Stop
The item ´Start/Stop´ in the main menu is a switch for starting and stopping all
functions. The actual status is displayed in the status window in the window
CAN status („RUN“ or „RESET“, see chapter 0).
When the operation is stopped, all queues , buffers and status information are
deleted. The receive window contents are kept and the CAN controller is in
reset.
The following dialog show a CAN object with 11-bit identifier 0x123 and the
data bytes 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0xEE, 0xFF.
The following dialog show a CAN object with 29-bit identifier 0x12345678 and
the data bytes 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x01, 0x02.
This window shows a received remote frame with identifier 0x32F and data
length code (DLC) 1. Remote frames do not contain any data bytes, just a data
length code. It was received 177962 msec after opening the board.
Section Config:
Prot: Selected protocol type: standard or extended
Baudr: Selected baudrate
BTR: Current values of Bus Time Registers 0 und 1
ACCM: Current value of acceptance mask
ACCC: Current value of acceptance code
Section Status:
CAN Status: Information about the status bits in the CAN controller (red
= set, green = reset):
- BusOFF: bus off status
- Error: error status
- Overrun: receive overrun
- Tx-Pend: transmit pending
- RUN / RESET: CAN is in initialization mode (RESET) or
active (RUN)
VCI Sts: Current status of the software interface and the CAN
interface.
Queueload: Information about the current load of the receive queue.