Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Convert XGauge to Torque PID

Pages: [1]
Author Topic: Convert XGauge to Torque PID
dan13l
Member
Posts: 3
Post Convert XGauge to Torque PID
on: February 8, 2012 (GMT)

Hi everyone,

I would like to convert and add my Scangauge XGauges for my 2005 Ford Escape Hybrid into Torque PID, is it possible?
These can be found at http://www.scangauge.com/support/x-gauge/ford-specific-xgauges/

Thank you,
Daniel

GAUGE	       TXD	        RXF	        RXD	MTH	        NAME	Notes
Traction Battery SOC   0745224923	046285490623	3010	007D20000000	SOC	%
Traction Battery Volts 074522490B	04620549060B	3010	007D10000000	TBV	Volts
Traction Battery V(alt)07E122490B	04620549060B	3010	007D10000000	TBV	Volts
Traction Battery Temp  074522A914	046285A90614	3008	00120001FE70	BTM	Degrees Fahrenheit
Traction Motor Speed   07E122496A	04620549066A	3010	000100010000	TrR	RPM
Generator Motor Speed  07E1224973	046205490673	3010	000100010000	GnR	RPM
Electronics Coolant Tmp07E1224983	046285490683	3008	00120001FE70	MeC	Degrees Fahrenheit
eCVT Temp              07E1221674	046285160674	3010	000A00080000	TxT	Degrees Fahrenheit
Cylinder Head Temp     07E0221624	046285160624	3010	000200010000	CHT	Degrees Fahrenheit
Long Term Fuel Trim    07E0220007	046285000607	3008	007D0010FC18	LFT	%
Catalyst Temp          07E022003C	04620500063C	3010	00090032FFD8	CAT	Degrees Fahrenheit
Charge Limit	       074522A912	046285A90612	3008	000500010000	MxC	Amps
Discharge Limit	       074522A90F	046285A9060F	3008	000500010000	MxD	Amps
Fuel Rail Temperature  07E022168E	04620516068E	3008	000200010000	FRT	Degrees Fahrenheit
Module Delta Voltage   074522A911	046245A90611	3008	017700400000	MDV	Volts
Max Battery Module Temp0745224911	046285490611	3008	00120001FE70	Tmx	Degrees Fahrenheit
Min Battery Module Temp0745224911	046285490611	3808	00120001FE70	Tmn	Degrees Fahrenheit
Avg Batter Module Temp 0745224911	046285490611	4808	00120001FE70	Tav	Degrees Fahrenheit
Max Batt Mod Temp Chng 0745224911	046285490611	4008	00120001FE70	Txc	Degrees Fahrenheit
A/C Clutch Commanded On07E0221101	046225110601	3701	000100010000	AC	On/Off
Fuel Rail Pressure     07E022168C	04628516068C	3010	000A00800000	FRP	PSI
Motor Coil Temp	       07E1224970	046285490670	3010	001200010140	Mco	Degrees Fahrenheit
Generator Coil Temp    07E1224972	046285490672	3010	001200010140	Gco	Degrees F
ghostrider
Member
Posts: 7
Post Re: Convert XGauge to Torque PID
on: October 22, 2012 (GMT)

Not sure if you ever found an answer to this..but I have been converting xGauge data for my Tahoe Hybrid…here is something I found on another forum that a user found on some other forum…it seems to work well but having a little background in binary/hex operations will help you further know what is really going on.

This tutorial references the following 2 PDFs;
http://www.scangauge.com/support/pdfs/XGAUGE.pdf
http://www.scangauge.com/support/pdfs/XGaugeCoding.pdf
We need to fill in the following fields on Torque
OBD2 PID
Long Name
Short Name
Min Value
Max Value
Scale Factor
Unit Type
Equation
with the following from SGII
GAUGE
TXD
RXF
RXD
MTH
NAM
NOTES
As we go through the tutorial I will use the following for an example
Engine Oil Temperature 07E0221310 046245130610 3010 00090005F05F EOT Degrees F
OBD2 PID
This field comes from the TXD of the SGII file. There are 2 flavors, CAN (controller Area Network) and the rest of the older OBD2 protocols. If it is CAN, you want to use all the characters after “07DF” or “07E0”. If it is “07E1”, then Torque will likely not work for this gauge as the ELM327 may need specific instructions to communicate the transmission control module.
For all the other protocols, you want to use all the characters after the “F1”.
Our example: 221310
Long Name
Take this value from the GAUGE field
Our example: Engine Oil Temperature
Short Name
Take this value from the NAM field
Our Example: EOT
MIN/MAX
These are really determined by the data you are gathering and can be set up after you have your equation. Torque does a pretty good job of rescaling gauges if the data over steps the range.
Scale Factor
I always leave this as 1 because we can scale in the equation if we need to. However, SGII may do some prescaling that you should be aware of before you implement your equation.
Unit Type
Take this value for the notes field
Our example: F
Equation
Now for the most complicated part.
First look at the RXD field. Don’t worry about the first 2 characters. If the second 2 characters are “08”, then you have 1 byte of data and you will only need an “A” in your equation. If the second 2 characters are “10”, then you have 2 bytes of data and you will need to start off your equation like ((A*256)+B). Don’t ask why. This isn’t a lesson in hexadecimal.
Our example: “10”-> ((A*256)+B)
Now look at the MTH field. It is separated in 3 sections. It may look like this 00090005F05F. The first 4 characters (0009 in our example) are the multiplier. These values are in hex so you must convert them to decimal. Open up the windows calculator and makes sure it is set to scientific view. Click the hex circle and enter in the first 4 characters. Then click the decimal circle. The value displayed is what you want to use in torque. Repeat this step for the second 4 characters (0005 in our example) and you will have the divisor. The final four are the trickiest. If you have an F,E,D,C,B,A,9,8 as the first character as we do in our example, then this will be a negative number. To calculate this use windows calculator and set it to HEX. Enter the value and click XOR and enter “FFFE”. Click “=”, then click the decimal circle and you will see what value you have to subtract from the equation. If there isn’t, then we will be adding this value. And you proceed the same as with the multiply and divide to the value. The last for digits for the MTH piece are “0000? which means “+0?.
Our example: 9/5-4001
The final thing to pay attn to is the RXF field. Which may look like 046245130610. Pay close attn to 0462->4-5130610. If you see a 4 here, then your data must be multiplied by 100. If you see an 8, then your data must be multiplied by 10. If it is 0, then don’t worry about this part.
Our example: *100
Final equation: ((A*256)+B)*100*(9/5)-4001
This is only a guide and not a bible. If you can’t get data for a PID it can means two things, you entered it wrong or your car doesn’t support it. Just b/c your car as a certain sensor it does NOT mean your vehicle will support the PID to get that data.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.032 seconds.

  Follow me on twitter