Can Opener 2 Instructions

12
CANopener Instructions 1of 12 Artic Consultants Limited CANopener2 Instructions Version: 2.0 Release: General Release

Transcript of Can Opener 2 Instructions

Page 1: Can Opener 2 Instructions

CANopener Instructions 1of 12

Artic Consultants Limited

CANopener2

Instructions

Version:

2.0 Release:

General Release

Page 2: Can Opener 2 Instructions

CANopener Instructions 2of 12

Project: CANopener2 Operation Instructions

Date: N/A

Time: N/A

Location:

Contents Contents ________________________________________________________ 2 Revision History__________________________________________________ 2 CANopener2 Overview ____________________________________________ 3

Overview____________________________________________________ 3 Installation __________________________________________________ 3

Configuration Screens ____________________________________________ 4 1.Splash Screen ______________________________________________ 4 2.Main Control Window _______________________________________ 5 3.CAN Channel Configuration __________________________________ 6 4.Communications Configuration _______________________________ 7 5.CAN Bus Danger ____________________________________________ 8 6.CAN Frame Generator_______________________________________ 9

CAN Data Logs __________________________________________________ 10 1.CAN Bus Report ___________________________________________ 10 2.CAN Log File ______________________________________________ 11

CAN Cable Connections __________________________________________ 12 Overview___________________________________________________ 12 Connection Detail ___________________________________________ 12

Revision History

Issue Date Author Comment

1 2/10/06 S. Allwood First Issue

2 16/10/06 S.Allwood Second Issue 1.Updated CAN connection detail

Page 3: Can Opener 2 Instructions

CANopener Instructions 3of 12

CANopener2 Overview

Overview

CANopener2 allows the user to view, log and generate CAN frames from two CAN channels. Each channel is independent and is designed to work on ISO11898-2 CAN bus networks (2-Wire CAN)

Installation

CANopener2 will not operate without the software first being installed. Please install the software before continuing to use CANopener2.

Responsibilities of Operation of CANopener2 Hardware & Software.

Connecting CANopener2 hardware to an existing CAN bus may cause errors and in-

operation.

Serious Injuries and Damage to systems, other people, equipment and the user may result if CANopener2 is not operated in a

responsible manor.

Page 4: Can Opener 2 Instructions

CANopener Instructions 4of 12

Configuration Screens

1.Splash Screen

This screen shows the current version levels of the PC Software and CANopener hardware & Firmware.

Page 5: Can Opener 2 Instructions

CANopener Instructions 5of 12

2.Main Control Window

This window is the main control for CANopener2. This window gives you access to all aspects of CANopener2 configuration and operation.

1.Settings & Configuration Menu This menu allows the user to select the various configuration options 2.View Menu This menu allows the user to view the CAN report for both CAN channels 3.About Menu This menu allows the user to view the various hardware, firmware and software versions of CANopener2 system 4.Run Button This button causes CANopener2 system to connect to the CAN buses, log data, send data and write data to file (log-files). This button will only be enabled if CANopener2 hardware has been detected correctly. 5.STOP Button This button stops the CANopener2 system from logging data from the CAN buses, etc 6.Rx LED Indicator This indicator will flash green each time data is transferred from CANopener2 to the PC. This allows the user to see when CAN frames are being detected by CANopener2. 7.Tx LED Indicator This indicator will flash each time data is sent from the PC to CANopener2 hardware. This allows the user to see when CAN frames are being generated & sent from CANopener2 hardware.

Page 6: Can Opener 2 Instructions

CANopener Instructions 6of 12

3.CAN Channel Configuration

This window allows the two CAN channels to be configured.

