![Titan Electronics USB-2CAN-M Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/titan-electronics/usb-2can-m/usb-2can-m_user-manual_1119781019.webp)
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
Содержание USB-2CAN-M
Страница 1: ...Titan Electronics Inc Web www titan tw USB 2CAN M USB CAN SI M USER S MANUAL 2019 Edition ...
Страница 5: ...4 9 6 13 Using the API in Python 70 9 6 14 Using the API in LabVIEW 71 ...
Страница 36: ...35 Connected to XXX kbits s firmware version VXXXX and operation mode at the bottom of the main panel ...
Страница 43: ...42 ...
Страница 62: ...61 Sample Command CAN_Status 2508 Checks the status bits of device connected to channel with the handle 2508 ...
Страница 66: ...65 break Status CAN_Close Handle printf Test finish n return 0 ...