PDA

View Full Version : Trying to get Speed?



beav
December 2nd, 2013, 01:28 AM
I am trying to pull vehicle speed from an 04 Allison 1000. Being a swap truck, I do not have a VSS integrated except for the GM.TOS. So, I made a calculation based on this value along with my axle ratio and tire size. It shows in the Scan tool, but it only shows a value of '0' after a successful logging event.

I only edited the calc_pids.txt file. Can't post it at the moment because I am away from the shop.

When a calc pid shows '0' does this typically mean that there is a calculation error or would it mean that I have formatted it incorrectly?

What PRN should I use for a calc pid?

Thanks!

beav
December 3rd, 2013, 12:42 AM
Here is my calc_pids.txt file. BTW, have not calculated the kph yet.

What should the PRN be?



# ================================================== ============================
# File details
# ------------
#
# This section defines various details about the file format.

*FILE

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file



# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------

None None "" "No units"


# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------

*CLC-00-1777
kph 0.0 255.0 .0 "{GM.TOS.RPM}*0.00595*17.04/3.73"
mph 0.0 160.0 .0 "{GM.TOS.RPM}*0.00595*17.04/3.73"


# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------

CALC.TOSVS F189 CLC-00-1777 "kph,mph" Performance "Damped VS Derived from TOS-3.73,34in tires"

beav
December 4th, 2013, 06:27 AM
Anyone?

beav
December 11th, 2013, 07:12 AM
Here is what I have now and it still says "Invalid PID". Any ideas? Joecar, anyone not at PRI?

I do have two blank lines at the end.




# ================================================== ============================
# File details
# ------------
#
# This section defines various details about the file format.

*FILE

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file



# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------

None None "" "No units"


# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------

*CLC-00-001
kmh 0.0 255.0 .0 "{GM.TOS.RPM}*0.00595*17.04/3.73"
mph 0.0 160.0 .0 "{GM.TOS.RPM}*0.00595*17.04/3.73"


# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------

CALC.TOSVS F001 CLC-00-001 "kmh,mph" Tuning "Damped VS Derived from TOS-3.73 34in tires"

beav
December 19th, 2013, 04:12 PM
Anybody out there?

beav
March 4th, 2014, 01:07 PM
Crickets...

beav
March 4th, 2014, 01:11 PM
...oh, and besides "Invalid PID" it will only display '0' when logging.

joecar
March 4th, 2014, 02:08 PM
For some reason I completely missed your thread, sorry...



Here is my calc_pids.txt file. BTW, have not calculated the kph yet.

What should the PRN be?

PRN number does not matter, but I usually make it same as the CLC.

Also, use CLC and PRN numbers less than 600 (I can't explain why at the moment, other than to avoid reserved CLC/PRN numbers).

So rename to CLC-00-477 and use PRN F477.

Yes, make sure there are at least 2 blank lines at the end of the calc_pids.txt file.

If you want to convert to kph, try this (drops .RPM from {GM.TOS}):




# ================================================== ============================
# File details
# ------------
#
# This section defines various details about the file format.

*FILE

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file

# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------
None None "" "No units"

# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-477
mph 0.0 160.0 .0 "{GM.TOS}*0.00595*17.04/3.73"
kph 0.0 260.0 .0 "{CALC.TOSVS.mph}*1.609"

# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.TOSVS F477 CLC-00-477 "kph,mph" Performance "Damped VS Derived from TOS-3.73,34in tires"





(add 2 blank lines at end)

joecar
March 4th, 2014, 02:13 PM
Are you selecting the pid GM.TOS.

I tried it on my laptop and CALC.TOSVS comes up valid pending GM.TOS being valid.

Is GM.TOS valid for Allison (I'm not sure that it is)...?

beav
March 4th, 2014, 02:34 PM
Are you selecting the pid GM.TOS.

I tried it on my laptop and CALC.TOSVS comes up valid pending GM.TOS being valid.

Is GM.TOS valid for Allison (I'm not sure that it is)...?

Yes, GM.TOS is valid for an AL5 at least.

I found the problem, thanks to you. It appears that it was the ".RPM" that I was putting behind the "GM.TOS". If not that, then it just wasn't happy with the CLC # that I used even though it was below 600. :confused:

So, it works now and thanks for the input! Now I can validate my shiftpoint settings.

Thanks Joe!

joecar
March 4th, 2014, 02:36 PM
Cool, let me know how it goes :cheers:

beav
March 4th, 2014, 02:42 PM
Cool, let me know how it goes :cheers:
It is already working for all of my existing logs. Just had to fix the calc file and reopen the interface...

Only thing to do now is just verify its accuracy.

Thanks again!