M-Class (W164) Produced 2006-2011: ML280CDI, ML320CDI, ML420CDI, ML350, ML500, ML550

OBD2 Pid for current gear w164

Old Sep 13, 2018 | 11:20 AM
  #1  
jesusg9's Avatar
Thread Starter
Newbie
 
Joined: Jan 2015
Posts: 14
Likes: 0
2009 w164 280
OBD2 Pid for current gear w164

Hi all,

Long time lurking this forum, fortunately without needn't help.
Now automatic transmission seems to have a weird behaviour. I would like to track it with Torque APP. For so the current gear OBD2 pid is needed, if W164 OBD2 do have it
Could be any of you be so kind to tell us which is, if there were, the current gear OBD2 pid for w164 ?

thanks in advance.
Reply
Old Sep 14, 2018 | 04:15 AM
  #2  
Maj. Dundee's Avatar
MBWorld Fanatic!
 
Joined: Oct 2011
Posts: 7,107
Likes: 765
From: Bronx, N.Y.
2002 ML 320 & 2006 ML500
Have no idea what you are referring to.
Reply
Old Sep 14, 2018 | 08:04 AM
  #3  
jesusg9's Avatar
Thread Starter
Newbie
 
Joined: Jan 2015
Posts: 14
Likes: 0
2009 w164 280
Originally Posted by Maj. Dundee
Have no idea what you are referring to.
Thanks for your interest Mj. Dundee

First I have to say that I'm just a DIY'er with a very few idea of things, so I could be wrong with my request.

As far as I know, OBD2 scanners, propietary or open ones, read the car info like errors codes, temperatures, speed, rmps, sensor status, etc... sending a code, that is an unique identifier, for each parameter to the control unit of the car.
Googleing OBD2 PID one can find standards PIDs.

My belive is that Current Gear PID in M-class (w164) it's not the standard one "22199a".
If this PID exists, I could porgram it in torque app and then track the automatic transmision issues. if not, then B-plan is calculate current gear using speed and rpms, not easy.

does any guru know this pid ?, if so,,,,,,, would be so kind to share it ?

Thanks for your reading and patience.
Reply
Old Sep 14, 2018 | 12:29 PM
  #4  
Maj. Dundee's Avatar
MBWorld Fanatic!
 
Joined: Oct 2011
Posts: 7,107
Likes: 765
From: Bronx, N.Y.
2002 ML 320 & 2006 ML500
I have no idea.
Reply
Old Feb 6, 2021 | 12:56 PM
  #5  
Essell55mb's Avatar
Member
5 Year Member
Liked
 
Joined: Nov 2016
Posts: 77
Likes: 12
R230 sl55
Originally Posted by jesusg9
Hi all,

Long time lurking this forum, fortunately without needn't help.
Now automatic transmission seems to have a weird behaviour. I would like to track it with Torque APP. For so the current gear OBD2 pid is needed, if W164 OBD2 do have it
Could be any of you be so kind to tell us which is, if there were, the current gear OBD2 pid for w164 ?

thanks in advance.
Probably way too late ! But I did come across possibly what you need ( if supported by your model car )

Is PID, Service 01, Hex A4 - Transmission actual gear.

https://en.wikipedia.org/wiki/OBD-II_PIDs

If its not in the standard PID list, this may also be of interest,

https://github.com/mkovero/7226ctrl/issues/15


Last edited by Essell55mb; Feb 6, 2021 at 01:06 PM.
Reply
Old Feb 7, 2021 | 07:50 PM
  #6  
lkchris's Avatar
MBWorld Fanatic!
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Sep 2005
Posts: 6,191
Likes: 242
From: Albuquerque
'10 CL550, '12 GL550
So then, PID means parameter id.
Reply
Old Nov 11, 2021 | 04:13 AM
  #7  
jesusg9's Avatar
Thread Starter
Newbie
 
Joined: Jan 2015
Posts: 14
Likes: 0
2009 w164 280
Thanks,
I had forgotten to thank. sorry.
Anyway Torque APP seems that can't read it.
Reply
Old Apr 4, 2022 | 07:42 PM
  #8  
alive19's Avatar
Member
Liked
 
Joined: Apr 2022
Posts: 136
Likes: 34
GL320 2007
Try this:
Header: 7E1
PID: 2130
Equation (in torque): lookup(bit(F:0)+bit(F:1)*2+bit(F:2)*3+bit(F:3)*8:b it(F:0)+bit(F:1)*2+bit(F:2)*3+bit(F:3)*8:0='N':11= 'P':13='R')
Reply
MB World Stories

The Best of Mercedes & AMG

story-0

New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

 Verdad Gallardo
story-1

6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

 Verdad Gallardo
story-2

Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

 Verdad Gallardo
story-3

Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

 Verdad Gallardo
story-4

8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

 Verdad Gallardo
story-5

Flawlessly Restored Mercedes 190E Evo II Heads to Auction

 Verdad Gallardo
story-6

Electric Mercedes C-Class Unveiled: 11 Things You Need to Know

 Verdad Gallardo
story-7

Mercedes EQS Gets A Major Update: Everything You Need to Know

 Verdad Gallardo
story-8

5 Underrated Mercedes-Benz Models That Don't Get the Love They Deserve

 Verdad Gallardo
story-9

Mercedes 300D Has Pushed Well Past 1 Million Miles and It Ain't Stopping

 Verdad Gallardo
Old Jul 11, 2022 | 11:18 AM
  #9  
jesusg9's Avatar
Thread Starter
Newbie
 
