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):
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):
