CAN BUS ANALYSER - INSTRUCTIONS MANUAL
TABLE OF CONTENTS
The following pictures show the “Isolated CAN Bus Analyser” connectors.
The device features a USB mini B connector that serves both to supply power and communicate with the Windows program.
The CAN Bus Analyser is equipped with three external LEDs to indicate the device status and faults:
Device status.
USB status.
CAN Bus status.
The "device status" LED will remain permanently on if the device is receiving power and there are no faults. If any faults are detected, the "device status" LED will flash.
The "USB status" LED will flash each time the CAN Bus Analyser receives or sends information from or to the Windows software.
The "CAN Bus status" LED indicates by flashing when the device receives or sends a CAN Bus message. It will also be off if the CAN Bus baud rate configured on the device is not the same as the CAN Bus baud rate on the connected network.
The CAN Bus Analyser features an external accessible switch that allows the connection or disconnection of the internal 120 Ohms CAN Bus termination resistor. The termination resistor is connected when the switch is locked in the down position.
The device can be connected to the CAN Bus network via two different connectors, both of which share the CAN Bus and ground connections.
The 4-way pluggable terminal block connector (Farnell Order Code: 3705018) is used for connecting the CAN Bus (CAN-H and CAN-L) and the isolated ground. This ground is the CAN Bus Network ground and it is isolated from the USB ground.
The DE-9 connector (also known as DB-9 connector) is used for connecting the CAN-H, CAN-L and ground to the device. The DE-9 connector has the following pinout:
Pin 2: CAN-L.
Pin 3: Network ground.
Pin 7: CAN-H.
The following screenshot displays the interface of the CAN Bus Analyser software.
The main interface is divided into four sections:
Program and device controls: At the top of the interface, there are buttons for connecting and configuring the device. On this side of the program, there is also the "Decode" button, which opens a new window and allows the CAN Bus payload to be decoded and transformed into readable data.
CAN Bus Analyser received messages: The messages on the CAN Bus network will be displayed in this table. The received messages table can be exported by clicking the "Export..." button. To start receiving CAN Bus messages from the network, the "Run/Stop" button must be pressed. When this button displays the label "Run," the device will not transmit CAN Bus messages over USB. Filters can be added based on the CAN Bus ID to show only the necessary CAN Bus messages in this table.
CAN Bus Analyser transmitter messages: This section of the program is used to configure the CAN Bus messages that will be sent by the device. The messages can be saved to the computer by clicking the "Export..." button and imported for future use.
Status bar: At the bottom of the program, there is a status bar where information about the program and the CAN Bus Analyser can be found.
The following screenshot shows the pop-up window for connecting the CAN Bus Analyser when clicking the "Connect" button on the main interface.
The "Search" button in this window updates the available COM ports connected to the Windows PC and displays them in the combo box to its right. The "Connect" button on the "Device Connection" window connects to the device specified in the combo box. If the software attempts to connect to a COM port where there is no Diagonal Systems CAN Bus Analyser, a message will appear on the screen indicating that the connection was not successful. The "Get Info" button displays basic information about the previously connected CAN Bus Analyser at the bottom of the window.
The following parameters can be configured by clicking the "Configuration" button on the main interface:
CAN Bus Speed [kbps]: The baud rate of the CAN Bus network in kilobits per second. The selectable values are: 20, 33.333, 47, 50, 83, 95, 100, 250, 500, 800, 1000.
CAN Bus Mode: This combo box allows you to select either "Normal" mode or "Silent" mode. In "Normal Mode," the device will behave as any other device connected to the CAN Bus and will respond with the ACK bit to every CAN Bus message received. In "Silent Mode," the device will not send the ACK bit, and it will appear as if it is not connected to the CAN Bus network.
Once the configuration is selected, the configuration of the CAN Bus Analyser can be updated by clicking the "Write Config" button. The device will retain the configuration in memory, so there is no need to reprogram it after a power cycle.
The Diagonal Systems "CAN Bus Analyser" software allows users to change the raw data of CAN Bus messages into readable values in real-time. To access the decoder window, the "Decode" button on the main software interface must be clicked. The decoder can only handle up to 100 messages.
To add a new value to the decode table, the following information must be provided before clicking the "Add message" button:
Name: The name assigned to the decoded value
ID: The CAN Bus ID of the value to be decoded, entered as a decimal number.
Extended ID: The selection between "Extended" and "Standard" CAN Bus ID.
Data format: The format in which the data is received by the software, including options such as "Signed Byte", "Unsigned Byte", "Signed Short", "Unsigned Short", "Signed Int", "Unsigned Int", and "Float".
Bytes: The order in which the data is received by the software in bytes.
It's important to note that for the software to update the decoded messages table, the Isolated CAN Bus Analyser must be receiving CAN Bus messages via USB. To toggle between running and stopping the receipt of messages, the "Run / Stop" button in the "Receiving Messages" section of the main interface must display the label "Stop".
The CAN bus messages read from the CAN bus network will be displayed on the "Receiver Table" when receiving is enabled. This table contains the following information:
Time: The time when the software received a new CAN bus message over the USB, expressed in the format HH:MM:SS.sss.
ID: The CAN bus identifier, expressed in hexadecimal format.
RTR: Indicates whether the CAN bus message is a "Remote Transmission" CAN bus message.
EXT: If the CAN bus message has an "Extended Identifier CAN Bus Message", this value will be shown as "EXT". If it is a "Standard Identifier CAN Bus Message", it will show "STD".
Length: The length of the CAN bus message payload data, which can be an integer number from 0 to 8.
Data: The CAN bus payload data, expressed in hexadecimal format.
The CAN Bus Analyser software allows the user to filter specified CAN Bus IDs in the "Receiver Table" through the "Filters Configuration" window. To access the "Filters Configuration", the user needs to click the "Filters..." button on the main interface.
The filters configuration can be saved to the computer by clicking the "Save" button, and can be loaded from a previous configuration by clicking the "Load" button.
The received CAN Bus Messages from the "Receiver Table" can be saved to the computer by clicking the "Export..." button. These messages will be written to a “.csv” file, which can be easily imported into a spreadsheet program.
To send a CAN Bus Message over the CAN Bus Network, the message must be entered in the "Transmitter Table". To add a new message to transmit, the user must click the "Add Message" button, which will prompt a new window for entering the message. The values entered must be in decimal format and the CAN Bus Analyser will repeat the transmitted message every specified time, expressed in milliseconds.
The bottom of the main window in the CAN Bus Analyser software displays the connection status and configuration with the device. If there is no device connected, the program will display the message "Not connected." Upon successful connection with the CAN Bus Analyser, the status bar will display the following information:
"Connection to COM Port": The COM Port that the software is connected to.
"CAN Bus baud rate": The CAN Bus speed configuration set on the CAN Bus Analyser.
"CAN Bus Mode": The CAN Bus mode set on the CAN Bus Analyser.
"Receiving table filters": When the receiving messages filter is enabled, the receiving table will only display the specified CAN Bus messages based on their CAN Bus ID.
"Receiving CAN Bus messages": When the receiver is enabled, the device reports CAN Bus messages from the CAN Bus Network via USB and the software displays these messages on the "receiver table".
"Transmitting CAN Bus messages": When the transmitter is enabled, the CAN Bus Analyser software will send the CAN Bus Messages from the transmitter table over USB.
In order to update the firmware on the device, the costumer can download from www.diagonalsystems.co.uk the “Device Firmware Update” Windows program and the latest available firmware for the “CAN Bus Analyser”.
The PC program will be able to search for and connect to the device by clicking the "Search Device" button and then the “Connect” button. If necessary, the device information can be read and displayed on the program. The Isolated CAN Bus Analyser will automatically reboot into bootloader mode after the "Device Firmware Update" program is connected to the device.
The new firmware can be loaded into the "Device Firmware Update" Windows program and, after doing so, the firmware can be loaded onto the unit by clicking the "Update Firmware" button. We recommend erasing the previous firmware application that was programmed on the unit.