Both sides previous revisionPrevious revisionNext revision | Previous revision |
uvs:programs [2022/06/26 10:00] – old revision restored (2022/04/19 04:43) 82.80.244.59 | uvs:programs [2025/01/01 12:10] (current) – [Summary] uvsoftware |
---|
| |
| |
===== CANopen Commadline Tool ===== | ===== CANopen Commandline Tool ===== |
{{http://www.uv-software.de/files/dokuwiki/programs/Tux_102px.png }} | {{http://www.uv-software.de/files/dokuwiki/programs/Tux_102px.png }} |
The //CANopen Commanline 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 //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 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 [[uvs:programs#CANopen_Master_Library|CANopen Master library]], which exists for several microcontrollers and even for some CAN interface boards from different vendors and for different operating systems. | The program is build on the UVS [[uvs:programs#CANopen_Master_Library|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 [[wp>Socketcan|SocketCAN]] interface on Linux operating systems; | Here the //CANopen Commandline Tool// uses the [[wp>Socketcan|SocketCAN]] interface on Linux operating systems; |
| |
==== Syntax ==== | ==== Syntax ==== |
Usage: can_moni <interface> [<options>] | Usage: can_moni <interface> [<option>...] |
Options: | Options: |
-m, --mode=(2.0|FDF[+BSR]) CAN operation mode: CAN 2.0 or CAN FD format | -t, --time=(ZERO|ABS|REL) absolute or relative time (default=0) |
--listen-only monitor mode (transmitter is off) | -i --id=(HEX|DEC|OCT) display mode of CAN-IDs (default=HEX) |
-b, --baudrate=<baudrate> CAN 2.0 bit timing in kbps (default=250) | -d, --data=(HEX|DEC|OCT) display mode of data bytes (default=HEX) |
--bitrate=<bit-rate> CAN FD bit rate (as a string) | -a, --ascii=(ON|OFF) display data bytes in ASCII (default=ON) |
-v, --verbose show detailed bit rate settings | -x, --exclude=[~]<id-list> exclude CAN-IDs: <id>[-<id>]{,<id>[-<id>]} |
-t, --time=(ABS|REL|ZERO) absolute or relative time (default=0) | --code=<id> acceptance code for 11-bit IDs (default=0x000) |
-i --id=(HEX|DEC|OCT) display mode of CAN-IDs (default=HEX) | --mask=<id> acceptance mask for 11-bit IDs (default=0x7FF) |
-d, --data=(HEX|DEC|OCT) display mode of data bytes (default=HEX) | --xtd-code=<id> acceptance code for 29-bit IDs (default=0x00000000) |
-a, --ascii=(ON|OFF) display data bytes in ASCII (default=ON) | --xtd-mask=<id> acceptance mask for 29-bit IDs (default=0x1FFFFFFF) |
-x, --exclude=[~]<id-list> exclude CAN-IDs: <id>[-<id>]{,<id>[-<id>]} | -m, --mode=(2.0|FDF[+BRS]) CAN operation mode: CAN 2.0 or CAN FD format |
-L, --list-boards list all supported CAN interfaces and exit | --listen-only monitor mode (transmitter is off) |
-T, --test boards list all available CAN interfaces and exit | --no-status-frames suppress reception of status frames |
-h, --help display this help screen and exit | --no-remote-frames suppress reception of remote frames |
--version show version information and exit | -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) |
| --list-bitrates[=<mode>] list standard bit-rate settings and exit |
| -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: | Interfaces: |
PCAN-USB1 | PCAN-USB1 |
^ can_moni (CAN Monitor using PCAN-USB) ^^ | ^ can_moni (CAN Monitor using PCAN-USB) ^^ |
^Developer |[[uwe.vogt@uv-software.de|Uwe Vogt]] | | ^Developer |[[uwe.vogt@uv-software.de|Uwe Vogt]] | |
^Current version |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/can_moni.0.5.3.tar.gz|Version 0.5 SR3 Build 1030]] of December 7, 2021 | | ^Current version |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/can_moni.0.6.1.tar.gz|Version 0.6 SR1 Build 2065]] of December 30, 2024 | |
^Documentation |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/can_moni.0.5.3.readme|README]] and program option ''--help'' | | ^Documentation |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/can_moni.0.6.1.readme|README]] and program option ''--help'' | |
^License |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/LICENSE|UVS Freeware License]] (without warranty or support) | | ^License |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/LICENSE|UVS Freeware License]] (without warranty or support) | |
^Standard(s) |CAN Specification 2.0 and CAN FD Specification | | ^Standard(s) |CAN Specification 2.0 and CAN FD Specification | |
^Driver(s) |[[uvs:programs:pcbusb_library|OS X Library for PCAN-USB Interfaces]] from [[http://www.uv-software.de|UV Software]] | | ^Driver(s) |[[uvs:programs:pcbusb_library|macOS Library for PCAN-USB Interfaces]] from [[http://www.uv-software.de|UV Software]] | |
^Category |Industrial communication, CAN, CAN FD, MacCAN | | ^Category |Industrial communication, CAN, CAN FD, MacCAN | |
^Operating system |OS X 10.8 (x86_64), since version 0.5 SR3 macOS 11.0 (x86_64 & arm64) | | ^Operating system |macOS 13.0 or later (x86_64 & arm64) | |
^Download server |[[uvs:programs:can_moni_mac|http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/]] | | ^Download server |[[uvs:programs:can_moni_mac|http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Utilities/can_moni/]] | |
| ^GitHub repo |[[https://github.com/mac-can/PCBUSB-Utilities]] | |
| |
===== CAN Monitor App for OS X ===== | ===== CAN Monitor App for OS X ===== |
^Developer |[[uwe.vogt@uv-software.de|Uwe Vogt]] | | ^Developer |[[uwe.vogt@uv-software.de|Uwe Vogt]] | |
^Current version |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App | ^Current version |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App |
/MacCAN_Monitor.0.4_uni.dmg|Version 0.4]] of December, 2021 | | /MacCAN_Monitor.0.5.1_uni.dmg|Version 0.5 SR1]] of November 4, 2023 | |
^Documentation |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App | ^Documentation |[[http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App |
/MacCAN_Monitor.0.4.pdf|Readme]] file and a screen [[http://www.uv-software.de//files/downloads/MacCAN/PCANUSB/Videos/MacCAN_Monitor_App | /MacCAN_Monitor.0.5.1.pdf|Readme]] file and a screen [[http://www.uv-software.de//files/downloads/MacCAN/PCANUSB/Videos/MacCAN_Monitor_App |
/MacCAN_Monitor.mov|video]] | | /MacCAN_Monitor.mov|video]] | |
^License |[[https://opensource.org/licenses/BSD-2-Clause|BSD 2-Clause]] "Simplified" License | | ^License |[[https://opensource.org/licenses/BSD-2-Clause|BSD 2-Clause]] "Simplified" License | |
^Driver(s) |[[uvs:programs:pcbusb_library|macOS Library for PCAN-USB Interfaces]] from [[http://www.uv-software.de|UV Software]] | | ^Driver(s) |[[uvs:programs:pcbusb_library|macOS Library for PCAN-USB Interfaces]] from [[http://www.uv-software.de|UV Software]] | |
^Category |Industrial communication, CAN, [[https://www.mac-can.com/|MacCAN]] | | ^Category |Industrial communication, CAN, [[https://www.mac-can.com/|MacCAN]] | |
^Operating system |OS X 10.9 (x86_64) or macOS 11.x (Universal macOS Binary) | | ^Operating system |OS X 10.13 (x86_64) or macOS 11.x (Universal macOS Binary) | |
^Download server |[[uvs:programs:maccan_monitor_app|http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App/]] | | ^Download server |[[uvs:programs:maccan_monitor_app|http://www.uv-software.de/files/downloads/MacCAN/PCANUSB/Applications/MacCAN_Monitor_App/]] | |
| ^GitHub repo |[[https://github.com/mac-can/PCBUSB-Monitor]] | |
^Additional information |PCAN is a registered trademark of [[http://www.peak-system.com/|PEAK-System Technik GmbH]], Darmstadt | | ^Additional information |PCAN is a registered trademark of [[http://www.peak-system.com/|PEAK-System Technik GmbH]], Darmstadt | |
| |
| |
===== CANopen Master Library ===== | ===== CANopen Master Library ===== |