Usb Can Adapter - EN
Usb Can Adapter - EN
2006
future
USB-CAN Adapter
TRIPLE drivers
V4.5
Overview
The USB-CAN adapter is a device for an easy dynamic debugging of CAN applications and for the
transparent diagnostic of a CAN bus. The adapter is controlled by USB bus from USB-CAN
application or your own application created by modification of CAN-Start application in Delphi
development environment.
The hardware construction of the USB-CAN adapter – TRIPLE drivers is established at the FTDI
FT245RL chip, Atmel T89C51CC01 microprocessor and PCA80C251 (High speed - ISO11898),
PCA80C252 (Low speed - ISO11519) and AU5790 (One wire - J2411) into one adapter. Integrated
microprocessor with cache memory reduce of the operating system load when receiving messages
from CAN bus and at the same time providing precision transmitting eight parallel messages.
Main Features
• High speed, Low speed and One wire CAN drivers into one adapter
• Fully compliant with CAN 2.0A and CAN 2.0B
• 15 Independent Message Centres
• 10kbps to 1Mbps Transfer Rate, support users speed setting
• Dynamic data receiving and showing of CAN messages (using processor cache memory 256B)
• Real and average time of receiving messages displayed in resolution 1ms
• The immediate, delayed, periodical or auto transmission 8 messages at the same time (1ms to 65,5s)
• Display of received messages - Number, Period, Load and Errors of CAN bus
• Replay function for replaying recorded data
• Receiving messages without ACK bit (Listening Mode)
• The extended searching in a received message list
• Messages transmission and reception from REMOTE FRAME
• The automatic insert of received messages description
• CANopen protocol support
• User setting saving
• Multiple adapters connection to single PC
• Power supply and initialization LED signalization (Red / Green)
• Standard layout CANNON connector
• Power supply from USB bus
• Over voltage protection
1/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
According to the Guide choose Install hardware that I manually select from a list (Advanced) and click
Next. In the next step choose Search plug in media such as disc or CD-ROM. Insert the installation
CD provided with the USB-CAN adapter in CD ROM unit and press Next.
In the following window you might see information about possible driver incompatibility with
windows system. In this case press Next or Continue again.
The setup will be now realized and the driver will be registered in the Windows system. If you look
into Control panel -> System -> Hardware -> Hardware administrator you will see the name of just
installed driver, FTDI FTU2XX Device, after clicking USB Bus controller.
Removal
If you want to remove the adapter controller, uninstall USB-CAN adapter from the computer and
uninstall the controller in Control panel, Add or remove program named FTDI FTD2XX USB Drivers.
2/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
The installation of the application USB-CAN adapter is done from installation CD and running file
Setup.exe. Then click Next.
3/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
Application servicing
The USB-CAN adapter application was projected to be served easily and offers wide range of
possibilities in displaying, conversion and data saving as well.
The main application Windows contains a number of items for setting required CAN bus parameters
in the right part. This part is called CAN bus control board. The main Windows contains bookmarks
Messages, Signals, Trends a Records, where each of them offers a different form of processing data
from CAN bus. Except Messages bookmark every bookmarks requires setting of value database
through Signals database configuration windows.
Messages bookmark
Message bookmark enables immediate CAN message display with a possibility to insert a message
description about importance of the message. The immediate and diagnostic message list serves to
display received messages. The immediate display prints data in lines with a print out of receiving
message time, the identification, data and description of the message.
The diagnostic display represents the messages with a different Identification ID, the immediate
display of number of messages and an average time or receiving.
4/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
Signals bookmark
This bookmark enables the conversion and CAN data display in format of real values transferred on
CAN line. The configuration is needed to be done before through the window Signals database
configuration or straight when choosing values to display. It is possible to display 144 discrete
values, 64 numeric or text values and 9 numeric values in a form of the analog meter.
Value choice
5/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
Trends bookmark
This bookmark provides an objective display up to 15 values in the real trend. The configuration is
needed to be done before through the window Signals database configuration or straight when
choosing values to display. The real trend rises till the chosen time (e.g. 20s) and then rotates 1s till
the time of overflow (60 - 120s), when running are set to zero and their rising again. Whenever during
displaying depicture might be interrupted. The function Zoom can also be used when interrupting. The
print, the saving trend (in format *.bmp) or a background change can be realized on the desktop of
trend by right button of mouse as well.
Value choice
6/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
Records bookmark
This bookmark enables parallel saving of the received messages or values into a text file. The
configuration is needed to be done before through the window Signals database configuration or
straight when choosing parameters to display. It is possible to save up to 160 values in the same
time. The number of so written data is limited only by the size of the used hard disc of the computer.
The saved file with messages or values can be processed through MS Excel application.
Value choice
7/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
CANopen bookmark
This bookmark provides the tool for one device controlling via communication standard
CANopen CiA DS-301. It permit a few operation with object NMT, Node Guarding, Sync, Time
Stamp, Emergency, PDO a SDO. The object range of periodic message timing it may be choosen
from 10ms to 10s. The PDO object configuration is needed to be done before through the window
Signals database configuration or straight when choosing parameters to display. More
information in apendix.
Transmit data frame
Abort transmitting
Upload SDO
Download SDO
8/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
First the displayed values must be set in the window Signals database configuration, and then
they can be displayed in the real form. It is possible to set Name, Unit, Description, Identification CAN
ID, Data type, beginning position of saving data Position, Length of the saved data, Storage data
format, parameters for conversion Multiplier and Offset and format of displaying the defined number
of Decimal Places, Maximum and Minimum.
Data types which user might chose from: BYTE (8b), UBYTE (8b), INTEGER (16b), UINTEGER
(16b), LONG (32b), ULONG (32b), BOOL (1b), TEXT (8-64b). Those with Uxx characterize no
marked type.
Storage data format enable choice of two main formats:
0 >> 63 (Intel) – chooses data from received message from the lowest bit up to the highest bit.
63 >> 0 (Motorola) – chooses data from received message from the highest bit up to the lowest bit.
Lo-Hi – this format exchanges the order of individual Byte data Lo-Hi-Lo-Hi instead of Hi-Lo-Hi-Lo.
The input value database might be saved to the user’s file with the *.sf
9/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
The communication with USB-CAN adapter is conducted through press buttons from the control
panel of the main application window and press buttons from the window for transmitting Can
messages. Every press button sends data sequence that realizes the adapter configuration. Only
Resetting message list button doesn’t transmit any message.
Adapter initialization
It makes required time and CAN bus register setting. The CAN bus register set up is
influenced by user’s choice. After changing CAN parameters in set up, the changes need
to be written in USB-CAN adapter through this press button. Or use automatic user’s set
up for automatic initialization
Pause
It makes immediate stop receiving and transmitting data on CAN line. After the next click
the primary action refreshes. The activity refresh happens also when pressing Adapter
initialization button.
Message transmitting
It opens the setting message window for transmitting. The press button is not displayed in
Listening mode regime because in this regime it is not possible to transmit messages on
CAN line.
10/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
The important item is Listening Mode, which enables reception CAN messages without their
confirmations by non-active bit ACK. The sampling position choice and number of sampling point set
up don’t influence CAN message reception or transmitting
ID setting – The selection of received CAN identification is realized in ID setting panel, items Tag and
Mask. The set up is realized by defining the identification bit mask in format Hex. The Tag serves for
the basic set up. The Mask serves for validity specification of individual Tag bits.
11/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
The window Transmit Frames works in four regimes of message transmitting. The regimes are
subsequently switched by clicking vertical press buttons on the left. One press button attaches to just
one message to transmitting.
Data FRAME Once transmit – simple message transmitting Data FRAME with delay Time
[ms] set in 0 to 65535ms volume.
Data FRAME Periodic transmit – periodic message transmitting Data FRAME with period
Time [ms] in 1 to 65535ms volume.
Remote FRAME Once transmit – simple message transmitting Remote FRAME with delay
Time [ms] set in 0 to 65535ms volume.
Remote FRAME Periodic transmit – periodic message transmitting Remote FRAME with
period Time [ms] in 1 to 65535ms volume.
AUTO RESPONSE – automatic message transmitting after receive with delay Time [ms] set
in 0 to 65535ms volume.
The CAN identifications need to be set in the definite volume according to chosen specification
CAN 2.0A and CAN 2.0B in format HEX.
Also data need to be set in HEX format in volume 0 to 8 byte. It is possible to separate the set
bytes by a gap, comma or by another separating character. The number of set bytes is decisive for
transmitting Remote FRAME, not their content.
The press buttons Transmit Frame on the right make run the message transmitting.
Transmit Frame
It sends a set message to USB-CAN adapter. The adapter sends the message to CAN
line according to set parameters immediately, with delay or periodically.
Abort transmitting
It cancels periodical or delayed message transmitting.
Signals bookmark provides transmitting the own signals. The configuration is needed to be done
before through the window Signals database configuration or straight when choosing values to
transmitting. Simple or Periodic data transmitting are getting from actual signals value with identical
ID. The data transmitting are showing in Messages bookmark. You must on mouse click (Discrete) or
change position on the scroll bar (Numerical) for change signals state. The periode you can change
through the window Transmitting setting (double click on signals + key CTRL).
12/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
Replay bookmark provides replaying records from Records bookmark or receive data from
Messages bookmark. It possible Loop check for periodicaly replaying records. You must click to Load
buton after record play.
13/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
14/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]
ideas make future
The easy use enables procedures ReceiveCanData and TransmitCanData. In case of large
application changes study the commented application source code. With help of reports it is possible
to set an individual register configuration of the used CAN microprocessor.
ReceiveCanData (Hour, Minute, Second, Millisecond: integer; RTR: Boolean; ID, Count: Integer; Data:
array of Byte);
This procedure is automatically executed when receiving the Can report. It includes all
information needed for the report identification.
Hour, Minute, Second, Millisecond – the exact time of report reception [23:59:59:999]
RTR – the report type Data Frame (RTR=false)/Remote Frame (RTR=true)
ID – CAN identificator of a report
Count – the number of received data
Data – the array of received data
TransmitCanData (MCx, Per, Sys: Integer; RTR: Boolean; ID, Count: Integer; Data: array of Byte)
This procedure enables to enter a report to transmitting at CAN line. The reports can be
transmitted through various Message centres to which the counters of periodical or delayed
transmitting are assigned. It is possible to transmit 8 reports at the same time.
MCx – Message centre [0..7]
Per – the period of message transmitting/delaying [0..65525][ms]
Sys – the transmitting mode
1= one transmitting with delay = per [ms]
3= periodical transmitting with period = per [ms]
4= immediate transmitting independent on per parameter
+8= receiving and display of a transmitted message
RTR – the report type Data Frame (RTR=false)/Remote Frame (RTR=true)
ID – CAN identification of a report
Count – the number of received data
Data – the array of received data
News: http://imfsoft.com/hardware/produkty/usb-can-adapter-triple-drivers.asp
15/15
www.imfsoft.com
Document: 1001-0002-05 USB-CAN Adapter V4.5 [email protected]