Joined: Jan 2015
Posts: 14
Likes: 0
2009 w164 280
Originally Posted by alive19
Try this:
Header: 7E1
PID: 2130
Equation (in torque): lookup(bit(F:0)+bit(F:1)*2+bit(F:2)*3+bit(F:3)*8:b it(F:0)+bit(F:1)*2+bit(F:2)*3+bit(F:3)*8:0='N':11= 'P':13='R')
Thanks for your interest.
Since your post i've being concerned about couple of things.
First is to ensure that this command only reads data and do not set o write data.
The other is related with the math of the command lookup ........ bit(F:2)*3 .......... ? 3 ?, not 4 ? As in a typical binary codification.
Reply
Old Jul 11, 2022 | 07:39 PM
  #10  
alive19's Avatar
Member
Liked
 
Joined: Apr 2022
Posts: 136
Likes: 34
GL320 2007
Yeah good point. Unfortunately I transcribed the equation, rather than copied it (different devices). I'll check again, but yes it probably should be 4 rather than 3.

It is very hard to write any data with OBD2 commands. These send a request for data. You need to access the CAN bus to be able to send commands (write data).

I've been using it in torque and it works fine to give current gear.

I'm still looking for the oil temperature though.
Reply
Old Jul 12, 2022 | 06:20 AM
  #11  
jesusg9's Avatar
Thread Starter
Newbie
 
Joined: Jan 2015
Posts: 14
Likes: 0
2009 w164 280
Originally Posted by alive19
Try this:
Header: 7E1
PID: 2130
Equation (in torque): lookup(bit(F:0)+bit(F:1)*2+bit(F:2)*3+bit(F:3)*8:b it(F:0)+bit(F:1)*2+bit(F:2)*3+bit(F:3)*8:0='N':11= 'P':13='R')
Hi,
This command seems to me to work like this
lookup(
bit(F:0)+bit(F:1)*2+bit(F:2)*4+bit(F:3)*8: -> Data Read. Ie: data stored is 0110 = 0+2+4+0 = 6th Gear
bit(F:0)+bit(F:1)*2+bit(F:2)*4+bit(F:3)*8: -> Data to Display , so it would display 6 as 0+2+4+0 =6
0='N':11= 'P':13='R') -> This is clearly for non numeric gears, If data read is 0000 then display N, and so on with 1101 = 11 and 1011 = 13.
Which is the source of the info for this ? Header: 7E1 PID: 2130

Thanks
Reply
Old Jul 14, 2022 | 01:18 AM
  #12  
alive19's Avatar
Member
Liked
 
Joined: Apr 2022
Posts: 136
Likes: 34
GL320 2007
Basically the Chrysler extended PIDs have transmission temp (jeep 2012 and later) that gives the transmission temp.

I just viewed the raw data from this PID and watched as I changed gear. Looked for some patterns.

The header and PID are just copied from the Chrysler PID.
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Thread Tools
Search this Thread
Rate This Thread
Rate This Thread:
You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 07:17 AM.

story-0
New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

Slideshow: Mercedes-AMG's new electric GT 4-Door Coupe trades combustion for software, synthetic noise, and more than 1,100 horsepower.

By Verdad Gallardo | 2026-05-20 20:08:15


VIEW MORE
story-1
6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

Slideshow: Not every Mercedes design becomes timeless, some feel stuck in the era they came from.

By Verdad Gallardo | 2026-05-12 18:09:07


VIEW MORE
story-2
Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

Slideshow: Yes, Mercedes built manual cars, and some of them are far more interesting than you'd expect.

By Verdad Gallardo | 2026-05-02 12:36:58


VIEW MORE
story-3
Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

Slideshow: A one-of-one U.S.-spec Mercedes-Benz SLR McLaren Roadster became even rarer after a factory-backed transformation at McLaren's headquarters.

By Verdad Gallardo | 2026-04-29 11:19:28


VIEW MORE
story-4
8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

Slideshow: Before curves took over, Mercedes mastered the art of the straight line, and some of those shapes still look right today.

By Verdad Gallardo | 2026-04-25 12:05:49


VIEW MORE
story-5
Flawlessly Restored Mercedes 190E Evo II Heads to Auction

Slideshow: The 190E Evolution II shows how a homologation necessity became a six-figure collector icon.

By Verdad Gallardo | 2026-04-22 17:53:47


VIEW MORE
story-6
Electric Mercedes C-Class Unveiled: 11 Things You Need to Know

Slideshow: Mercedes is turning one of its core nameplates electric, and the details show just how serious this shift is.

By Verdad Gallardo | 2026-04-21 13:58:06


VIEW MORE
story-7
Mercedes EQS Gets A Major Update: Everything You Need to Know

Slideshow: Faster charging, longer range, and a controversial steer-by-wire system define the latest evolution of Mercedes-Benz EQS.

By Verdad Gallardo | 2026-04-15 10:35:34


VIEW MORE
story-8
5 Underrated Mercedes-Benz Models That Don't Get the Love They Deserve

Slideshow: These overlooked Mercedes-Benz models never got the spotlight, but they quietly delivered more than most remember.

By Verdad Gallardo | 2026-04-13 19:35:45


VIEW MORE
story-9
Mercedes 300D Has Pushed Well Past 1 Million Miles and It Ain't Stopping

Slideshow: A well-used 1991 Mercedes-Benz 300D with more than one million miles is now looking for a new owner, and it still appears ready for more.

By Verdad Gallardo | 2026-04-10 10:05:15


VIEW MORE