CAN Tutorial
CAN Tutorial
CAN Tutorial
This leaflet contains our tutorial on the CAN bus system along with details of a typical PC to CAN interface using USB and its associated free supporting software. Also included are details of Explorer our software package that converts an interface into a CAN analyser, logger and control centre. In this leaflet: The CAN Tutorial Using CAN CAN to USB Interface Simple CAN management interface PCAN-View CAN DLL for PC based applications Explorer CAN data logging, control and display package
Distributes the Peak System range of CAN interfaces, adapters, I/O modules, data acquisition systems and supporting software.
Follow these web links for more information on: Other CAN PC Interfaces CAN Data Acquisition Systems CAN I/O Modules Software Support for FMS Cables and Adapters Most of these items are available from our Web Shop for next day delivery.
Uses a single terminated twisted pair cable Is multi master Maximum Signal frequency used is 1 Mbit/sec Length is typically 40M at 1Mbit/sec up to 10KM at 5Kbits/sec Has high reliability with extensive error checking Typical maximum data rate achievable is 40KBytes/sec Maximum latency of high priority message <120 sec at 1Mbit/sec
CAN is unusual in that the entities on the network, called nodes, are not given specific addresses. Instead, it is the messages themselves that have an identifier which also determines the messages' priority. Nodes then depending on their function transmit specific messages and look for specific message. For this reason there is no theoretical limit to the number of nodes although in practice it is ~64. Two specifications are in use:
2.0A sometimes known as Basic or Standard CAN with 11 bit message identifiers which was originally specified to operated at a maximum frequency of 250Kbit/sec - ISO11519. 2.0B known as Full CAN or extended frame CAN with 29 bit message identifier which can be used at up to 1Mbit/sec - ISO 11898.
Signal Characteristics
CAN may be implemented over a number of physical media so long as the drivers are opencollector and each node can hear itself and others while transmitting (this is necessary for its message priority and error handling mechanisms). The most common media is a twisted pair 5v differential signal which will allow operations in high noise environments and with the right drivers will work even if one of the wires is open circuit. A number of transceiver chips are available the most popular probably being the Philips 82C251 as well as the TJA1040.
When running Full CAN (ISO 11898-2) at its higher speeds it is necessary to terminate the bus at both ends with 120 Ohms. The resistors are not only there to prevent reflections but also to unload the open collector transceiver drivers. We recommend that you terminate the bus correctly in all circumstances.
Message formats
The CAN protocol uses a modified version of the Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA) technique used on Ethernet. Should two messages determine that they are both trying to send at the same time then instead of both backing off and re-trying later as is done with Ethernet, in the CAN scheme, the transmitters detect which message has the highest priority and only the lower priority message gets delayed. This means that a high priority message is sure of getting through.
SOF
MESSAGE ID
RTR
CONTROL
DATA
CRC
ACK
EOF
Data Frames
These are the normal message frames used to carry data. They contain the following fields -- this is a simplified description as the controller takes care of the detail which is only of interest to those designing controllers (who should consult the spec) Start of frame (SOF) Message Identifier (MID) the Lower the value the Higher the priority of the message its length is either 11 or 29 bits long depending on the standard being used Remote Transmission Request (RTR) = 0 ----- see "Remote Frames" para below for no zero value Control field (CONTROL) this specifies the number of bytes of data to follow (0-8) Data Field (DATA) length 0 to 8 bytes CRC field containing a fifteen bit cyclic redundancy check code Acknowledge field (ACK) an empty slot which will be filled by any and every node that receives the frame it does NOT say that the node you intended the data for got it, just that at least one node on the whole network got it. End of Frame (EOF)
The way in which message collision is avoided is that each node as it transmits its MID looks on the bus to see what everyone else is seeing. If it is in conflict with a higher priority message identifier (one with a lower number) then the higher priority messages bit will hold the signal down (a zero bit is said to be dominant) and the lower priority node will stop transmitting. If you are writing diagnostic code and wish to not "exist" on the network as a node, just to spy on what is happening, then you will need to ensure that the interface you use can be set to a mode where it does not automatically set the ACK bit. The Peak interfaces and their Explorer diagnostic package can be set into such a mode.
Remote Frames
These are frames that are used to request that a particular message be put on the network - of course a node somewhere on the network has to be set up to recognise the request, get the data and put out a Message frame. This mechanism is used in polled networks. The fields are .... Start of frame (SOF) Message Identifier (MID) either 11 or 29 bits long depending on the chosen mode. Remote Transmission Request (RTR) = 1 Control field (CTRL) this specifies the number of bytes of data expected to be returned (0-8).
CRC field containing a fifteen bit cyclic redundancy check code. Acknowledge field (ACK) an empty slot which will be filled by any and every node that receives the frame it does NOT say that the node you intended the data for got it, just that at least one node on the whole network got it. End of Frame (EOF)
Error checking
CAN is a very reliable system with multiple error checks Stuffing error - a transmitting node inserts a high after five consecutive low bits (and a low after five consecutive high). A receiving node that detects violation will flag a bit stuffing error. Bit error - A transmitting node always reads back the message as it is sending. If it detects a different bit value on the bus than the one it sent, and the bit is not part of the arbitration field or in the acknowledgement field, an error is detected. Checksum error - each receiving node checks CAN messages for checksum errors. Frame error - There are certain predefined bit values that must be transmitted at certain points within any CAN Message Frame. If a receiver detects an invalid bit in one of these positions a Form Error (sometimes also known as a Format Error) will be flagged. Acknowledgement Error - If a transmitter determines that a message has not been ACKnowledged then an ACK Error is flagged.
Variants
By defining only the physical and data link levels of the OSI communications model the CAN specification has become the basis for a wide number of industry and manufacture specific variants (and the source of much confusion as all the users will tell you they are using CAN). If you are trying to clarify a CAN systems status the first thing to find out is the transceivers in use - the most common "normal 5v" CAN uses the Philips 82C251 or the TJA1040. TJA 1054 is a low power, low speed physical layer that is mostly used in automotive applications. It employs the PCA82C252, TJA1053 or TJA1054 transceivers. AU5790 also known as "Single Wire CAN" is a low power, low speed physical layer that is used in automotive applications and an increasing number of industrial applications. It employs the AU5790 transceiver. DeviceNet - Developed for use in industrial process control it is based on the standard Full CAN ISO 11898-2 5v bus. However DeviceNet rigorously defines the physical interconnect, has a more restrictive transceiver specification, 11 bit identifiers only, allows 125, 250 and 500KBaud operation only and regulates the message content in order to more easily support interoperability of different manufacturers units. CANopen - Also designed with control applications in mind, it is a software standard based on the standard Full CAN - ISO 11898-2 5v bus. It limits the number of nodes to 127 and allocates them IDs. Profiles are specified for each type of device by CiA to simplify using similar units (eg motor drives) from different manufacturers. Some standard network commands are defined that allow modules to be automatically identified and allocated a node ID. The spec also defines a way to handle synchronised data reads and writes as well as providing a standard way in which large blocks of data can be read and written. We can supply CANopen diagnostic and network management software, Embedded drivers and I/O modules. TTCAN - Time Triggered CAN - The Time-Triggered Protocol has nodes reporting in predefined time windows that have to be planned and synchronised but which then ensure that an overload on the bus is not possible even in a worst case situation.
J1939 - A whole family of industry specific standards (agriculture, marine, truck & bus etc) are built on the basic communication services of the J1939 protocol specification ( itself based on Full CAN ISO 11898-2) with industry-specific documents defining the particular combination of layers for that industry. PEAK provide a full database of J1939 mnemonics with their J1939 option to PCANExplorer B10011S is the Transceiver used in a very restricted version of CAN (ISO 11992-1) that has only two nodes normally a truck and its trailer - not to be confused with....... FMS is a message protocol subset of J1939 defined for the Bus and Truck/Trailer market. For a software packages that knows the meaning of all the FMS messages and can test/emulate and display them in a meaningful way see our FMS Toolkit. MilCAN - is defined for use in military land vehicles where a deterministic protocol is require. It sets up some rules for use and a software layer on top of a conventional CAN network. A Pseudo Hardware Sync is created by one node "the SyncMaster" that sends Sync CAN Frames with a "sync slot number". MilCAN A uses 29 bit Identifiers. It allows both periodic and event driven data to be transmitted via the bus. MilCAN B uses 11 bit identifiers. It allows only periodic data to be transmitted via the bus
Max nodes 30
High speedCAN Fault Tolerant ISO 11898-3 CAN Truck/Trailer ISO 11992 CAN ISO 15765 SAE J1939 SAE J2284 SAE J2411 Single Wire CAN Diagnostics On CAN J1939
max. 1 MBit/s 110 max. 125 KBit/s max. 125 KBit/s 32 2 (Point to Point)
6500 m None required 500 m 40 m PCAN TJA1054 PCAN-BD10011S PCAN-OBD connector 40m J1939 option to PCAN-Explorer None required
PCAN-AU579
LIN
Local Interconnect Network is simpler than CAN and is often used in automotive "body functions" eg windows, where performance is not critical but cost is. CAN is then often used to integrate the operation of multiple LIN sub networks. LIN is a single master, multiple slave system that uses a 12V single wire physical layer and a UART/SDI with master driven self synchronisation. It is capable of running at data rates of up to 20Kbits per second over a maximum distance of 40 Meters. We can supply a USB to LIN interface and a LIN to CAN gateway which simplify developing LIN and mixed CAN/LIN systems.
Software
Embedded CAN chip manufacturers will provide examples of how to drive their chips, usually written in assembler or C. PC software to drive the USB, PCI or other interfaces to CAN will also be supplied by the interface manufacturer. Peak provide both low level drivers for Windows and a free API for their interfaces to allow CAN and LIN to be driven from a range of application languages on the PC. Also available are CAN analyser packages from the simple but powerful PCAN-view to the sophisticated PCAN-Explorer which provides data plotting with strip charts, user defined message names and data conversions for ease of analysis as well as extensive macro and script support for data collection and control. Add-in packages include J1939 support, a GUI interface that can be used for both display and control and a replay facility for Simulation. A specific software package is available to cover the FMS Bus and Truck standard so that it can be easily used by engineers not familiar with CAN. A Windows standard API has been developed for communicating between C code on PCs and CAN - its called RP1210 and a driver for it is available for the PCAN range of interfaces so that they can be used with applications supporting that standard.. CAN-Open is necessarily more complex but we can supply both PC based CANopen diagnostic and network management software and embedded drivers.
Further reading
Staffan Nilssons excellent introduction to CAN Bosch started CAN and include many useful links on their site CAN in Automation (CiA) is the CAN trade association The LIN Consortium is the LIN standards guardian Kvaser have a good CAN description area with details of available embedded interface chips and screen shots of messages
COMSOL have a wide range of CAN and LIN interfaces, CAN I/O units and Data Acquisition systems available with supporting software.
If you have found this tutorial useful you might also be interested in our tutorials on Embedded TCP/IP and USB or in tutorials on a range of microprocessor and microcontroller families. If so you can find them at Embedded Tutorials
Using CAN
PEAK CAN Controllers
The Peak range of CAN interfaces provides simple and cost effective connections between PCs and CAN-networks and includes routers, extenders and adapters to the many CAN variants. USB PCMCIA PARALLEL PORT ISA PCI PC/104
PCAN interfaces support both 11 bit ID and 29 bit ID CAN specifications with a maximum speed of 1Mbaud. They use the SJA1000 CAN-controller and the 82C251 driver. The CAN-bus connection is via a 9-pin SUB-D plug, whose pin assignments conform to the CiA recommendation. No termination is included in the interfaces. Optoisolated versions are available if required and most interfaces can be supplied with one or two ports. Drivers and supporting DLLs are included to allow operation under XP, Vista, Windows 7 and Linux in 32 and 64* bit modes. CE6.x support* for ARM and x86 is also available. (* most interfaces). Language support is provided for C++, C#, C++/CLR, Delphi, VB.NET, Java and Python 2.6. A Windows package PCAN-View is included with all interfaces to allow the user to view messages on the CAN bus. All data is displayed in Hex and messages are timed and counted. A trace buffer allows messages to be recorded and saved to disk. Errors such as over-run and baud rate problems are reported. Messages can be user created and then sent as one-shot, repeating periodically or in response to a remote request (RTR).
PCAN-Explorer
This tool can be used as an advanced CAN bus traffic monitor. It provides the following features: Message identifiers can be given names avoiding having to remember each messages HEX value. Message data can be displayed in a wide range of formats including text, hex, signed, unsigned and floating point. An extensive conditional macro language allows complex tests and simulations to be performed. Optional packages provide sophisticated graphing, CANdb data exchange, a visual GUI to control and display CAN data collection and a full J1939 symbol database simplifying control of ECUs.
PCAN-FMS Toolkit
A special software package is available to support FMS and Bus-FMS standards. It logs and translates the CAN messages in real time providing the user with a Dashboard display. The log can be replayed to a CAN bus or values can be set manually from a convenient Windows display for system simulation.
PCAN-USB
USB to CAN Interface
The PCAN-USB adapter enables simple connection to CAN networks. Its compact plastic casing makes it suitable for mobile applications. The opto-decoupled version guarantees galvanic isolation of up to 500 Volts between the PC and the CAN sides. The package is also supplied with the CAN monitor PCAN-View for Windows and the programming interface PCAN-Basic.
D-Sub
1 6
5 9
Pin 1 2 3 4 5 6 7 8 9
Pin assignment Not connected / optional +5V CAN-L GND Not connected Not connected GND CAN-H Not connected Not connected / optional +5V
Specifications Adapter for USB connection (USB 1.1, compatible with USB 2.0) USB voltage supply Bit rates up to 1 Mbit/s Time stamp resolution approx. 42 s Compliant with CAN specifications 2.0A (11-bit ID) and 2.0B (29-bit ID) CAN bus connection via D-Sub, 9-pin (in accordance with CiA 102) NXP SJA1000 CAN controller, 16 MHz clock frequency NXP PCA82C251 CAN transceiver 5-Volts supply to the CAN connection can be connected through a solder jumper, e.g. for external bus converter Extended operating temperature range from -40 to 85 C (-40 to 185 F) Optionally available: Galvanic isolation on the CAN connection up to 500 V
Ordering information Designation PCAN-USB PCAN-USB opto-decoupled Scope of supply PCAN-USB in plastic casing Device drivers for Windows 7/Vista/XP/Linux (32/64-bit) Device driver for Windows CE 6.x (x86 and ARMv4 processor support) PCAN-View CAN monitor for Windows (details on page 51)
PCAN-Basic programming interface consisting of an interface DLL, examples, and header files for all common programming languages (details on page 46)
8
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-USB Pro
High-Speed USB 2.0 to CAN/LIN Interface
The PCAN-USB Pro adapter enables simple connection of a PC to CAN and LIN networks. Two field busses can be connected at the same time, with up to four connections available using appropriate adapter cables (2 x CAN, 2 x LIN). Its robust aluminum casing makes the PCAN-USB Pro adapter suitable for mobile applications. The supplied monitor applications PCAN-View and PLIN-View Pro as well as the PCAN-Basic and PLIN programming interfaces round off the range.
Specifications Adapter for USB connection (USB 2.0) Transmitting and receiving of CAN and LIN messages using 2 D-Sub connections (both with pin assignment for CAN and LIN bus) Time stamp resolution 1 s Extended operating temperature range from -40 to 85 C (-40 to 185 F) CAN operation properties: Bit rates up to 1 Mbit/s Fulfills CAN specifications 2.0A and 2.0B MAX3057ASA CAN transceiver Each CAN channel is separately opto-decoupled against USB and LIN Measurement of bus load including error frames and overload frames Induced error generation for incoming and outgoing CAN messages LIN operation properties: Bit rates of 1 20 kbit/s AMIS-30600 LIN transceiver Both LIN channels (common ground) are opto-decoupled against USB and CAN Can be used as a LIN master or slave (1 ms master task resolution) Automatic bit rate, frame length, and checksum type recognition Autonomous scheduler with support for unconditional, event, and sporadic frames Hardware can work through a schedule table (up to 8 schedule tables can be configured with a total of 256 slots) Scope of supply PCAN-USB Pro in aluminum casing Device drivers for Windows 7/Vista/XP/Linux (32/64-bit) PCAN-View CAN monitor for Windows (details on page 51) PLIN-View Pro LIN monitor for Windows (details on page 52) PCAN-Basic programming interface consisting of an interface DLL, examples, and header files for all common programming languages (details on page 46) PLIN-API programming interface consisting of an interface DLL, an example, and header files for all common programming languages Manual in PDF format Ordering information Designation PCAN-USB Pro Art. No. IPEH-002061
1 6 5 9 D-Sub Pin 1 2 3 4 5 6 7 8 9 Pin assignment +5V CAN-L CAN-GND LIN LIN-GND LIN-GND CAN-H Not connected VBAT
www.peak-system.com
E-mail: sales@computer-solutions.co.uk
PCAN-USB Hub
All-in-one USB Adapter for Communication through USB, CAN, and RS-232
The PCAN-USB Hub provides multiple hardware interfaces through a USB connection. It offers the user one CAN, two RS-232, and two further USB interfaces. Its robust aluminum casing makes the PCAN-USB Hub suitable for mobile applications. The package is also supplied with the CAN monitor PCAN-View for Windows and the programming interface PCAN-Basic.
D-Sub
1 6
5 9
Pin 1 2 3 4 5 6 7 8 9
Pin assignment RS-232 DCD RxD TxD DTR GND DSR RTS CTS RI D-Sub Pin 1 2 3 4 5 6 7 8 9 Pin assignment CAN Not connected / optional +5V CAN-L CAN-GND Not connected Not connected PWR-GND CAN-H Not connected PWR-OUT
Specifications High-speed USB 2.0 hub with USB to CAN interface, connection through 9-pin D-Sub (in accordance with CiA 102) Two USB to RS-232 converters using two D-Sub connectors (9-pin) Two High-speed USB 2.0 downstream ports Passive (bus-powered) hub operation through the USB port of a PC enables power consumption of up to 100 mA per USB channel Active (self-powered) hub operation through the optional external hub power supply (9 36 V) enables power consumption of up to 500 mA per USB channel Guaranteed high bit rates on all channels if a Full-speed device is connected, thanks to a hub controller with 4 transaction translators Bit rates up to 1 Mbit/s Time stamp resolution approx. 42 s Compliant with CAN specifications 2.0A and 2.0B NXP PCA82C251 CAN transceiver 5-Volt and external power supply at the CAN connector connectible by solder bridges, e.g. for external bus converter
1 6
5 9
Ordering information Designation PCAN-USB Hub Scope of supply PCAN-USB Hub in aluminum casing Mating connector for voltage supply Device drivers for Windows 7/Vista/XP/Linux (32/64-bit) Device driver for Windows CE 6.x (x86 and ARMv4 processor support) PCAN-View CAN monitor for Windows (details on page 51) PCAN-Basic programming interface consisting of an interface DLL, examples, and header files for all common programming languages (details on page 46) Manual in PDF format Art. No. IPEH-002004
10
E-mail: sales@computer-solutions.co.uk
PCAN-View
Windows Compatible Software for Displaying CAN Messages
The software PCAN-View for Windows is a simple CAN monitor for viewing, sending, and recording CAN data traffic. Messages can be sent manually and periodically at a user-determined bit rate of up to 1 Mbit/s. Bus system errors and memory overflows in the CAN hardware being controlled are displayed during the process. The trace function can be used to record and save CAN data traffic. PCAN-View is supplied with every PCAN PC hardware product and enables a fast and simple initial hardware operation. All available PEAK CAN interfaces are listed in the connection dialog. After selecting the hardware and the bit rate, the user can access all the software functions, hardware-specific settings, and information.
Features Manual and periodic transmission of CAN messages with bit rates up to 1 Mbit/s and a resolution of 10 ms Support for CAN 2.0A (11-bit ID) and 2.0B (29-bit-ID) specifications Saving and reloading of CAN messages as transmit lists CAN message reception with a resolution of 1 ms Recording CAN messages in trace files Display of receive, transmit, and error states CAN controller hardware reset (SJA1000) Access to hardware-specific settings and information Note: ISA and parallel port CAN interfaces only support 32-bit
Ordering information Designation PCAN-View Scope of supply PCAN-View software Documentation in HTML Help format The current version is available on the product CD (supplied with our hardware) can be downloaded from the Internet free of charge at www.peak-system.com System requirements Windows 7/Vista/XP (32/64-bit) At least 512 MB RAM and 1 GHz CPU
51
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Basic
CAN Software API for Windows
The PCAN-Basic API (application programming interface) enables easy development of powerful software with CAN support. It includes all of the functions that a application needs in order to communicate with PCAN PC hardware. The crossoperation system design makes it possible to easily port software projects between platforms. PCAN-Basic consists of the actual device driver and an interface DLL, which provides the API functions. As the successor to PCAN-Light, PCAN-Basic offers increased functionality and extended language support. It provides various functions for developers under C++, C#, C++/CLR, Delphi, VB.NET, Java, and Phyton 2.6.
Features Supports Windows 7/Vista/XP (32/64-bit) and Windows CE 6.x operating systems Multiple PEAK-System applications and your own can be operated on a physical CAN channel at the same time Use of a single DLL for all supported hardware types Use of up to 8 channels for each hardware unit (depending on the PEAK CAN interface used) Simple switching between channels of a PEAK CAN interface Driver-internal buffering of 32,768 messages per CAN channel Precision of time stamps on received messages up to 1 s (depending on the PEAK CAN interface used) Access to specific hardware parameters, such as listen-only mode Notification of the application through Windows events when a message is received PCAN-Basic for Windows CE PEAK-System provides PCAN-Basic API to allow the development of your own CAN applications for Windows CE 6.x. Programmers can also use the languages C++, C# and VB.NET. PCAN-Basic for Linux A Linux version of the PCAN-Basic API is currently being developed and will be available soon. Note: ISA and parallel port CAN interfaces only support 32-bit Extended system for debugging operations Multilingual debugging output Output language depends on operating system Debugging information can be defined individually
46
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
Functions Connection: Initialize: Uninitialize: Configuration: SetValue: Setup of hardware parameters such as debug log, listen-only, and autoreset FilterMessages: Register messages to be received Information: GetValue: GetStatus: GetErrorText: Read out DLL and API information Read out CAN bus status information Get an error code description Initialize hardware, set the bit rate, drivers log on Drivers log out
Ordering information Designation PCAN-Basic Scope of supply Interface DLL, examples, and header files for all common programming languages Documentation in HTML Help format The current version is available on the product CD (supplied with our hardware) can be downloaded from the Internet free of charge at www.peak-system.com System requirements
CAN communication: Read: Write: Reset: Read a CAN message or status inc. time stamp Transmit a CAN message (11/29-bit ID and RTR possible) Clear the transmit and receive buffer
Windows 7/Vista/XP (32/64-bit) or Windows CE 6.x At least 512 MB RAM and 1 GHz CPU
47
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Explorer 5
Comprehensive CAN Monitor for Windows
PCAN-Explorer is a universal tool for monitoring data traffic on a CAN network. For easy and clear allocation of the individual messages, these can be identified as so-called symbols. The integrated VBScript support allows the creation of macros to automate complex tasks. The integrated data logger means that the data traffic of a bus can be recorded, analyzed, and stored. PCAN-Explorer is designed as automation server and can therefore be remote controlled through scripts. Features All files and elements can be managed and saved in projects Project components such as CAN connections, symbol files and macros are clearly displayed and laid out in the project browser The new start page allows fast access to the most recently opened projects or files Simultaneous connections with multiple networks/ CAN interfaces of the same hardware type Connection window with an overview of all connections, complete with status, error counters, bus load, etc.
All parameters of all elements in the user interface can be examined using a property window and edited if necessary. Multiple flexible filters can be configured and, for example, assigned to the transmit/receive window or the various different tracers Tabs to switch between the different Windows Flexible arrangement of the user interface using the dockable windows User-defined column display and arrangement in transmit/receive window J1939 support with the relevant add-in Display of received messages showing the ID, length, data bytes, number of messages received and receiving interval Simultaneous hexadecimal and symbolic representation of the details Display of remote frames, status reports of the CAN controller and, as option, CAN-bus error frames also Logging of time-outs Sending of messages at fixed intervals of time, manually or as reply to remote frames
59
www.peak-system.com
E-mail: sales@computer-solutions.co.uk
Messages can be created as send lists, stored and loaded as desired, in order to e. g. emulate CAN nodes Periodical sending with up to 1 ms precision Easy creation of symbol files and macros using the integrated text editor with syntax highlighting User-friendly real-time monitoring of several signals via the watch window Extensive improvements to user guidance and interface compared to PCAN-Explorer version 4 User interface language can be switched (German/English) Simple integration of external tools Integration of Add-Ins to upgrade functionality
Properties of the integrated, configurable PCANExplorer data logger: Operation of multiple tracers at the same time Variable buffer size Optional linear buffer or circular buffer Representation of the logged messages with time stamp, type, ID, length and data bytes Logging of errors that have occurred is possible Flexible storage possibility for the logged data in text form for importing into Excel or similar Filtering of the messages for logging through symbol definitions Subsequent examination of the logged data in the buffer via different symbol files
60
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
Function upgrade of the PCAN-Explorer with the integrated VBScript language: Creation of macros in VBScript with the integrated text editor Access with macros and scripts to almost all program elements via the PCAN-Explorer object model Ideal for creating test tools to implement or develop CAN systems Examples: sending of e-mails when a temperature is exceeded, starting of a test tool when a particular message is received, opening of an Excel sheet when an event occurs and saving of data in the individual cells Assignment of function keys with individual send messages or macros VBS scripts run in the background even without the PCAN-Explorer interface
Ordering information Designation PCAN-Explorer 5 Scope of supply PCAN-Explorer installation CD including PCAN-Explorer Line Writer Add-in PCAN Symbol Editor for Windows (details on page 62) Documentation in HTML help format System requirements Windows 7/Vista/XP (32/64-bit) At least 512 MB RAM and 1 GHz CPU Art. No. IPES-005028
61
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Explorer Add-ins
Optional Function Upgrades for PCAN-Explorer
J1939 Add-in The SAE J1939 network protocol describes communication on a CAN bus in utility vehicles for the transmission of diagnostics data and control information. It contains a complete network definition using 29-bit CAN-IDs (CAN 2.0B Extended Frame). The J1939 add-in for PCAN-Explorer 5 supports all definitions established by the standards parameter groups and provides a simple means of accessing the parameters. A complete database of all the definitions and the parameters contained is also supplied. Features Support for all functions of the SAE J1939 network protocol CAN messages can be sent in broadcast form or targeted to individual control units (ECUs) Addressing of up to 254 ECUs Supports multi-packet messages
Ordering information Designation J1939 Add-in Scope of supply J1939 Add-in software Documentation in HTML help format System requirements PCAN-Explorer 5 Windows 7/Vista/XP (32/64-bit) At least 512 MB RAM and 1 GHz CPU Art. No. IPES-005089
63
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Explorer Add-ins
Optional Function Upgrades for PCAN-Explorer
Plotter Add-in 2 The plotter allows the graphical representation of CAN data using any number of channels. Features Real-time display Unlimited number of channels Unlimited number of Y-axes X-axis and Y-axes can be zoomed and scrolled quite freely, even during recording Labelling of time axis with absolute or relative time stamps Facility for automatic adaptation of axes to plots Reversible Y-axes Logarithmic scales Cursor display for plot measurement Export to EMF-, PNG-, BMP-, JPEG graphical formats Data import from the PCAN-Explorer Tracer System requirements PCAN-Explorer 5 Windows 7/Vista/XP (32/64-bit) At least 512 MB RAM and 1 GHz CPU Ordering information Designation Plotter Add-in 2 Scope of supply PCAN-Plotter Add-in software Art. No. IPES-005087 Representation of limiting values and value ranges Comprehensive formatting options for representing the curves, axes and the plotter layout
64
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Explorer Add-ins
Optional Function Upgrades for PCAN-Explorer
CANdb Import Add-in 3 The CANdb format is a common data description format for CAN bus information in the car industry. CANdb Import allows the import of CANdb files. This is a useful function for all those who do not want to manually transcribe their database into the PCAN-Explorer symbol file format. Features Opening of CANdb files (.dbc) Selecting of the messages for importing in a CANdb file Saves data using the project administration function in PCAN-Explorer Storing in the PCAN-Explorer symbol file format
Ordering information Designation CANdb Import Add-in 3 Scope of supply CANdb Import Add-in software Documentation in HTML help format System requirements PCAN-Explorer 5 Windows 7/Vista/XP (32/64-bit) At least 512 MB RAM and 1 GHz CPU Art. No. IPES-005086
65
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Explorer Add-ins
Optional Function Upgrades for PCAN-Explorer
Instruments Panel Add-in 3 The Instruments Panel Add-in allows the graphical representation of digital and analog signals using different display instruments. The integrated input options and controllers mean that signals can also be produced on the CAN bus, allowing easy simulation of complex CAN applications. Free positioning of the instruments using drag & drop, or numerical inputs for spot-on positioning Loading and storing of complete panel configurations
Features Representation of analog and digital signals from received CAN messages using different display instruments In addition to potentiometers, switches, and sliding controllers input fields can be used to generate CAN messages Selection and configuration of multiple elements at the same time Extensive configuration of the properties of one or more elements using the new property window The new Instruments Panel object model enables complete automation using COM and scripts Representation of different scenes on the same panel during running time Signal-dependent display of image lists and scenes
Ordering information Designation Instruments Panel Add-in 3 Scope of supply Instruments Panel Add-in software Documentation in HTML help format System requirements PCAN-Explorer 5 Windows 7/Vista/XP (32/64-bit) At least 512 MB RAM and 1 GHz CPU Art. No. IPES-005088
66
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk
PCAN-Trace
Comprehensive Data Logger for CAN Messages
The PCAN-Trace program is a data logger for up to 9,999,000 CAN messages. It enables CAN messages to be quickly recorded, saved, and even played back on the CAN bus. The program displays the number of received messages, and identifies the types of the messages (data frame, error frame, RTR frame). CAN messages can be recorded or replayed in linear or ring buffer mode. PCAN-Trace also provides an option to play back CAN messages in single step mode. You can also simplify analysis and tracing by setting playback mode breakpoints.
Features Log facility for up to 9,999,000 CAN messages Choice of linear buffer or ring buffer (in receive and playback mode) Displays number and type of received CAN messages Adjustable message filter Support for 11-bit and 29-bit IDs Facility to play back CAN messages that have been recorded using PCAN-Explorer, even in single-step mode Breakpoints can be used in playback mode Integrated online help Received data can also be viewed in a text editor
Ordering information Designation PCAN-Trace Scope of supply PCAN-Trace installation CD (in English) Documentation in HTML help format System requirements Windows 7/Vista/XP (32-bit) At least 512 MB RAM and 1 GHz CPU Art. No. IPES-002027
58
www.peak-system.com Products 2011 / 2012 Computer Solutions Ltd
E-mail: sales@computer-solutions.co.uk