Process Data Messages¶
These messages transmit received CAN messages to the host, or send CAN messages from the host to the CAN network.
CAN data frame reception¶
The gateway transfers CAN data frame messages received from the CAN bus to the host interface in the following format.1
| Field | Value | Description |
|---|---|---|
| SOF (Start of Frame) | 0x43 |
SOF marks the beginning of the PDU. |
| Length | xx |
The Length field indicates the length (in bytes) of the Command + Data fields. |
| Command | 0x00 |
11-bit ID CAN message received |
0x01 |
11-bit ID CAN message received, the message contains an additional 32-bit timestamp value. | |
0x02 |
29-bit ID CAN message received | |
0x03 |
29-bit ID CAN message received, the message contains an additional 32-bit timestamp value. | |
| Data (11-bit ID messages) | 0x00-0xFF |
Byte 0-1: 11-bit CAN ID (MSB first) Additional data bytes: up to 8 CAN data bytes, plus an additional 32-bit timestamp value if the timestamp option is enabled.2 |
| Data (29-bit ID messages) | 0x00-0xFF |
Byte 0-3: 29-bit CAN ID (MSB first) Additional data bytes: up to 8 CAN data bytes, plus an additional 32-bit timestamp value if the timestamp option is enabled.2 |
| Checksum | xx |
XOR checksum of SOF, Length, Command, and Data fields. |
| EOF (End of Frame) | 0x0D |
EOF byte marks the end of the PDU. |
Transmit CAN data frame¶
To transmit CAN data frame messages to the CAN bus, the host interface sends data to the gateway in the following format.1
| Field | Value | Description |
|---|---|---|
| SOF (Start of Frame) | 0x43 |
SOF marks the beginning of the PDU. |
| Length | xx |
The Length field indicates the length (in bytes) of the Command + Data fields. |
| Command | 0x00 |
Transmit 11-bit ID CAN data frame |
0x02 |
Transmit 29-bit ID CAN data frame | |
| Data (11-bit ID messages) | 0x00-0xFF |
Byte 0-1: 11-bit CAN ID (MSB first) Additional data bytes: up to 8 CAN data bytes |
| Data (29-bit ID messages) | 0x00-0xFF |
Byte 0-3: 29-bit CAN ID (MSB first) Additional data bytes: up to 8 CAN data bytes |
| Checksum | xx |
XOR checksum of SOF, Length, Command, and Data fields. |
| EOF (End of Frame) | 0x0D |
EOF byte marks the end of the PDU. |
CAN remote frame reception¶
The gateway transfers CAN remote frame messages received from the CAN bus to the host interface in the following format.1
| Field | Value | Description |
|---|---|---|
| SOF (Start of Frame) | 0x43 |
SOF marks the beginning of the PDU. |
| Length | xx |
The Length field indicates the length (in bytes) of the Command + Data fields. |
| Command | 0x04 |
11-bit ID CAN remote frame received |
0x05 |
11-bit ID CAN remote frame received, the message contains an additional 32-bit timestamp value. | |
0x06 |
29-bit ID CAN remote frame received | |
0x07 |
29-bit ID CAN remote frame received, the message contains an additional 32-bit timestamp value. | |
| Data (11-bit ID remote frames) | 0x00-0xFF |
Byte 0-1: 11-bit CAN ID (MSB first) Additional data bytes: DLC (CAN remote frame Data Length Code), plus an additional 32-bit timestamp value if the timestamp option is enabled.2 |
| Data (29-bit ID remote frames) | 0x00-0xFF |
Byte 0-3: 29-bit CAN ID (MSB first) Additional data bytes: DLC (CAN remote frame Data Length Code), plus an additional 32-bit timestamp value if the timestamp option is enabled.2 |
| Checksum | xx |
XOR checksum of SOF, Length, Command, and Data fields. |
| EOF (End of Frame) | 0x0D |
EOF byte marks the end of the PDU. |
Transmit CAN remote frame¶
To transmit CAN remote frame messages to the CAN bus, the host interface sends data to the gateway in the following format.1
| Field | Value | Description |
|---|---|---|
| SOF (Start of Frame) | 0x43 |
SOF marks the beginning of the PDU. |
| Length | xx |
The Length field indicates the length (in bytes) of the Command + Data fields. |
| Command | 0x04 |
Transmit 11-bit ID CAN remote frame |
0x06 |
Transmit 29-bit ID CAN remote frame | |
| Data (11-bit ID remote frames) | 0x00-0xFF |
Byte 0-1: 11-bit CAN ID (MSB first) Additional data byte: DLC (CAN remote frame Data Length Code) |
| Data (29-bit ID remote frames) | 0x00-0xFF |
Byte 0-3: 29-bit CAN ID (MSB first) Additional data byte: DLC (CAN remote frame Data Length Code) |
| Checksum | xx |
XOR checksum of SOF, Length, Command, and Data fields. |
| EOF (End of Frame) | 0x0D |
EOF byte marks the end of the PDU. |
RS232 data frame transmit and reception¶
The gateway transfers RS232 data received on its serial interface to the host, and transmits RS232 data sent from the host to the gateway's serial interface, in the following format.
| Field | Value | Description |
|---|---|---|
| SOF (Start of Frame) | 0x43 |
SOF marks the beginning of the PDU. |
| Length | xx |
The Length field indicates the length (in bytes) of the Command + Data fields. |
| Command | 0x09 |
RS232 data frame |
| Data | xx |
RS232 data |
| Checksum | xx |
XOR checksum of SOF, Length, Command, and Data fields. |
| EOF (End of Frame) | 0x0D |
EOF byte marks the end of the PDU. |
Receive Optimization Block¶
| Field | Value | Description |
|---|---|---|
| SOF (Start of Frame) | 0x43 |
SOF marks the beginning of the PDU. |
| Length | xx |
The Length field indicates the length (in bytes) of the Command + Data fields. |
| Command | 0x08 |
Receive Optimization Block |
| Data | xx |
Receive Optimization data |
| Checksum | xx |
XOR checksum of SOF, Length, Command, and Data fields. |
| EOF (End of Frame) | 0x0D |
EOF byte marks the end of the PDU. |
-
This message also supports the extended PDU format. ↩↩↩↩
-
Enable this option with Change Timestamp settings to receive a timestamp. ↩↩↩↩