Archives




View Full Version : XGAUGE codes and new 'geeky' gauges


Shrek
01-24-2008, 04:50 PM
Is there a thread to keep track of useful xgauge codes? The scangauge homepage list some related to fuel trim, O2 etc - but not all.

I have been looking at the wikipedia obdII PID page, and tried some of the PID's on my scangauge, as described in the 'xgauge coding.pdf' document available on the web(sorry, no link :(

PID number 03 in mode 1 report the closed/open loop status in more detail than scangauge:

The programming to display result as HEX-number is :
TXD: 68 6A F1 01 03
RXF: 04 41 05 03 80 00
RXD: 2808
MTH: 00 01 00 00 00 00

The 5 lowest bits report what status and why:
Open, not yet warm: hex-value 1 (bit 1 set)
Closed, normal: 2 (bit 2)
Open, due to high load: 4 (bit 3)
Open, system failure: 8 (bit 4)
Closed, but something's wrong: 10 (bit 5)


PID's that did _not_ work on my toyota:
2F - fuel level
33 - barometric pressure
46 - ambient temperature
45 - relative throttle

You can try these by replacing '03' in TXD and RXF in the programming above with your PID of choice. The result will be a HEX number (between 00 and FF)

If you remove the 8 in the part '80 00' in the RXF programming (RXF: 04 41 05 03 00 00), the value will be decimal from 0 to 255 instead, and you can modify the MTH value to get the correct value as described on wikipedia etc.

(If you instead add a '2' to RXF like this:
RXF: 04 41 05 03 80 00 -> RXF: 04 41 25 03 00 00 you can have the SG show the values ON/OFF instead based on one bit of the result. The bit will have to be pinpointed with RXD)

I might make a gauge just telling me that 'PWR ON/OFF' to warn that I am in power-open-loop-mode

This is fun now that I get the hang of it...
:smilingface (52):

2way
01-26-2008, 01:49 PM
**** 2's compliment math is a pain. I'm looking for some of the Toyota specific codes to add to mine, too.

-mr. bill
01-26-2008, 02:24 PM
I might make a gauge just telling me that 'PWR ON/OFF' to warn that I am in power-open-loop-mode


I think to get the "lead foot", you'll want to extract that ONE bit and then use the special RXF value to display that as ON or OFF. So I *think* you'll want an RXD of 2D01 to get the open loop high load bit.

-mr. bill

shifty35
01-30-2008, 09:45 PM
**** 2's compliment math is a pain. I'm looking for some of the Toyota specific codes to add to mine, too.

Two's complement math is EASY, that's why two's complement exists!

Well... it's easy in binary!

CarlD
02-01-2008, 12:44 PM
**** 2's compliment math is a pain. I'm looking for some of the Toyota specific codes to add to mine, too.

A simple way to do 2's complement is with the Windows calculator in the Accessories directory. All Programs->Accessories-> Calculator

Make sure you have the scientific view selected. Enter your negative number, for example -40. Then click the 'Hex' button, you get FFFF FFFF FFFF FFD8. Click the 'Word' button to get FFD8. This is what you would enter for the last word in the MTH entry of an xgauge if you wanted to subtract 40.

HTH

2way
02-03-2008, 03:26 PM
Cool. Thanks, Carl! I hadn't thought to look there.

Shrek
02-03-2008, 04:48 PM
Cool. Thanks, Carl! I hadn't thought to look there.

If you find some interesting codes (I'd love some info from the VVT-i system!) please share!

2way
02-10-2008, 09:08 PM
If you find some interesting codes (I'd love some info from the VVT-i system!) please share!I'd like some, too. Although, IGN will give you some idea..... duty cycle % of the VVT OCV or camshaft sensor readings would be good. Many of these are available out of the ECM..... but, we need to know the Toyota specific codes to get them :( Very little seems to be available publicly. Someone with ToyotaTechCenter access might get more info.



Copyright 2006 Clean MPG, LLC. All Rights Reserved.