USERCANDATA
Basic frame data from a CAN port
Platform: |
OEM719, OEM729, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7 |
The USERCANDATA log reports the received CAN basic frame data. Depending on the number of frames in the RX FIFO buffer, there will be multiple USERCANDATA logs published. There is an index field indicating the order of the frames received.
USERCANDATA messages are asynchronously published based on Message ID matches set by the acceptance filters of the USERCANOPEN command.
Message ID: 2316
Recommended Input:
log USERCANDATA onnew
Abbreviated ASCII Examples:
<USERCANDATA COM1 0 84.0 FINESTEERING 1994 257885.895 02000000 e3f6 32768
< CAN1 STD 178 8 AABBCCDDEEFF1122 123456 0
<USERCANDATA COM1 0 84.0 FINESTEERING 1994 257885.895 02000000 e3f6 32768
< CAN1 STD 178 5 3344556677 123456 1
<USERCANDATA COM1 0 84.0 FINESTEERING 1994 257885.895 02000000 e3f6 32768
< CAN1 EXT 1F567 8 1122334455667788 123456 2
Field |
Field Type |
Description |
Format |
Binary Bytes |
Binary Offset |
---|---|---|---|---|---|
1 |
Log header |
USERCANDATA header For information about log headers, see ASCII, Abbreviated ASCII or Binary. |
– |
H |
0 |
2 |
Port ID |
CAN port ID. See Table: CAN Port ID. |
Enum |
4 |
H |
3 |
Message Type |
Message type. See Table: CAN Message Type. |
Enum |
4 |
H+4 |
4 |
Message ID |
The Standard message ID has 11 bits. The Extended message ID has 29 bits. |
HexUlong |
4 |
H+8 |
5 |
DataLength |
The length of data to be written in bytes. Valid range is 0 to 8 inclusive. |
Ulong |
4 |
H+12 |
6 |
Data |
The data of this frame. |
HexByte Array |
N1 |
H+16 |
7 |
TransactionID |
The Transaction ID provided to the command. |
Ulong |
4 |
H+16+4*INT((N+3)/4) |
8 |
Frame Index |
The frame order. |
Ulong |
4 |
H+20+4*INT((N+3)/4) |
Binary |
ASCII |
Description |
---|---|---|
1 |
CAN1 |
CAN port 1 |
2 |
CAN2 |
CAN port 2 |
Binary |
ASCII |
Description |
---|---|---|
1 |
STD |
Standard message |
2 |
EXT |
Extended message |