Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.


Reply
 
Share Thread Tools Display Modes
Old 05-13-2009, 04:59 PM   #1
Newbie
 
Join Date: May 2009
Location: Irving, TX
Posts: 5
EngineerSteve is an unknown quantity at this point
Exclamation J1979 CAN header question

I have interfaced to my older Ford vehicle using J1850 PWM. Now I am working on CAN in a newer vehicle. I own a copy of J1979 but am a little confused about the header for CAN PID value requests.

Here is a sample request for RPM in J1850 PWM (in hex of course):

request:
61 6A F1 01 0C crc
response:
41 6b nn 0C aa bb crc
where nn=ECU address, aa bb = DATA A and DATA B

Can anyone give me this same example in CAN?

Thanks,
Steve
EngineerSteve is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 05-14-2009, 03:10 AM   #2
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
In PWM 61 6A F1 is the header.
For Can the header will be setup by the can-chip. All you do is supply a address where to send it, either 11-bit or 29-bit.
The data is the same as for any other protocol: 01 0C.
See page 22 of you manual.
p2psmurf is offline   Reply With Quote
Old 05-14-2009, 09:58 AM   #3
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
for 11bit its 0x7DF for the functional addressing or (typically)0x7E0 for the physical address of the Engine computer. The response from the Engine computer is typically 0x7E8.

What tool are you using to do the requesting?
Aberk is offline   Reply With Quote
Old 05-14-2009, 10:13 AM   #4
Newbie
 
Join Date: May 2009
Location: Irving, TX
Posts: 5
EngineerSteve is an unknown quantity at this point
I am using a Multiplex Engineering T21 card attached to my embedded microcontroller. In the future I will use the CAN module on my embedded micro.

Steve
EngineerSteve is offline   Reply With Quote
Old 05-14-2009, 01:34 PM   #5
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
With 11-bits can there's no guarantee that 0x7e0 is the engine.
Could be anyone from 0x7e0 through 0x7e7.
p2psmurf is offline   Reply With Quote
Old 05-14-2009, 01:56 PM   #6
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Quote: Originally Posted by p2psmurf View Post
With 11-bits can there's no guarantee that 0x7e0 is the engine.
Could be anyone from 0x7e0 through 0x7e7.


That's why I said typically. It has been for every car in my experience, but I know there is no guarantee.
Aberk is offline   Reply With Quote
Old 05-14-2009, 02:24 PM   #7
Newbie
 
Join Date: May 2009
Location: Irving, TX
Posts: 5
EngineerSteve is an unknown quantity at this point
I have done more research and study on this issue. See if this looks correct:

The CAN message for RPM:

7DF 02 01 0C

7DF = The 11 bit CAN ID
02 = 2 data bytes used out of the possible 7 CAN data bytes
01 = Service 01
0C = RPM PID

What do y'all think?

Steve
EngineerSteve is offline   Reply With Quote
Old 05-14-2009, 02:35 PM   #8
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Looks good to me. Depending on how your hardware you may not need to put the 02.
Aberk is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-14-2009, 04:23 PM   #9
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 234
Vitaliy is on a distinguished road
Quote: Originally Posted by EngineerSteve View Post
I have done more research and study on this issue. See if this looks correct:

The CAN message for RPM:

7DF 02 01 0C

7DF = The 11 bit CAN ID
02 = 2 data bytes used out of the possible 7 CAN data bytes
01 = Service 01
0C = RPM PID

What do y'all think?

Steve

Here's a sample of actual communication b/w an ElmScan 5 scan tool, and ECU Sim (as reported by ECU Sim):

Code:
7DF 02 01 00 7E8 06 41 00 88 19 10 10 7DF 02 01 1C 7E8 03 41 1C 06 7DF 02 01 01 7E8 06 41 01 83 0F EF 80 7DF 02 01 0C 7E8 04 41 0C B6 DA

Is this a commercial project?

Best regards,

Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $64.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
Vitaliy is offline   Reply With Quote
Old 05-14-2009, 04:29 PM   #10
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 234
Vitaliy is on a distinguished road
By the way, CAN lets you increase the throughput by combining several PID requests into one, like this:

01 00 01 05 0C 0D

Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $64.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
Vitaliy is offline   Reply With Quote
Old 05-14-2009, 05:22 PM   #11
Newbie
 
Join Date: May 2009
Location: Irving, TX
Posts: 5
EngineerSteve is an unknown quantity at this point
Vitaliy:

Thanks for the good reply. I begin to see what is going on.

The project is potentially commercial. I have an interest in this stuff and my company could possibly develop a vehicle based product that could use the data from OBDII.

Personnaly I would like to learn communications with vehicle ECU's, I think it is a career enhancer.

Steve
EngineerSteve is offline   Reply With Quote
Old 05-14-2009, 06:42 PM   #12
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 234
Vitaliy is on a distinguished road
Quote: Originally Posted by EngineerSteve View Post
Vitaliy:

Thanks for the good reply. I begin to see what is going on.

The project is potentially commercial. I have an interest in this stuff and my company could possibly develop a vehicle based product that could use the data from OBDII.

Personnaly I would like to learn communications with vehicle ECU's, I think it is a career enhancer.

Steve

My company (ScanTool.net) helped a number of companies integrate OBDII into their products. We also sell OBD cables (through obd2cables.com), connectors, ECU simulators (ecusims.com), OBD chips, etc., as well as providing consulting services.

If you would like to discuss this off-line, best way to reach me is via email, vitaliy(A)scantool.net

</end shameless plug>

Best regards,

Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $64.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

Last edited by Vitaliy; 05-14-2009 at 06:46 PM.
Vitaliy is offline   Reply With Quote
Old 05-15-2009, 12:21 AM   #13
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
I'll shamelessly plug them too. They really know their stuff and can help a lot.
Aberk is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Tags
obdii, obdii codes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about CF 1.7 and the global 'header' justintime Centrafuse 3 06-27-2006 09:15 PM
Any in-dash monitor with built in FM Radio QUESTION. ??? 74Camaro LCD/Display 2 05-02-2006 06:15 PM
Forum Etiquette Enforcer Newbie 5 01-09-2006 06:58 PM
Paint And Polish Question gboy Fabrication 8 08-13-2005 08:22 PM
FM Card Question.... Superbike1k Car Audio 1 05-16-2005 10:03 AM



All times are GMT -5. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics