Go Back   The 75 and ZT Owners Club Forums > The 75 and ZT Owners Club Forums > Technical Help Forum
Register FAQ Image Gallery Members List Calendar
Notices

Reply
 
Thread Tools Display Modes
Old 10th November 2014, 20:48   #91
ClaretSupporter
Newbie
 
Rover 75 Saloon

Join Date: Apr 2014
Location: Newmarket
Posts: 4
Thanks: 0
Thanked 3 Times in 2 Posts
Default How coding works

Quote:
Originally Posted by Phil-T4 View Post
I'm feeling pretty pleased with myself as it only took me 3 hours to work this out..

Here is your challenge if you wish to accept it

Here are two encoded VIN numbers that i read from different EWS ecu's.

1C29B6D371D64B0CD088241041
1C29B6D345544C896046084046

Here are the decoded VIN's for the above

SARRJSTPB3D289111
SARRJHLHCYM162416

How is it done?

Good Luck
Phil
The coding is straight forward compression. There are 36 characters required which requires a total of 6 binary bits per character. As identified by others this gives the coding
0 -> 0x00 = 000000
1 -> 0x01 = 000001
2 -> 0x02 = 000010
3 -> 0x03 = 000011
.
.
.
9 -> 0x09 = 001001
A -> 0x0A = 001010
B -> 0x0B = 001011
.
.
.
Y -> 0x22 = 100010
Z -> 0x23 = 100011

To represent a 17 character VIN we require 17 * 6 = 102 bits.

Modern communication systems use 8 bit characters to transmit data so we can take this string of 102 bits and split it into 13 8 bit characters. As 13 * 8 = 104 we have to pad the 102 bits with an extra two zeros at the front.

The first example with padding becomes
S A R R J S T P
00 011100 001010 011011 011011 010011 011100 011101 011001
B 3 D 2 8 9 1 1 1
001011 000011 001101 000010 001000 001001 000001 000001 000001

Regrouping into eight bit bytes we get

00011100 00101001 10110110 11010011 01110001 11010110 01001011
1C 29 B6 D3 71 D6 4B
00001100 11010000 10001000 00100100 00010000 01000001
0C D0 88 24 10 41

I hope this explanation will show why the algorithms described in this thread are required to split the sequence of 8 bit bytes into a sequence of 6 bit bytes.
ClaretSupporter is offline   Reply With Quote
Old 11th November 2014, 06:04   #92
Phil-T4
I really should get out more.......
 
Phil-T4's Avatar
 
MG ZT-T, Rover 75 Tourer

Join Date: Mar 2011
Location: Olney
Posts: 2,969
Thanks: 245
Thanked 1,088 Times in 657 Posts
Default

Excellent explanation - thank you
Phil-T4 is offline   Reply With Quote
Old 11th November 2014, 15:14   #93
Avulon
This is my second home
 
1.8t Tourer

Join Date: Oct 2011
Location: Tanelorn
Posts: 4,830
Thanks: 956
Thanked 1,148 Times in 916 Posts
Default Spreadsheet

And here's an Excel spreadsheet to make it easy, (can you tell I really don't want to be doing what I'm supposed to be doing ).
Attached Files
File Type: zip EWS_Vin_decode.zip (8.9 KB, 46 views)
__________________
Need a T4 ?: T4 Owners Map thanks to Stevestrat ( use at your own risk)

Where?:
https://en.wikipedia.org/wiki/Tanelorn
Mods/Retrofits:

PCV vortex 'filter'; bluetooth; inline thermostat; reversing sensors; plenum spyhole ; headlamp washers ; Diy mp3 player replacing CD multichanger; FBH with remote; Headlamp washers; black/chrome front grille, rear blind; Xenon projectors
To do:
puddle lights; 2 Din cd/nav to fit; boot release button
Avulon is offline   Reply With Quote
Old 20th November 2014, 14:37   #94
ClaretSupporter
Newbie
 
Rover 75 Saloon

