EasyManua.ls Logo

Titan Electronics USB-2CAN-M - Table of Contents

Titan Electronics USB-2CAN-M
76 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2
Contents
1 INTRODUCTION ........................................................................................................... 5
2 FEATURES .................................................................................................................... 6
3 DIAGRAM OF USB-2CAN-M/USB-2CAN-SI-M ............................................................. 7
3.1 BLOCK DIAGRAM .................................................................................................. 7
3.1.1 USB-2CAN-M Block Diagram ......................................................................... 7
3.1.2 USB-2CAN-SI-M Block Diagram ..................................................................... 7
4 SPECIFICATIONS .......................................................................................................... 8
5 PIN-OUT INFORMATION ........................................................................................... 11
5.1 CAN Bus Pin-out for DB9 connector .................................................................. 11
5.2 Enabling the +5V 100mA power for external devices ....................................... 11
5.3 Termination Resistors ........................................................................................ 12
6 HARDWARE INSTALLATION ....................................................................................... 13
7 DRIVER AND SOFTWARE INSTALLATION ................................................................... 14
7.1 Driver Installation............................................................................................... 14
7.2 Verifying the Installation .................................................................................... 14
7.3 Changing COM Port Properties & COM Port Number ....................................... 15
7.4 Linux Driver Installation(SocketCAN) ................................................................. 16
7.4.1 Using SocketCAN with USB-CAN ................................................................. 16
8 FUNCTION DESCRIPTION........................................................................................... 17
8.1 LED Indicators .................................................................................................... 17
8.2 ASCII Command Set............................................................................................ 18
8.3 Command list ..................................................................................................... 19
8.3.1 Opening the CAN Bus Channel .................................................................... 20
8.3.2 Closing the CAN Bus Channel ...................................................................... 20
8.3.3 Setting CAN Bitrate (Standard) ................................................................... 21
8.3.4 Setting CAN Bitrate (Advanced) .................................................................. 22
8.3.5 Transmitting a Standard CAN Frame .......................................................... 23
8.3.6 Transmitting a Standard Remote Request CAN Frame .............................. 23
8.3.7 Transmitting an Extended CAN Frame ........................................................ 24
8.3.8 Transmitting an Extended Remote Request CAN Frame ............................ 24
8.3.9 Setting Timestamps ON/OFF ...................................................................... 25
8.3.10 Setting Acceptance Mask .......................................................................... 26
8.3.11 Setting Acceptance Code .......................................................................... 27
8.3.12 Getting Status Flags .................................................................................. 28

Table of Contents