Oh, and I guess anyone who has looked into this knows how the tables are formatted.
- First value at beginning of table is the input value to be used for the 'x-axis'. Hex values can correlate to RPM, Load, etc.
- The next hex number is the numver if variable inputs (a hex value of 0Ch is 12, 10h is 16. This is how many RPM/Load/whatever values will be referenced).
- The next N values are the RPM/Load/whatever values, but they will not immediately make sense.
- If it is a 2D table, the 'y-axis' is next, following the same format.
- So, if it is an N by M table, the next N*M vales are the lookup values (for fuel or spark advance). If just a table of N values in a single row, the next N values will be the fuel/spark values.
My understanding of RPM calculation. Say there are 16 RPM values in the table header. The LAST/16th one is the only one you can convert directly to RPM. You take the hex value, convert to decimal and multiply by 40. So, if that 16th value is 64h, or 100, the RPM represented is 4000. The others are calculated as: RPM = (value to the right - current value)*40. It would also seem that these values 'stack up' as you go. Like, if you are 4 bins from the 16th value, you would add the current bin, plus the 3 to the right, and subtract the sum from the 16th value. So, you could see something in the last 4 bins like: 0E 14 0E AF (5200 5700 6500 7000) => [(7000-500-800-500) (7000-500-800) (7000-500) (7000)]
I saw somewhere else that the last value is calculated as (256 - current bin's value)*40. The other values are treated the same as before. Who knows which way we go.
Now, I need help with this. I REALLY need to figure out/be told what the numbers are for RPM and Load. I have tried looking around at other cars, but every version of motronic uses different values for the inputs variables. We gatta figure this out!