Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Comprehensive list of PID operators and functions

Pages: 1 2 3 4 [5] 6
Author Topic: Comprehensive list of PID operators and functions
Capp777
Member
Posts: 2554
Post Re: Comprehensive list of PID operators and functions
on: April 14, 2018 (GMT)

Could you post a sample raw hex bytes
and expected value for your LTFT equation?

((A*256)+B)*(100/32768)-100

would have been my guess.

00 00 yields -100.0
FF FF yields 99.997
80 00 yields 0.0

(65535/2.56)-100 = 25499.61

Trying to understand as my son drives
a Crown Vic so these pids/equations would
be useful to us as well.

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: April 15, 2018 (GMT)

LONGFT1 for ford focus 2:
request:7E0 03 22 11 56 00 00 00 00
response:7E8 05 62 11 56 00 EF 00 00 (-6.64)
response:7E8 05 62 11 56 00 F7 00 00 (-3.52)

Capp777
Member
Posts: 2554
Post Re: Comprehensive list of PID operators and functions
on: April 15, 2018 (GMT)

Signed(B)*(100/256) ?

((A*256)+B)*(100/256)-100 ?

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: April 16, 2018 (GMT)

((A*256)+B)*(100/256)-100 it is for LONGFT1

Capp777
Member
Posts: 2554
Post Re: Comprehensive list of PID operators and functions
on: April 16, 2018 (GMT)

I tested the following for STFT in my son’s
crown vic at idle…

(((A*256)+B)*(100/32768)-100)*-1.0

(A*(100/128)-100)*-1.0

which seemed to match OBD STFT min/max for both
banks. Would be curious if it works for you under
driving conditions.

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

((A*256)+B)*(100/32768)-100)*-1.0 -this is the same formula as (((A*256)+B)-32768)/-327.68
at the data A=87 B=AE is obtained -6.00 but should be -5.4
the value is overstated.

cintakc
Member
Posts: 1105
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

I looked at the answers for PID 221158 based on the program FORScan there is no linear dependence

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

I also look at the answers in Forscan.

Capp777
Member
Posts: 2554
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

The single byte A equation does yield -5.4 and
more likely mimics how OBD STFT is calculated.
The second byte B equation adds greater
resolution so the -6.0 seemed reasonable to
me.

https://torque-bhp.com/forums/?wpforumaction=viewtopic&t=635.0

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

A=A0
B=00
Rezult -20.00
How to explain it?

Capp777
Member
Posts: 2554
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

Not sure because with both equations
and A0 00 results are -25.0 by calculator.

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: April 18, 2018 (GMT)

A=80
B=00
rezult=0.00

Ioniq-BEV
Member
Posts: 1
Post Re: Comprehensive list of PID operators and functions
on: April 21, 2018 (GMT)

..”Also, suggest having a MIN() and MAX() that returns a running minimum or maximum of a particular PID.”

How I can read running MIN and MAX value of any PID?
Functions MIN(A:B) and MAX(A:B) compares two numbers

FntX
Member
Posts: 49
Post Re: Comprehensive list of PID operators and functions
on: May 3, 2018 (GMT)

Quote from vl_vic on April 18, 2018
A=80
B=00
rezult=0.00

INT16(A:B)=8000[WORD]
8000 = DEC32768 – 32768 = 0
0/-327,68 = 0

Just have a look at the equation steps when using the test PID window.

Something seems odd to me. Where do you take these values from exactly? I do understand subtraction of 32768 but what about the division by -327,68 which is equal to (32768 * -10)?

vl_vic
Member
Posts: 11
Post Re: Comprehensive list of PID operators and functions
on: May 3, 2018 (GMT)

(((A * 256) + B) -32768) / – 327,68 -this is only an assumption. I do not know the real formula

Space
Member
Posts: 2
Post Re: Comprehensive list of PID operators and functions
on: July 2, 2018 (GMT)

This is my firs post and I need help. :)

I will need PID settings for AUDI TT OIL TEMP for engine and DSG gearbox.

Can some1 help?

artca
Member
Posts: 1
Post Re: Comprehensive list of PID operators and functions
on: August 13, 2018 (GMT)

I ham using a Samsung Galaxy tablet- the screen keyboard doesn’t seem to register decimal points. Is there a way around this- i.e., when the application asks for capacity in gallons and you input 21.1 the decimal doesn’t show-the image is 211.

I’m a Volvo enthusiast, I own three Volvo’s. A 1989 740 GLE; a 1991 940
Non-turbo sedan; a 1998 Volvo V90 wagon.

tbird635
Member
Posts: 15
Post Re: Comprehensive list of PID operators and functions
on: September 19, 2018 (GMT)

Can anyone help ? I’m new to adding PIDs and am just looking to add a simple PID for ethanol fuel sensor hz / percentage.

It’s a flex fuel 1999 Ranger (VIn code V 3.0 ff) with a FF sensor. 1996-2003 Tauruses use the sensor also.

What I haven’t been able to determine yet is if the PID I found is correct for the application.

PID seems to be 16ab . It should output a value between 55 and 115 hertz. ( 55 being straight gasoline 0% , and 115 hz being e85 at 85% .) Newer Flex Fuel Fords do not use the sensor and calculate it a different way.

I tried using torque scan to verify that PID, but it took over an hour and no results.
Also, I can’t get that PID when entered to give me a value.

Am I doing something wrong on the PID scan? Is my PID format correct? (2216ab ) Header necessary?

I don’t necessarily need a value in percentages, just the raw output in hertz.

Thanks for any help you can give me.

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

  Follow me on twitter