That's kind of what I was getting at so FF or FFFF are the max values etc.
BUT there is a few odd factors that get me confused when I find them, for example:
(ME9 style maps here but ME7 file with DECOS and ME9 style functions)
DSVDGRAD (DSLGRAD in most other ME7 files) is part of %GGPVD and all factors that I've found in A2L's point to a factor of 0.015625. Also in all ME7 files that I've seen, value of this map in decimal is 540.00. It doesn't make sense for this to be to be any greater number as it's a factor for calculating v-out to pvdr_w so 4.87v * 540 = 2629.8 for example. These calculations fall into the realm of the Bosch datasheets that I see for all of the 2500 sensors, including mine.
Now I have disassembled my file and am 100% certain that I have the correct location, if I use the factor of 0.015625 the map value for DSVDGRAD is incorrect and comes to 651.23xxx, obviously the easy method is to back calculate the factor as we know the value should be 540. But I just can't understand WHY LOL, it's doing my head in...It can't be anything to-do with tick speed as it's not timing/tick based, it's just a factor. So the max value must be different for some bizzare reason.
So 0.015625 * 65536 = 1024 (max value)
Here is the maths on how to work out factors from the A2L BTW:
(VAG MED9 A2L)
"Gradient für Drucksensor vor Drosselklappe"
1023.984 (Total swing of value)
dgrad_uw_q0p015 (COMPU_METHOD) - can be shared etc.
0.00 (min value)
1023.984 (max value)
y=mx+b equation:- (0 - 1023.984) = 1023.984 / (0 - 65536) = 65536 (WORD) + 0 (no offset) = 0.015624755859375
So y = 0.015624755859375 = factor of DSVDGRAD for MED9/ME7 IF the min and max values are as above and the map is a WORD.
Major old edit.......... I was right, but didn't realise sensor was different