Table of Contents

Programs

CANopen Object Browser for Windows

CANopen Object Browser for generic CAN Interfaces

The CANopen Object Browser is a tool to display and browse through a CANopen Object Dictionary based on EDS-Files. The program allows an online access to any connected CANopen device. This means to read and to write individual parameter values of a connected device.

The Object Dictionary window displays the CANopen object dictionary of a CANopen device taken either from an EDS-File or from a XML-File. On the left side of the window all objects are listed in a tree view order by categories. To navigate through the object tree use either the cursor-up/-down keys or click with the mouse on an item. On the right side all attributes and attribute values of the highlighted object are shown.

Parameter values can be entered in hexadecimal, decimal or octal form according to ANSI-C syntax. The value range of the data type will be checked by the program. But the value range of the parameter will be check by the device. Data access is only possible if a device is connected to the CAN-Interface board.

Please note: Do not connect the program to a real application with a running CANopen network. This can damage your application.

Supported Interface

Currently (COPbrorwser v0.5) the following CAN devices are supported:

IXXAT VCI V2 PEAK PCAN-Basic Vector VX library RS-CAN-Wandler TCP/IP Client

Summary

CANopen Object Browser (Windows)
Developer Uwe Vogt
Current version Version 0.5.100.243 of 11.11.2010
Documentation Getting started (pdf) and Online-help (context-sensitive)
License UVS Freeware License (without warranty or support)
Standard(s) CANopen specifications: CiA DS-301, CiA DS-305, CiA DS-306, CiA DS-309
Driver(s) IXXAT VCI V2, PEAK PCAN-Basic + PCAN-Light, Vector XL Driver, ASPopen (RS-232/CAN-Wandler),
Winsock (CANopen-over-TCP/IP)
Category Industrial communication, CANopen, CAN, TCP/IP, RS-232
Operating system Windows 2K/XP, but it is also running on Windows 10
Download server http://www.uv-software.de/files/downloads/COPbrowser/

CANopen Object Browser for Linux

CANopen Object Browser for Linux with BerliOS SocketCAN

The CANopen Object Browser is a tool to display and browse through a CANopen Object Dictionary based on EDS-files. The program allows an online access to any connected CANopen device. This means to read and to write individual parameter values of a connected device.

The CANopen Object Browser for Linux is a Qt3 GUI application (http://www.trolltech.com/qt/) running on Linux systems (Kernel 2.6.x) and uses BerliOS socketCAN to access the CAN-Bus (http://socketcan.berlios.de/). Furthermore the program offers a gateway function for interfacing CANopen with TCP/IP.

Please note: Do not connect the program to a real application with a running CANopen network. This can damage your application.

Summary

CANopen Object Browser (Linux)
Developer Uwe Vogt
Current version Version 0.2 Build 61 (testing) of 09.11.2009
Documentation Getting started (pdf) and Online-help (context-sensitive)
License UVS Freeware License (without warranty or support)
Standard(s) CANopen specifications: CiA DS-301, CiA DS-306, CiA DS-309
Driver(s) BerliOS SocketCAN, CANopen-over-TCP/IP)
Category Industrial communication, CANopen, CAN, TCP/IP
Operating system Linux 2.6.x
Download server http://www.uv-software.de/files/downloads/COPbrowser/

CANopen Commandline Tool

The CANopen Commandline Tool is a text-based program to request CANopen services from CANopen devices on the command line by entering commands at the program´s prompt or processing them from a batch file.

The syntax for these commands is taken from the CANopen specification CiA DS-309/3 (Interfacing CANopen with TCP/IP – ASCII Mapping). The program is build on the UVS CANopen Master library, which exists for several microcontrollers and even for some CAN interface boards from different vendors and for different operating systems. Here the CANopen Commandline Tool uses the SocketCAN interface on Linux operating systems; it runs well with a PEAK PCAN-USB-Dongle on Debian Etch and on a MPC5200B evaluation board with an Embedded Linux. Furthermore the program offers a gateway function for interfacing CANopen with TCP/IP.

The program allows reading and writing of individual parameter values of any connected CANopen device. Due to the fact, that the UVS CANopen Master library is not a complete CANopen stack, some limitations must be taken into account. But the missing CANopen services can be build up manually from the CAN layer 2 commands of the program.

Syntax

Usage: can_open <interface> [<option>...]
Options:
 -g, --gateway=<port>         operate in gateway mode on <port>
 -i, --id=<node-id>           node-id of CANopen Master (default=-1)
     --net=<network>          set default network number (default=1)
     --node=<node-id>         set default node-id (default=1)
     --echo                   echo input stream to output stream
     --prompt                 prefix input stream with a prompt
     --syntax                 show input syntax and exit
 -h, --help                   display this help and exit
     --version                show version information and exit
Examples:
 1. Local mode:     can_open <socket-can> --prompt
 2.1 Gateway mode:  can_open <socket-can> --gateway <port> --echo
 2.2 Remote mode:   can_open <ip-addr>:<port> --prompt
In local mode and in remote mode press ^D to leave the interactive input.
In gateway mode press ^C to close the port and exiting the program.

