24
8.3.7
Transmitting an Extended CAN Frame
Transmitting an extended CAN frame (ID: 29 bit) over a CAN bus can be done with the
command Tiiiiiiiildddd...dd[CR]. The return value will be Z[CR] or the normal error byte
(BELL). The command is only available when the CAN bus channel is open.
Command
Response Function
Tiiiiiiiildddd…dd[CR]
Z[CR]
Transmits an extended CAN frame (11 bit) over
the CAN bus
iiiiiiii: Extended CAN frame (29 bit) identifier in hexadecimal format (00000000-
1FFFFFFF).
l: CAN data length (0-8) DLC, with the maximum value being 8 (8 bytes).
dd: Data byte value in hexadecimal format (00-FF). The number of bytes must be equal
to the data length field.
Example: T1FFFFFFF3112233[CR] will send an extended CAN frame with ID =
1FFFFFFFh, DLC = 3, data = 11 22 33.
8.3.8
Transmitting an Extended Remote Request CAN Frame
Transmitting an extended remote request CAN frame (ID: 29 bit) over a CAN bus can
be done with the command Riiiiiiiil[CR]. The return value will be Z[CR] or the normal
error byte (BELL). The command is only available when the CAN bus channel is open.
Command
Response Function
Riiiiiiiil[CR]
Z[CR]
Transmits an extended remote request (29 bit)
over the CAN bus
iiiiiiii: Extended remote request CAN frame (29 bit) identifier in hexadecimal format
(00000000-1FFFFFFF).
l: CAN data length to request (0-8) DLC, with the DLC maximum value being 8 (8 bytes).
Example: R100000023[CR] will send an extended remote request CAN frame with ID
= 10000002h, DLC = 3 and request 3 data bytes.
Содержание 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 ...