Electronic – Why can the DLC (data length code) be 0 in CANBUS

can

In a lot of document I found out that the DLC can be from 0 to 8, but they don't say what purpose is of DLC being 0.

Best Answer

There are a couple of cases where this is of use.

Keepalive. If there is no data that actually needs to be sent but an indication that a node is active.

Trigger. If a node requests a certain type of data from another node, a specific ID is all that is required for a node to then transmit the needed data.