Custom PID - ECU explanation

Any discussion on using LapTimer. Please use this forum in case you need guidance on how to use LapTimer or perform a certain operation
Post Reply
User avatar
PitrsRS
20 or more Posts ★★★
20 or more Posts ★★★
Posts: 156
Joined: Wed Jun 25, 2014 9:43 am
Location: Prague, Czech Republic

Custom PID - ECU explanation

Post by PitrsRS »

Hello Harry,

I want to ask about ECU definition in Custom PID section. I understand things like, PID, Mode, Formula etc. But what I still don´t understand is ECU selection. You mentioned there $21, $22, $23 but what does it mean? I´ve looked into documentation, but there is only $22 mentioned for Ford cars and steering angle.
I´ve looked in PID OBD on Wiki, but there is nothing like that. What if I have VW? Which one will be correct? Or I just try it?
2016 SEAT Leon CUPRA 290 ST

HLT Grand Prix (Android) + OBDLink LX BT + XGPS160 + GoPro 11 Black + GoPro 7 Black
User avatar
PitrsRS
20 or more Posts ★★★
20 or more Posts ★★★
Posts: 156
Joined: Wed Jun 25, 2014 9:43 am
Location: Prague, Czech Republic

Re: Custom PID - ECU explanation

Post by PitrsRS »

So, I´ve tried to change "ECU" from $21 to $01, without any change - I´m testing it on fuel level. What´s strange is level of fuel. Car says approx 55-60%, HLT "only" 44-42%. So, where is the reality?
2016 SEAT Leon CUPRA 290 ST

HLT Grand Prix (Android) + OBDLink LX BT + XGPS160 + GoPro 11 Black + GoPro 7 Black
User avatar
Harry
Site Admin
Site Admin
Posts: 10518
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Custom PID - ECU explanation

Post by Harry »

$21 etc are not ECU selections, but OBD modes (like 1 and 9 used by default).

ECU selection is often required for custom PIDs. They will not be answered when broadcasting requests (which is the default). It will almost always be fine to use the symbolic names "ECM", "TCM" or "ABS" instead of the protocol specific addresses.

The most relevant part of my answer is: VW doesn't publish there custom PIDs (if any), they will likely use other modes and will be encrypted. I have not seen useable information for the VW brand.

- Harry
Image Image Image Image
User avatar
PitrsRS
20 or more Posts ★★★
20 or more Posts ★★★
Posts: 156
Joined: Wed Jun 25, 2014 9:43 am
Location: Prague, Czech Republic

Re: Custom PID - ECU explanation

Post by PitrsRS »

I see, and is there some list of "symbolic names" for example for engine unit? It´s ECU or ECM?
2016 SEAT Leon CUPRA 290 ST

HLT Grand Prix (Android) + OBDLink LX BT + XGPS160 + GoPro 11 Black + GoPro 7 Black
User avatar
Harry
Site Admin
Site Admin
Posts: 10518
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Custom PID - ECU explanation

Post by Harry »

ECU is the generalized term for any control unit (Engine Control Unit).

ECM is Engine Control Module
PCM is Powertrain Control Module and used as a synonym for ECM here
TCM is Transmission Control Module
ABS is the Braking Control Module

I think PCM is actually a broader term and usually names the group of ECM and TCM.

From an architectural point of view, all of these are not well defined. Cars come with all combinations of control units. Often with multiple or combined units. And almost always connected with multiple busses. But there are conventions to map the main ECM / TCM / ABS units to physical addresses. This is what is used by LapTimer.

- Harry
Image Image Image Image
User avatar
PitrsRS
20 or more Posts ★★★
20 or more Posts ★★★
Posts: 156
Joined: Wed Jun 25, 2014 9:43 am
Location: Prague, Czech Republic

Re: Custom PID - ECU explanation

Post by PitrsRS »

Thanks, for my purpose ECM will be enough. I don´t think its possible to get data from DSG (TCM) or ABS in VW... :roll:
2016 SEAT Leon CUPRA 290 ST

HLT Grand Prix (Android) + OBDLink LX BT + XGPS160 + GoPro 11 Black + GoPro 7 Black
Post Reply