Notices
ECU Flash

2-byte RPM HOW-TO

Thread Tools
 
Search this Thread
 
Old Oct 3, 2007, 07:46 AM
  #31  
Evolving Member
Thread Starter
iTrader: (4)
 
roger smith's Avatar
 
Join Date: Dec 2003
Location: Ventura County, CA
Posts: 357
Likes: 0
Received 0 Likes on 0 Posts
fryedchikin, here is an example for requestIDs 2 and 3

Code:
<Request LogReference="RequestID02" RequestID="02" Eval="x" Unit="INT" Logged="y" Response="2" />
<Request LogReference="RequestID03" RequestID="03" Eval="x" Unit="INT" Logged="y" Response="2" /> 
<Request LogReference="RPM-2byte" RequestID="FF" Eval="((256*RequestID02)+RequestID03)*1000/256" Unit="2byteRPM" Logged="y" Response="2" />
Old Oct 3, 2007, 04:37 PM
  #32  
Evolved Member
iTrader: (17)
 
Jack_of_Trades's Avatar
 
Join Date: Jun 2007
Location: Opelika,AL
Posts: 3,523
Likes: 0
Received 2 Likes on 1 Post
Well, I found a small glitch than MIGHT cause a headache to anyone trying to get their evoscan to log the right values. As Dave mentioned already, you might need to change the evalution formula to 1000x/256. This doesn't work and the values come out screwy with evoscan unless its written as 1000*x/256. Without the asterisk, it doesn't complete the formula correctly. I also changed the scaling to mimic the standard RPM values on the graphs so the 2 byte rpm doesn't go wayyy off the charts as the rpm goes up.

Here's the code I am currently using and it works great:

Code:
<DataListItem DataLog="N" Color="" Display="RPM MUT 2Byte Mod" LogReference="RPMMUT2Byte" RequestID="02" RequestID2="03" Eval="1000*x/256" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="8" ChartMin="0" ChartMax="80" ScalingFactor="0.01" Notes=""/>

Last edited by Jack_of_Trades; Oct 4, 2007 at 03:21 PM.
Old Oct 3, 2007, 04:44 PM
  #33  
Evolved Member
iTrader: (12)
 
laakness's Avatar
 
Join Date: Mar 2004
Location: Fox Valley
Posts: 504
Likes: 0
Received 1 Like on 1 Post
Originally Posted by Jack_of_Trades
Well, I found a small glitch than MIGHT cause a headache to anyone trying to get their evoscan to log the right values. As Dave mentioned already, you might need to change the evalution formula to 1000x/256. This doesn't work and the values come out screwy with evoscan unless its written as 1000*x/256. Without the asterisk, it doesn't complete the formula correctly. I also changed the scaling to mimic the standard RPM values on the graphs so the 2 byte rpm doesn't go wayyy off the charts as the rpm goes up.

Here's the code I am currently using and it works great:

Code:
<DataListItem DataLog="N" Color="" Display="RPM MUT 2Byte Mod" LogReference="RPMMUT2Byte" RequestID="02" RequestID2="03" Eval="31.25*x" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="8" ChartMin="0" ChartMax="80" ScalingFactor="0.01" Notes=""/>

Jack, you beat me to it I was just coming on to post about the * thing. Nice work getting this all in one thread.
Old Oct 3, 2007, 06:08 PM
  #34  
Evolved Member
iTrader: (12)
 
trinydex's Avatar
 
Join Date: Jan 2004
Location: not here
Posts: 6,072
Likes: 0
Received 7 Likes on 6 Posts
how does the * fix it?
Old Oct 3, 2007, 06:14 PM
  #35  
Evolved Member
iTrader: (17)
 
Jack_of_Trades's Avatar
 
Join Date: Jun 2007
Location: Opelika,AL
Posts: 3,523
Likes: 0
Received 2 Likes on 1 Post
It makes the formula "correct". Otherwise the program gets confused and calculates the wrong values. The asterisk is the multiply symbol for whomever doesn't know that (not saying you didn't). Don't know why evoscan won't work without it, it just doesn't

Last edited by Jack_of_Trades; Oct 3, 2007 at 07:37 PM.
Old Oct 3, 2007, 06:42 PM
  #36  
Evolving Member
 
