Skip to content

Diagnosis Data Messages

Device ID

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 0x40 Device ID string (request: no additional data bytes)
Data (only on reply) 0x00-0xFF ID string (only on response)
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Hardware / Software version

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 0x41 Hardware / Software version (request: no additional data bytes)
Data (only on reply) 0x00-0xFF Byte 0-1: hardware version of the device
Byte 2-3: software version of the firmware
Byte 4-5: software version of the bootloader
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Error status

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 0x42 Error status (request: no additional data bytes)1
0x43 Error status message which contains an additional timestamp value2 (no request command, only response message)
Data (only on reply) 0x00-0xFF Byte 0:
bit 0: CAN receive buffer overflow
bit 1: CAN transmit timeout
bit 2: CAN error counter overflow
bit 3: CAN bus-off error
bit 4: host interface syntax error
bit 5: host interface format error
bit 6: host interface transmit buffer overflow
bit 7: not used

Byte 1 (last error code of the CAN controller):
0: no error
1: more than 5 equal bits occurred in a sequence
2: received message does not have the correct format
3: transmitted message was not acknowledged
4: not possible to set recessive level during transmission
5: not possible to set dominant level during transmission
6: received CRC checksum was incorrect
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Note

The device generates an error status message automatically every time the error status changes.

Interfaces version

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 0x44 Interfaces version (e.g. Bluetooth module, Wi-Fi®-module, …), request: no additional data bytes1
Data (only on reply) 0x00-0xFF ASCII coded version string
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Note

The module is selectable.

Current CAN busload

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 0x47 Current busload in messages per second (request: no additional data bytes)1
Data (only on reply) 0x00-0xFF Byte 0-1: unsigned integer value, size 16 bit (MSB first)
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Device busy / command not supported

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 0x48 Device cannot execute command (only response on other commands)1
Data 0x00-0xFF Reserved for future use
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Set CAN transmit delay time

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 0x49 Set CAN transmit delay time1
Data 0x00-0xFF Unsigned integer value, size 16 bit (MSB first); the RAM parameter is reset to 0 after a device reset.
Delay time until the next command is evaluated, in 10 ms steps; this value only applies once.
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

  1. This message also supports the extended PDU format. ↩↩↩↩↩

  2. Enable this option with Change Timestamp settings to receive a timestamp. ↩