Summary

can_open (CANopen Commandline Tool)
Developer Uwe Vogt
Current version Version 0.2.34 of 25.02.2009
Documentation README, Syntaxbeschreibung and program options –help and –syntax
License UVS Freeware License (without warranty or support)
Standard(s) CANopen specifications: CiA DS-301, CiA DS-309. IEEE 802.3, RFC 2045
Driver(s) berliOS socketCAN, PEAK Linux driver
Category Industrial communication, CANopen, socketCAN, TCP/IP
Operating system Linux (2.6.x)
Download server http://www.uv-software.de/files/downloads/socketCAN/can_open/

CANopen-over-TCP/IP Client

www.uv-software.de_files_dokuwiki_programs_win_logo.jpg

This little program is for accessing a CANopen-over-TCP/IP gateway (e.g. the UVS CANopen Commandline Tool in gateway mode) from a Windows console.

With this text-based program you can access any CANopen device connected to a CANopen-over-TCP/IP gateway over ethernet by entering commands for CANopen services at the program´s prompt or processing them from a batch file. The syntax is taken from the CANopen specification CiA DS-309/3 (Interfacing CANopen with TCP/IP - ASCII Mapping) and is described here.

Syntax

copnet <address>:<port> [/PROMPT | /P] [/ECHO | /E]
copnet (/HELP  | /?)
copnet (/ABOUT | /µ)
Options:
 /P, /PROMPT  prefix input stream with a prompt
 /E, /ECHO    echo input stream to output stream
 /?, /HELP    display this help and exit
 /µ, /ABOUT   show version information and exit

Summary

copnet (CANopen-over-TCP/IP Client)
Developer Uwe Vogt
Current version Version 0.1.1 of 26.01.2009
Documentation README and program option /HELP
License UVS Freeware License (without warranty or support)
Standard(s) IEEE 802.3, RFC 2045
Driver(s) Winsock
Category Industrial communication, CANopen, TCP/IP
Operating system Windows 2K/XP

CAN Monitor using SocketCAN

Yes, this is another CAN monitor using SocketCAN on Linux OS. The BerliOS CAN utilities already offers the great candump program, but I hate this messing around with binary masks for identifier filtering. So I wrote this little program to have an exclude list for single identifiers or identifier ranges (see program option –exclude or just -x). Precede the list with a ~ and you get an include list.

Syntax

Usage: can_moni <interface> [<options>]
Options:
 -t, --time=(abs|rel|zero)    absolute or relative time
 -i, --id=(hex|dec|oct)       display mode of COB-IDs
 -d, --data=(hex|dec|oct)     display mode of data bytes
 -a, --ascii=(on|off)         display data bytes as ascii
 -x, --exclude=[~]<id-list>   exclude COB-IDs: <id>[-<id>]{,<id>[-<id>]}
 -h, --help                   display this help and exit
     --version                output version information and exit

Summary

can_moni (CAN Monitor using SocketCAN)
Developer Uwe Vogt
Current version Version 0.1.17 of 20.08.2007
Documentation README and program option –help
License GNU General Public License (GPL 2)
Standard(s) CAN Spezifikation 2.0
Driver(s) BerliOS SocketCAN, PEAK Linux driver
Category Industrial communication, CAN, socketCAN
Operating system Linux (2.6.x)
Download server http://www.uv-software.de/files/downloads/socketCAN/can_moni/

CAN Monitor goes Mac OS X

This is a port of the CAN Monitor program from Linux to Mac. It is running with a PCAN-USB device or PCAN-USB FD device on macOS Mountain Lion and hopefully on later versions of the world´s mostest advanced OS.

Syntax

Usage: can_moni <interface> [<option>...]
Options:
 -t, --time=(ZERO|ABS|REL)   absolute or relative time (default=0)
 -i  --id=(HEX|DEC|OCT)      display mode of CAN-IDs (default=HEX)
 -d, --data=(HEX|DEC|OCT)    display mode of data bytes (default=HEX)
 -a, --ascii=(ON|OFF)        display data bytes in ASCII (default=ON) 
 -x, --exclude=[~]<id-list>  exclude CAN-IDs: <id>[-<id>]{,<id>[-<id>]}
     --code=<id>             acceptance code for 11-bit IDs (default=0x000)
     --mask=<id>             acceptance mask for 11-bit IDs (default=0x7FF)
     --xtd-code=<id>         acceptance code for 29-bit IDs (default=0x00000000)
     --xtd-mask=<id>         acceptance mask for 29-bit IDs (default=0x1FFFFFFF)
 -m, --mode=(2.0|FDF[+BRS])  CAN operation mode: CAN 2.0 or CAN FD format
     --listen-only           monitor mode (transmitter is off)
     --no-status-frames      suppress reception of status frames
     --no-remote-frames      suppress reception of remote frames
 -b, --baudrate=<baudrate>   CAN 2.0 bit timing in kbps (default=250)
     --bitrate=<bit-rate>    CAN FD bit rate (as a string)
 -v, --verbose               show detailed bit rate settings
 -y, --trace=(ON|OFF)        write a trace file (default=OFF)
 -L, --list-boards           list all supported CAN interfaces and exit
 -T, --test-boards           list all available CAN interfaces and exit
 -h, --help                  display this help screen and exit
     --version               show version information and exit
