Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Custom PID codes

Pages: 1 2 3 4 5 6 7 [8]
Author Topic: Custom PID codes
usbseawolf2000
Member
Posts: 34
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

Ian,

How many variables are supported in an equation? Is there a length limit?

I am trying to write an equation for the motor/generator 2 power.

MG2 Rev =((256 * A) + B) – 16383
MG2 Torq =(32 * C) + (0.125 * D) – 500

HP = (RPM * Torque) / 5252

MG2 Pwr = (((256 * A) + B) – 16383) * ((32 * C) + (0.125 * D) – 500) / 5252

The equation parser complained of an invalid number.

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

Hi

That made me scratch my head for a while! :-)

Your minus signs don’t appear to be minus signs, they’re some other unicode character. If you correct that, then things should start working for you!

Ian

usbseawolf2000
Member
Posts: 34
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

Still would not work. I got “This value is invalid: -16126.0*”.

When I restart the app, MG2 Pwr PID disappeared. I had to import it back from the CSV.

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

Hm, yes, likely due to it not liking the ‘-‘ signs that have been used, it likely threw an exception when trying to save and the PID was skipped….

If you’re using something like excel to setup the data, it could well be converting the minus sign to some other locale equivalent mapping for it. I’ll be adding that character into the app now anyway, but unfortunately you’ll have to wait until the next update before the app will accept the character you are using

usbseawolf2000
Member
Posts: 34
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

You are right, I was excel and then exporting to CSV using a macro.

However, once it is imported into Torque, I deleted the minus signs and used Android’s virtual keyboard to add the minus signs back. That didn’t work so I am not sure if it is the minus issue.

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

You are indeed correct.

The second issue is that the equation parser didn’t like doing: 100 * -400 (which it treated as 100*-400 which caused it to fail. I’ve now fixed this in the code here, but I’m afraid that you’ll need to wait for an update to be sent out before it’ll work for you. (this could be 2 weeks due to my holidays)

If you give me your email address (send to ian@prowl.org) I’ll try to get a licensed apk with the updates in out to you to play with whilst I’m off on honeymoon so you’re not going to be completely stuck, just be aware that it won’t be completely tested

usbseawolf2000
Member
Posts: 34
Post Re: Custom PID codes
on: August 8, 2011 (GMT)

Sent you my email. Thanks for being so considerate. Enjoy your honeymoon!

undrgnd
Member
Posts: 6
Post Re: Custom PID codes
on: February 22, 2012 (GMT)

This is an excellent reference for PIDs on the Gen2 Prius. I can’t believe how long it took me to find it considering how useful it must be for the Gen2 crowd. Does anyone have a similar list for the Gen3? I played around with some of the conversions from the Scangauge but not much luck. I saw the ones already added in Torque, and found a few others here and there, but nothing similar to the aforementioned list.

Quote from usbseawolf2000 on July 22, 2011
I shared the spreadsheet with over 120 PIDs for Gen2 Prius. I don’t know if you want to add them to the predefined list.

https://spreadsheets.google.com/spreadsheet/ccc?key=0AkFZW7FRTY-tdHVEWFRPVElxdG9MRmtYaHUxM2E5NEE&hl=en_US#gid=0

Mikey
Member
Posts: 2
Post Re: Custom PID codes
on: September 10, 2013 (GMT)

There is a similar spreadsheet for the GenIII at:

https://docs.google.com/spreadsheet/lv?key=0Ar6-3mN7UK-CdFpPMHJUVGNXSkc5SmhUM2g3NExBUWc

Retired EE, IT Geek, Pilot, Mechanic, IA

tony2ltr
Member
Posts: 2
Post Re: Custom PID codes
on: April 9, 2016 (GMT)

Hi, I just want to tag along on this thread while I catch up. I do a lot of gen II prius work, and have a factory scan tool to work with also. I’d really like to do more of my work with torque, so thank you for work on here.

hybrid, electric, and gaseous fuel specialist, Engine builder, ASE Advanced level specialist L1,L3,F1 Automotive Educator, CSU system.
’75 Cosworth Vega, 1969 Subaru Electric Sambar, 2005 Prius, 2006 RX400H

juanmedina
Member
Posts: 3
Post Re: Custom PID codes
on: April 13, 2016 (GMT)

How about addding some custom PIDs for Lexus. It seems that there is only two important PIDs that are on the standard PIDs; knock feedback and knock correction learn value. With those two PIDs Torque Pro will be perfect for the Lexus IS-F croud :).

Thanks

Mortar
Member
Posts: 9
Post Re: Custom PID codes
on: April 15, 2016 (GMT)

i want to see dpf soot load/level but so far nothing; i used the pid on wiki but no register.

I have a chevrolet aveo diesel (t300)

juanmedina
Member
Posts: 3
Post Re: Custom PID codes
on: June 3, 2016 (GMT)

Quote from juanmedina on April 13, 2016
How about addding some custom PIDs for Lexus. It seems that there is only two important PIDs that are on the standard PIDs; knock feedback and knock correction learn value. With those two PIDs Torque Pro will be perfect for the Lexus IS-F croud :).

Thanks

Bump…

hosw
Member
Posts: 1
Post Re: Custom PID codes
on: December 13, 2017 (GMT)

I have PIDs 222183
How about add custom PID.

OBD2 Mode and PID
222183

long name
tire pressure

but OBD Header to use

How should be set?

222183
622183xx

Pages: 1 2 3 4 5 6 7 [8]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.328 seconds.

  Follow me on twitter