CAN payload encoder & decoder
Read a signal from CAN bytes or write a new value into a payload. Supports Intel and Motorola DBC bit ordering, including CAN FD.
Your result
ON YOUR DEVICEEnter your inputs and calculate to see the result.
One signal. Both directions.
The example decodes bytes 68 13 as little-endian raw 4968, giving 621 rpm. Encoding changes only the selected signal bits and preserves the rest of the payload. Signed fields use two’s complement. All 64 integer bits are retained.
Intel: start, start + 1, start + 2, …
Motorola: descend within a byte; bit 0 → bit 7 of the next byte