1.CAN Channel Selected This indicates which CAN channel is currently being configured 2.Enable CAN Channel This checkbox allows this CAN channel to be enabled or disabled. 3.Log to File This check box enables or disables logging CAN data to file 4.Log File Name This field allows the user to set a file name for the log-file. A date and timestamp will also be added automatically to the file name. 5.Baud Rate Selection This section allows the CAN baud rate to be selected. Future versions of the PC software will allow the user to define the baud rate – by selecting & defining the NBT and Tq segments. 6.Controller Mode This section allows the mode setting of the CAN channel. Normal Mode: CANopener2 “acks” CAN traffic Listen Mode: CANopener2 listens to CAN traffic – without sending “Acks” LoopBack Mode: CAN Tx messages are sent internally to the Rx buffer without sending to the CAN bus first. This mode can be used to test the Tx CAN frames before sending these frames on the actual CAN bus. Disabled Mode: This disables the CAN controller.

Page 7: Can Opener 2 Instructions

CANopener Instructions 7of 12

4.Communications Configuration

This window allows the user to select the correct comport that the OS has assigned for CANopener. To find the correct comport – please see the Device Manager, Section Ports (COM & LPT).

If the correct comport has been selected the following message will be displayed

Page 8: Can Opener 2 Instructions

CANopener Instructions 8of 12

5.CAN Bus Danger

This screen is shown during the software start-up. It informs the user of CANopener that system malfunction, catastrophic failures and injuries may occur if CANopener is not operated in a responsible manor.

Page 9: Can Opener 2 Instructions

CANopener Instructions 9of 12

6.CAN Frame Generator

This screen allows the user to pre-define up-to 16 CAN frames that will be transmitted on the CAN bus (from CANopener2) – either in a periodic manor or when a keyboard key is pressed.

1.Tx Frame Select This allows the user to select the Tx Frame that is going to be configured 2.CAN Channel Select This section allows the user to select the CAN channel that will be used to the send the CAN frame 3.Frame ID This section allows the user to define the CAN Id, Ext or Std Id Type and name the CAN frame for easy reference 8.Frame Type This section allows the user to define the type of CAN frame that will be send. Data or RTR frame 5.CAN Frame Data This section allows the user to define the CAN frame data that will be send with the CAN frame. 6.Apply This button saves the changes to the CAN frame 7.Cancel This button cancels the current configuration changes and closes the window

Page 10: Can Opener 2 Instructions

CANopener Instructions 10of 12

CAN Data Logs

1.CAN Bus Report

This screen shows live details of the CAN bus traffic and received & send CAN frames.

1.CAN Frame Database This section lists all the detected CAN frames. Each unique CAN frame is listed here, together with details about the Can frame Time: This is a time stamp when the latest CAN frame was received ID: The Can frame ID Dir: Shows the direction of the CAN frame (Tx=Transmit, Rx=Receive) Size: Details the ID type. (Std=11bit, Ext=29bit) Type: Details the type of CAN frame – Data frame or RTR request DLC: Data Length of CAN frame DB0-DB7: Data packet of CAN frame Cyc: time/distance between the same CAN frames Count: Total number of each CAN frame sent 2.Tx Error Status This section details the current transmission error level of CANopener 3.Rx Error Status This section details the current reception error level of CANopener 4. Frames Per Second This section details the current frames per second count.

Page 11: Can Opener 2 Instructions

CANopener Instructions 11of 12

2.CAN Log File

This file lists all the detected events on the CAN bus being monitored.

1.CAN Channel Settings This section details the CAN channel settings, CAN channel, Baud Rate, Start time and Date of the log. 2.CAN Controller Status This section details the current status of the CAN controller for this CAN channel. This section also details the frames per second count of the CAN channel. 3.CAN Frames This section details all the detected CAN frames (Tx & Rx) that have been detected by CANopener. 4.CAN Message Catalogue This section lists all the CAN frames detected by CANopener during the logging period. The periodic rates and number of times seen on the bus information is also logged in this section 5.Log Stopped This section indicates when the CAN log was stopped.

Page 12: Can Opener 2 Instructions

CANopener Instructions 12of 12

CAN Cable Connections

Overview

Each CAN channel has its own 9-Way D-type connector. The CAN connections onto each 9-way d-type are the same.

Connection Detail