# CODING CCM.

B6 COMFORTCONTROL MODULE CODING.

Module 46

Coding: 0191020851030E763804941570085BCE103C80

This example is a Hexadecimal number 19 Bytes long (Byte 00 to Byte 18)

e.g.

0191020851030E763804941570085BCE103C80

*taken from a 2005 Passat. “S” spec.

Bytes read left to right so first byte is 01 and is known as byte 00 which is confusing..

Last byte is 80 which is the 19 th byte but is known as byte 18 because the count starts at 00 not at 1.

This number is best viewed as a collection of BYTES.

e.g.

01...91...02...08...51...03...0E...76...38...04...94...15...70…08...5B...CE...10...3C...80

Each Hexadecimal BYTE can be converted into an 8 digit BINARY number.

The Chart below helps. (You only need convert one digit at a time)

e.g.

01 Hex = 0000 & 0001 which is 00000001

91 Hex = 1001 & 0001 which is 10010001

01...91...02...08...51...03...0E...76...38...04...94...15...70…08...5B...CE...10...3C...80

This Hexadecimal converts to the binary string below;

Start

0,0,0,0,0,0,0,1 1,0,0,1,0,0,0,1 0,0,0,0,0,0,1,0 0,0,0,0,1,0,0,0 0,1,0,1,0,0,0,1 0,0,0,0,0,0,1,1 0,0,0,0,1,1,1,0 0,1,1,1,0,1,1,0 0,0,1,1,1,0,0,0 0,0,0,0,0,1,0,0 1,0,0,1,0,1,0,0 0,0,0,1,0,1,0,1 0,1,1,1,0,0,0,0 0,0,0,0,1,0,0,0 0,1,0,1,1,0,1,1 1,1,0,0,1,1,1,0 0,0,0,1,0,0,0,0 0,0,1,1,1,1,0,0..

1,0,0,0,0,0,0,0 end

(I have inserted lots of comma’s to make it easier to convert into a table)

This binary string can be displayed more easily as a table.

e.g.