Join Date: Apr 2014
Location: Newmarket
Posts: 4
Thanks: 0
Thanked 3 Times in 2 Posts
Default Web page to illustrate the mapping

For people who prefer a picture to my explanation above, the following web page will show the mapping from either a coded or an uncoded VIN. It also provides a decoding of the various components using the information provided by Reebs.
click here
ClaretSupporter is offline   Reply With Quote
Old 24th April 2023, 06:32   #95
tomcat22
Avid contributor
 
some MG-Rovers

Join Date: Mar 2007
Location: Erlangen
Posts: 234
Thanks: 59
Thanked 3 Times in 3 Posts
Default

Do you know what the "ECD" stands for?
ECD options are none, ECD2 & ECD3

Quote:
Originally Posted by Conni View Post
Hello Together,

here the meaning of the HexCodes of the code ZCS.
The Checksum is in brackets and here it concerns not HexCodes,
but these are with the biggest likelyhood Alphanumerics.
I cannot say the other to the Checksum,
because moreover I myself still look for explanations.

GM
73220121(5)

7=R75-Basis, 3=M47R, 2=2.0 Liter,2=RHD, 0=GM5 no choice like zero, 1=UK, 2=Manual, 1=English UK

SA
422748C08700843A(J)

4=Tourer, 2=Alarm withUS, 2=RainSensor, 7=(4=PDC KMC Sounder, 2=PDC, 1=RearWashWipe),
8=CruiseControl, C=12(8=OneShut Up, 4=OneShut Down), 0=SA7 no choice, 8=ATC Aircon,
7=(4=NoRearPretensioner, 2=AirbagCourtain, 1=SideAirbag), 0=SAA no choice, 0=SAB n.choi.,
8=EOBD, 4=Diesel Fuel, 3=(2=ECD 2, 1=ACU C10), A=10(8=AntiTrap, 2=el.Front+Rear Window

VN
1800001043(W)

1=XPOWER, 8=135 PS, 0=no choice, 0=no choice, 0=VN4 no choice, 0=VN5 no choice,
1=PDC 003, 0=VN7 no choice, 4=KBM C04 Rover-Diesel, 3=(2=LSM C28, 1=GM6 C04)

that's it!

I have found into two queries concerning 'RainSensor'.
Both have in each case the value 2, but in different positions.
Sometimes becomes after 'RainSensor' asked and sometimes after 'RainSensor G2'.
If different versions are meant herewith or somebody can give me an explanation moreover.
If so, then already Thanks in Ahead.

Greetings

Conni
tomcat22 is offline   Reply With Quote
Old 24th April 2023, 14:17   #96
BigRuss
Premium Trader
 
BigRuss's Avatar
 
75 CDT Tourer,2.5 Launch Saloon, Omipro MG/Rover (T4)

Join Date: Jul 2007
Location: Liversedge, West Yorkshire
Posts: 5,420
Thanks: 1,105
Thanked 1,340 Times in 661 Posts
Default

Quote:
Originally Posted by tomcat22 View Post
Do you know what the "ECD" stands for?
ECD options are none, ECD2 & ECD3
European Commission Directive 2 or 3

It's the Euro emmisions rating.

Russ
__________________


Replacement Key Service
http://https://the75andztclub.co.uk/...d.php?t=244732
Full T4 Testbook diagnostics available.
Diesel ECU repair and replacement.
Options enabled or disabled as required.
Diesel X-Power 135 and "160", Rover 1.8T 150 to 160
MG 160 V6 to 177 upgrades available
P.M. for details.
BigRuss is offline   Reply With Quote
Old 28th April 2023, 09:21   #97
tomcat22
Avid contributor
 
some MG-Rovers

Join Date: Mar 2007
Location: Erlangen
Posts: 234
Thanks: 59
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by BigRuss View Post
European Commission Directive 2 or 3

It's the Euro emmisions rating.

Russ
Many thanks. Imho ECD2 does not make sense for our cars.
Also not sure how if it changes anything
tomcat22 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 13:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright © 2006-2023, The Rover 75 & MG ZT Owners Club Ltd