VX-VY adx commands for clearing DTCs

160 And 8192 Baud Aldl
Post Reply
slushbox
Posts: 10
Joined: Wed Jun 05, 2013 4:44 pm
cars: VYII Berlina V6
Location: Bass Coast, VIC

VX-VY adx commands for clearing DTCs

Post by slushbox »

Hey all,

I haven't yet wrapped my head around creating custom commands, so can someone check what I've collected? I am trying to add commands to the VX/VY adx to clear as many DTCs as possible, so that I can use TunerPro as a scan tool.

So far I have:

CLEAR PCM DTC: 0xF7 0x57 0x0A 0x00 (Auto checksum, 2s compliment)
CLEAR BCM DTC: 0xF1 0x57 0x0A 0x00 0xAE (As is, no checksum)
CLEAR ABS DTC: 0xF9 0x57 0x0A 0x00 0xAE (As is, no checksum)
AIRBAG RESET: 0xFA 0x56 0x0A 0xA6 (As is, no checksum)
BLM RESET: 0xF7 0x68 0x04 0x00 0x00 0x00 0x00 0x08 0x00 (Auto checksum, 2s compliment)

How much of this is correct? And is there any more commands that people can give me?

Cheers, Matt
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: VX-VY adx commands for clearing DTCs

Post by VL400 »

The PCM DTC reset command should be....
0xF7 0x56 0x0A <checksum>

I think the BCM and ABS also use the same size message for a DTC reset.


BLM reset byte of 0x08 looks correct but you will likely need to add the extra bytes for a valid message size....
0xF7 0x68 0x04 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 <checksum>

Might also want to add a mode 4 clear so the PCM goes back to normal afterwards....
0xF7 0x68 0x04 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 <checksum>
User avatar
antus
Site Admin
Posts: 8250
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: VX-VY adx commands for clearing DTCs

Post by antus »

It'd be great if you can post up your adx when its completed to contribute back to the site :thumbup:
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
slushbox
Posts: 10
Joined: Wed Jun 05, 2013 4:44 pm
cars: VYII Berlina V6
Location: Bass Coast, VIC

Re: VX-VY adx commands for clearing DTCs

Post by slushbox »

Thanks guys. I still have trouble getting my head around the message strings and the byte sequences. So should the reset commands use 0x56 or 0x57?
So far I understand that F7, F1 and F9 are the PCM, BCM and ABS identifiers respectively, the rest is a mystery to me. I am also assuming that everything should be set to auto checksum and the given checksums deleted?

The main reason for all this is that I have started an auto elec traineeship and our workshop's scan tool has a busted LCD. But we have I think 4 VX/VY commodores including mine that we work on, and we need to scan and reset codes. And yes I will share the ADX once these are in. It is going to need some reviewing by everyone though.
User avatar
antus
Site Admin
Posts: 8250
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: VX-VY adx commands for clearing DTCs

Post by antus »

Yeah the first byte is the device ID - as you say the PCM, BCM, ABS etc, and the next byte is the length of the packet. If you can count hex (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12... etc), or use a calculator that has programmer mode/hex (eg windows calculator) you can do it. So the 2nd byte is 52 plus the length. So to go the other way, 68-52 (hex) = 16 bytes (so windows calculator in programmer mode in hex -> enter 16) then hit dec for decimal and it converts to 22, so thats 22 bytes long and the last byte is the checksum. Either enter the checksum manually or get tunerpro to add it, but consider if tunerpro is adding it then thats one more byte so you need to enter one less. Just while on the subject - generally speaking hex is denoted with a $ or 0x, so 68 is usually considered decimal, but $68 or 0x68 is a sign that it should be read as hex.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
quasi_71
Posts: 6
Joined: Thu Oct 20, 2016 4:50 pm
cars: VX Commodore Equipe

Re: VX-VY adx commands for clearing DTCs

Post by quasi_71 »

Hi guys, just wondering if someone has an .ADX to clear the ABS light on a VX please?
User avatar
The1
Posts: 4694
Joined: Mon Jan 04, 2010 10:23 am

Re: VX-VY adx commands for clearing DTCs

Post by The1 »

have a look at the enhanced adx's i think i added some to them, but if people would like more let me know.

The cluster is F2
quasi_71
Posts: 6
Joined: Thu Oct 20, 2016 4:50 pm
cars: VX Commodore Equipe

Re: VX-VY adx commands for clearing DTCs

Post by quasi_71 »

The1 wrote:have a look at the enhanced adx's i think i added some to them, but if people would like more let me know.

The cluster is F2

Thanks for that info... just one thing - where do I find the enhanced adx's ? (sorry newbie here)
User avatar
The1
Posts: 4694
Joined: Mon Jan 04, 2010 10:23 am

Re: VX-VY adx commands for clearing DTCs

Post by The1 »

quasi_71
Posts: 6
Joined: Thu Oct 20, 2016 4:50 pm
cars: VX Commodore Equipe

Re: VX-VY adx commands for clearing DTCs

Post by quasi_71 »

Thanks again :)
Post Reply