fryedchikin's Avatar
 
Join Date: Mar 2006
Posts: 228
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by roger smith
fryedchikin, here is an example for requestIDs 2 and 3

Code:
<Request LogReference="RequestID02" RequestID="02" Eval="x" Unit="INT" Logged="y" Response="2" />
<Request LogReference="RequestID03" RequestID="03" Eval="x" Unit="INT" Logged="y" Response="2" /> 
<Request LogReference="RPM-2byte" RequestID="FF" Eval="((256*RequestID02)+RequestID03)*1000/256" Unit="2byteRPM" Logged="y" Response="2" />
Thanks a bunch, it works like a charm
Old Oct 4, 2007, 11:04 AM
  #37  
Evolved Member
iTrader: (66)
 
Jeff_Jeske's Avatar
 
Join Date: Jan 2003
Location: On the track
Posts: 4,358
Received 6 Likes on 6 Posts
WOW I have a headache from reading about all this two byte crap!!!

Here is what I have in my type 15 XML (entered values are listed in table name)


<table name="2-byte load high 27458" address="3EE86" category="MUT" type="1D" level="1" scaling="uint16" />
<table name="2-byte load low 27459" address="3EE8A" category="MUT" type="1D" level="1" scaling="uint16" />

<table name="2-byte Airflow High 27550" category="MUT" address="3EE8E" type="1D" level="1" scaling="uint16"/>
<table name="2-byte Airflow Low 27551" category="MUT" address="3EE92" type="1D" level="1" scaling="uint16"/>

<table name="2-byte RPM high 0x6B1E" address="3EE96" category="MUT" type="1D" level="1" scaling="Hex16" />
<table name="2-byte RPM low 0x6B1F" address="3EE9A" category="MUT" type="1D" level="1" scaling="Hex16" />

I have request:

00 and 01 for 2B-Load
02 and 03 for 2B-Airflow
04 and 05 for 2B-RPM

I've edited my EVOScan as well:

<DataListItem DataLog="N" Color="" Display="2-Byte Load Mod 00/01" LogReference="LoadMUT2Byte" RequestID="00" RequestID2="01" Eval="0.3125x" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="500" ChartMin="0" ChartMax="500" ScalingFactor="1" Notes=""/>

<DataListItem DataLog="Y" Color="" Display="2-Byte AirFlow Mod 02/03" LogReference="AirFlow2Byte" RequestID="02" RequestID2="03" Eval="6.29x/64" Unit="Hz" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="3000" ChartMin="0" ChartMax="3000" ScalingFactor="1" Notes=""/>

<DataListItem DataLog="N" Color="" Display="2Byte RPM Mod 04/05" LogReference="RPMMUT2Byte" RequestID="04" RequestID2="05" Eval="1000*x/256" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="8000" ChartMin="0" ChartMax="8000" ScalingFactor="0.1" Notes=""/>


What else do I need to add to my EVOScan XML for display purposes? (formulas???)

Last edited by Jeff_Jeske; Oct 4, 2007 at 11:24 AM.
Old Oct 4, 2007, 11:34 AM
  #38  
Evolving Member
iTrader: (4)
 
merkzu's Avatar
 
Join Date: Dec 2006
Location: Twin Cities, MN
Posts: 392
Likes: 0
Received 1 Like on 1 Post
Originally Posted by Jack_of_Trades

Here's the code I am currently using and it works great:

Code:
<DataListItem DataLog="N" Color="" Display="RPM MUT 2Byte Mod" LogReference="RPMMUT2Byte" RequestID="02" RequestID2="03" Eval="31.25*x" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="8" ChartMin="0" ChartMax="80" ScalingFactor="0.01" Notes=""/>
That worked great, thanks!
Old Oct 4, 2007, 12:05 PM
  #39  
Evolved Member
iTrader: (17)
 
Evo_Jay's Avatar
 
Join Date: Jun 2005
Location: Chico, CA (NOR-CAL)
Posts: 3,417
Received 13 Likes on 12 Posts
Originally Posted by Jack_of_Trades
Well, I found a small glitch than MIGHT cause a headache to anyone trying to get their evoscan to log the right values. As Dave mentioned already, you might need to change the evalution formula to 1000x/256. This doesn't work and the values come out screwy with evoscan unless its written as 1000*x/256. Without the asterisk, it doesn't complete the formula correctly. I also changed the scaling to mimic the standard RPM values on the graphs so the 2 byte rpm doesn't go wayyy off the charts as the rpm goes up.

