Pages: [1]
Author Topic: logging and conversions  (Read 4123 times)
tao13
Sr. Member
****

Karma: +16/-46
Offline Offline

Posts: 460


« on: February 06, 2023, 01:11:18 PM »

Nyet please tell me about conversion factors A and B:
formula is 
readbyte x conversionA - conversionB
or
readbyte x conversionA + conversionB

I tried to read variables with arduino , with help from Adam.
I read a lot ok, but only with conversionA factor.
I use what me7logger generate file.ecu
I have a problem with tmoltin and tanslin
In ecu file they are in Celsius degree , but i saw in ecuexplot tanslin is in F and tmotlin is in C, but if i use file.ecu conversions......i have strange values.
Other things if you want to advice us, ltft and stft , after my mind i thinked they look the same like blocks 32 in vcds, but....not, they log  with other values. For example i have partial adaption in vcds 0.8 and with me7logger fra_w is 1.01.May i wrong , they are not the same variables?
Thanks in advance
Logged
nyet
Administrator
Hero Member
*****

Karma: +604/-166
Offline Offline

Posts: 12233


WWW
« Reply #1 on: February 06, 2023, 04:35:11 PM »

I have no idea what you are asking.

split and moved since it was totally off topic where you left it originally.
Logged

ME7.1 tuning guide (READ FIRST)
ECUx Plot
ME7Sum checksum checker/corrrector for ME7.x

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience.
tao13
Sr. Member
****

Karma: +16/-46
Offline Offline

Posts: 460


« Reply #2 on: February 08, 2023, 10:46:31 AM »

tmotlin         , {CoolantTemperature}              , 0x38489F,  1,  0x0000, {°C}      , 0, 0,         0.75,     48, {Motortemperatur, linearisiert und umgerechnet}

I read address 0x38489F
So tmotlin is  (value_read X0.75) - 48 and tanslin the same formula , right?


Logged
nyet
Administrator
Hero Member
*****

Karma: +604/-166
Offline Offline

Posts: 12233


WWW
« Reply #3 on: February 08, 2023, 01:09:12 PM »

Now I understand your question:

Correct. In ME7Logger, it is (A*x - B)

In Winols, there is no implied automatic - (which is confusing)

You can see this in the xdfs as well

Code:
    <title>KFTARX</title>
    <description>Maximum specified load IAT correction factor map</description>
    <CATEGORYMEM index="0" category="16" />
    <XDFAXIS id="x" uniqueid="0x0">
      <EMBEDDEDDATA mmedaddress="0x1010C" mmedelementsizebits="8" mmedmajorstridebits="8" />
      <units>Grad C</units>
      <indexcount>8</indexcount>
      <embedinfo type="1" />
      <datatype>0</datatype>
      <unittype>0</unittype>
      <DALINK index="0" />
      <MATH equation="0.750000 * X+ -48.000000">

vs

Code:
000C, 00, tans                , 0, {°C      }, 0, 0,   0.75,        48, {Ansaugluft - Temperatur}
Logged

ME7.1 tuning guide (READ FIRST)
ECUx Plot
ME7Sum checksum checker/corrrector for ME7.x

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience.
tao13
Sr. Member
****

Karma: +16/-46
Offline Offline

Posts: 460


« Reply #4 on: February 21, 2023, 01:48:48 PM »

Thanks for confirmstion.
Logged
tao13
Sr. Member
****

Karma: +16/-46
Offline Offline

Posts: 460


« Reply #5 on: February 27, 2023, 12:52:35 PM »

Hi again.
I try to read fra_w , adaption partial and must be in vcds block 32 field 2
I multiplied read value from ecu (018H address 0x381F58) with .0000305176 (i think it is what i found in created ecu file 3.05176e-005).
I have a value 1.01 and in vcds i have -3.1.
Logged
nyet
Administrator
Hero Member
*****

Karma: +604/-166
Offline Offline

Posts: 12233


WWW
« Reply #6 on: February 27, 2023, 01:13:25 PM »

The VCDS block value isn't the same as the RAM variable in this case (and others); not sure why.
Logged

ME7.1 tuning guide (READ FIRST)
ECUx Plot
ME7Sum checksum checker/corrrector for ME7.x

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience.
tao13
Sr. Member
****

Karma: +16/-46
Offline Offline

Posts: 460


« Reply #7 on: February 28, 2023, 12:30:33 AM »

In this case my braind go in other place and ask how we adjust tvub and krkte, after witch values , me7logger or vcds?
In wiki is wrote
"LTFT:

Group 032: 001F (rkat_w), 0021 (fra_w), 0020 (rkat2_w), 0022 (fra2_w)

STFT:

Group 033: 001C (fr_2), 0025 (usvk ), 001D (fr2_w), 0026 (usvk2 ) "

Other issue what i saw when i read from memory a variable from ecu with kwp2000: read zwist it is sigened variable and from time to time i received 191 value. Maybe my conversion is wrong? I read it as int16.
« Last Edit: February 28, 2023, 08:17:48 AM by tao13 » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.016 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)