Interfaces:
  PCAN-USB1
  PCAN-USB2
  PCAN-USB3
  PCAN-USB4
  PCAN-USB5
  PCAN-USB6
  PCAN-USB7
  PCAN-USB8
CAN 2.0 baud rate index (default=3):
  0 = 1000 kBit/s
  1 = 800 kBit/s
  2 = 500 kBit/s
  3 = 250 kBit/s
  4 = 125 kBit/s
  5 = 100 kBit/s
  6 = 50 kBit/s
  7 = 20 kBit/s
  8 = 10 kBit/s
CAN FD bit rate as comma-separeted <key>=<value>-list:
  f_clock=<value>      frequency in Hz or
  f_clock_mhz=<value>  frequency in MHz
  nom_brp=<value>      bit-rate prescaler (nominal)
  nom_tseg1=<value>    time segment 1 (nominal)
  nom_tseg2=<value>    time segment 2 (nominal)
  nom_sjw=<value>      sync. jump width (nominal)
  nom_sam=<value>      sampling (only SJA1000)
  data_brp=<value>     bit-rate prescaler (FD data)
  data_tseg1=<value>   time segment 1 (FD data)
  data_tseg2=<value>   time segment 2 (FD data)
  data_sjw=<value>     sync. jump width (FD data).
Examples:
  125kbps:1000kbps     f_clock_mhz=80,nom_brp=2,nom_tseg1=255,nom_tseg2=64,nom_sjw=64,data_brp=2,data_tseg1=31,data_tseg2=8,data_sjw=8
  250kbps:2000kbps     f_clock_mhz=80,nom_brp=2,nom_tseg1=127,nom_tseg2=32,nom_sjw=32,data_brp=2,data_tseg1=15,data_tseg2=4,data_sjw=4
  500kbps:4000kbps     f_clock_mhz=80,nom_brp=2,nom_tseg1=63,nom_tseg2=16,nom_sjw=16,data_brp=2,data_tseg1=7,data_tseg2=2,data_sjw=2
  1000kbps:8000kbps    f_clock_mhz=80,nom_brp=2,nom_tseg1=31,nom_tseg2=8,nom_sjw=8,data_brp=2,data_tseg1=3,data_tseg2=1,data_sjw=1
  2000kbps:10000kbps   f_clock_mhz=80,nom_brp=1,nom_tseg1=31,nom_tseg2=8,nom_sjw=1,data_brp=2,data_tseg1=2,data_tseg2=1,data_sjw=1

Summary

can_moni (CAN Monitor using PCAN-USB)
Developer Uwe Vogt
Current version Version 0.6 Build 1986 of July 29, 2024
Documentation README and program option –help
License UVS Freeware License (without warranty or support)
Standard(s) CAN Specification 2.0 and CAN FD Specification
Driver(s) macOS Library for PCAN-USB Interfaces from UV Software
Category Industrial communication, CAN, CAN FD, MacCAN
Operating system OS X 10.13 (x86_64), since version 0.5 SR3 macOS 11.0 (x86_64 & arm64)
Download server http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/

CAN Monitor App for OS X

The MacCAN Monitor App is a little demo program to show the functionally of the PCBUSB library: the macOS Library for PCAN-USB interfaces.

The program displays received CAN messages in a table view; its size is limited to 1024 rows. Furthermore it is possible to send single standard CAN messages with 0 to 8 data bytes. Only PCAN-USB devices from PEAK-System Technik GmbH are supported; and only the first channel of a device. The PCAN-USB interface number is taken from the IO registry. USB interface and CAN baud rate must be chosen once the program is started; they cannot be changed afterwards.

Please note: Do not connect your CAN device to a real CAN network when using this program, this might damage your application.

Summary

MacCAN Monitor App (Demo)
Developer Uwe Vogt
Current version Version 0.5 SR1 of November 4, 2023
Documentation Readme file and a screen video
License BSD 2-Clause “Simplified” License
Source code PCBUSB-Monitor repo on GitHub
Standard(s) CAN Specification 2.0
Driver(s) macOS Library for PCAN-USB Interfaces from UV Software
Category Industrial communication, CAN, MacCAN
Operating system OS X 10.13 (x86_64) or macOS 11.x (Universal macOS Binary)
Download server http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App/
Additional information PCAN is a registered trademark of PEAK-System Technik GmbH, Darmstadt

CANopen Master Library

CANopen Master Library in C

[To Be Continued]

Softwarepaket CANopen Master Library für Infineon C16x

Das Paket zeichnet sich durch die minimale Verwendung von Mikrocontroller-Ressourcen aus. Die Softwarelibrary liegt auch für Mikrocontroller Infineon XC16x (TwinCan) und Mitsubishi M16C (Renesas) vor.

Preise: auf Anfrage


To Be Continued