Here's the code I am currently using and it works great:

Code:
<DataListItem DataLog="N" Color="" Display="RPM MUT 2Byte Mod" LogReference="RPMMUT2Byte" RequestID="02" RequestID2="03" Eval="31.25*x" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="8" ChartMin="0" ChartMax="80" ScalingFactor="0.01" Notes=""/>

So what one is it?? In you post you talk about 1000*x/256, but then the code your currently using has it as 31.25*x??
Old Oct 4, 2007, 12:15 PM
  #40  
Evolving Member
iTrader: (4)
 
merkzu's Avatar
 
Join Date: Dec 2006
Location: Twin Cities, MN
Posts: 392
Likes: 0
Received 1 Like on 1 Post
Originally Posted by Evo_Kid
So what one is it?? In you post you talk about 1000*x/256, but then the code your currently using has it as 31.25*x??
It's 1000*x/256 and the scaling is .01
Old Oct 4, 2007, 03:17 PM
  #41  
Evolved Member
iTrader: (17)
 
Jack_of_Trades's Avatar
 
Join Date: Jun 2007
Location: Opelika,AL
Posts: 3,523
Likes: 0
Received 2 Likes on 1 Post
Originally Posted by Evo_Kid
So what one is it?? In you post you talk about 1000*x/256, but then the code your currently using has it as 31.25*x??
OOPS! lol, sorry. I cut and pasted parts from my desktop instead of my laptop. Must have forgot to edit that before posting it. You should use the 1000*x/256.

Code:
<DataListItem DataLog="N" Color="" Display="RPM MUT 2Byte Mod" LogReference="RPMMUT2Byte" RequestID="02" RequestID2="03" Eval="1000*x/256" Unit="units" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="8" ChartMin="0" ChartMax="80" ScalingFactor="0.01" Notes=""/>

Last edited by Jack_of_Trades; Oct 4, 2007 at 03:20 PM.
Old Nov 30, 2007, 03:15 PM
  #42  
Evolving Member
iTrader: (5)
 
broddey's Avatar
 
Join Date: Nov 2005
Location: Tampa, FL
Posts: 498
Likes: 0
Received 0 Likes on 0 Posts
Hey where do you guys post the <DataListItem Datalog. . . . script?

I modified my xml files for both ecuflash and evoscan 2.0 for the 2 byte RPM and Load mods, but when I try and log with them, I get erroneous values.

What else needs to be modified?
Old Nov 30, 2007, 04:03 PM
  #43  
Evolving Member
Thread Starter
iTrader: (4)
 
roger smith's Avatar
 
Join Date: Dec 2003
Location: Ventura County, CA
Posts: 357
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by broddey
Hey where do you guys post the <DataListItem Datalog. . . . script?

I modified my xml files for both ecuflash and evoscan 2.0 for the 2 byte RPM and Load mods, but when I try and log with them, I get erroneous values.

What else needs to be modified?
You need to change those hex values in ecuflash and flash your ecu. If you just change the xml files your evoscan will be reading info from the wrong location in the ECU.
Old Dec 4, 2007, 07:32 PM
  #44  
Evolving Member
iTrader: (5)
 
broddey's Avatar
 
Join Date: Nov 2005
Location: Tampa, FL
Posts: 498
Likes: 0
Received 0 Likes on 0 Posts
I have changed the xml with the <table name = . . . values in both evoscan and ecuflash for my respective rom (13)

I also input the values in Ecuflash for 2byte rpm and load.

Where is the <DataListItem code need to be written?

My problem is that I am still getting rediculous values in the readings.
Old Dec 5, 2007, 01:58 PM
  #45  
Evolving Member
iTrader: (5)
 
broddey's Avatar
 
Join Date: Nov 2005
Location: Tampa, FL
Posts: 498
Likes: 0
Received 0 Likes on 0 Posts
My Load and RPM look like stalagtites in a cavern.


Quick Reply: 2-byte RPM HOW-TO



All times are GMT -7. The time now is 02:10 PM.