EasyManua.ls Logo

Titan Electronics USB-2CAN-M - ASCII Commands

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...
18
8.2 ASCII Command Set
The USB CAN adapter can be registered as a virtual serial port on the host computer.
With simple ASCII commands the USB CAN adapter can be controlled over this serial
port. User can send/receive commands from any simple serial terminal program.
Example: Set bitrate to 500Kbps, open CAN channel, send CAN frame (ID = 002h, DLC
= 3, Data = 11 22 33), close CAN:
Command
Response
Function
S6[CR]
[CR]
Set bitrate of USB CAN adapter to 500Kbps
O[CR]
[CR]
Open CAN channel
t0023112233[CR]
z[CR]
Send CAN message (ID = 002h, DLC = 3, Data = 11
22 33)
C[CR]
[CR]
Close CAN channel

Table of Contents