Skip to main content

How to decode IO398 Bitmap parameter

How to decode IO398 Bitmap parameter

Updated over 3 weeks ago

This Knowledge article will help to understand how the IO398 CAN door status parameter works and how it is possible to decode it.

IO 398 CAN door status is a bitmap parameter, which combines IO368 to 397 parameters in one parameter and saves a lot of IO slot.
The parameter works according to SPN 3412-3441.

The IO398 is in Little indian structure, which means lower bits come first (0 to 63, as bits are counting from 0). Here screenshot that allows you to understand how parameters are combined:

NOTICE! The last 59-63 bits will always be 0 (not used).


So, to review the first combination (Little-indian structure, lower bits come first):

0-1 bit is 368 CAN lock status door 1

2-3 bit is 369 CAN open status door 1

4-5 bit is 370 CAN enable status door 1

Each 2 bits provides a value, as starting from 0-1 bit (in bitmask, it's CAN lock status door 1):

0=unlocked:


1=locked:

2=error:

3=not available:

Additional example: when Door3 and Door7 are in use, the other ones will have error values.


Door3 will be unlocked/error/enabled.

Door7 will be error/error/enabled.

As you see, the calculator doesn‘t show the first 0 value, but we know that the last 59-63 bits will be 0, which means in HEX it would be like this:


0x0FFF FDAF FFFD 8FFF

Did this answer your question?