Pages: [1]
Author Topic: KWP-1281 Measuring Block Value Formulas  (Read 48711 times)
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +130/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« on: September 02, 2009, 10:13:23 PM »


A list of all of the scaling formulas used by the KWP-1281 protocol when transmitting measured values.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
elRey
Hero Member
*****

Karma: +31/-1
Offline Offline

Posts: 565


« Reply #1 on: September 07, 2010, 09:31:15 AM »

Is sample rate limited using kwp1281 to read these? Is there a workaround to increase sample rate?
Logged
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +130/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #2 on: September 07, 2010, 11:28:19 AM »

Sample rated is limited by the spec of the KWP1281 protocol.

If you want to sample faster, you would need to communicate over a different protocol like KWP2000.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
elRey
Hero Member
*****

Karma: +31/-1
Offline Offline

Posts: 565


« Reply #3 on: September 12, 2010, 08:03:50 AM »

Is it the kwp1281 that causes the sample rate to decrease the more mblocks you read?

Is it the same with kwp2000? Or does sample rate remain the same more matter how many mblocks are read?

Don't you have a data  logging utility in the works?

Thanks,
Rey
Logged
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +130/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #4 on: September 12, 2010, 01:17:36 PM »

The KWP1281 protocol runs at fairly slow baud rate of 10400. The more measuring blocks you read, the longer it will be between each block read.

I have a data logger in the works, and it or checksum correction is what I am hoping to release next.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
elRey
Hero Member
*****

Karma: +31/-1
Offline Offline

Posts: 565


« Reply #5 on: September 12, 2010, 06:49:00 PM »

Great. I can't wait!

How you you suppose APR's ECU Explorer is able to get such a high sample rate that is not affected by the number of channels read at one time?

I know it's very ECU specific (property file need for each ECU).
Logged
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +130/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #6 on: September 13, 2010, 09:11:54 AM »

They use the KWP2000 protocol for ECUx which can run at a much faster baud rate.
« Last Edit: September 16, 2011, 11:44:43 AM by Tony@NefMoto » Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
jacog
Newbie
*

Karma: +1/-1
Offline Offline

Posts: 4


« Reply #7 on: September 16, 2011, 01:02:49 AM »

Hi,I'm looking for formulas used in VW-TP 2.0 (over CAN). For numbers from 1 to 70 KW1281 formulas are ok but for example on group 3 (tested on Octavia 1.4TSI), second value uses formula number 0x60 = 96dec.

I need this for VAGCANlogger project - standalone logger which saves engine logs on SD card.
Logged
fknbrkn
Hero Member
*****

Karma: +175/-18
Offline Offline

Posts: 1400


mk4 1.8T AUM


« Reply #8 on: January 07, 2015, 11:30:06 AM »

A list of all of the scaling formulas used by the KWP-1281 protocol when transmitting measured values.

can someone say where in binary variables are linked with this bytes ? and how they are getting IDs ? ( 1 nmot, 2 rl etc )
i want to declare my new variable to saw it in vcds meas. group
« Last Edit: January 07, 2015, 11:32:02 AM by fukenbroken » Logged
sonflasch
Full Member
***

Karma: +12/-2
Offline Offline

Posts: 66


« Reply #9 on: February 17, 2021, 01:57:51 AM »

Hi,I'm looking for formulas used in VW-TP 2.0 (over CAN). For numbers from 1 to 70 KW1281 formulas are ok but for example on group 3 (tested on Octavia 1.4TSI), second value uses formula number 0x60 = 96dec.

I need this for VAGCANlogger project - standalone logger which saves engine logs on SD card.

Hello @ all
like "jacog" I am looking for what there are for formulas after 70.
Or does it end at 70 and I have a mistake? why is it for example 96 as described above?

Thanks if someone cleared it up

Kind Regards

Logged
elias
Full Member
***

Karma: +17/-3
Offline Offline

Posts: 56


« Reply #10 on: May 01, 2023, 02:54:28 PM »

Hey

I am also really interested in figuring out, how values after 70(dec) behave. Especially trying to figure out how 0x60(dec 96) behave. If someone have some informations, please share.

Many thanks in Advance,
Elias
Logged
elias
Full Member
***

Karma: +17/-3
Offline Offline

Posts: 56


« Reply #11 on: May 02, 2023, 02:34:40 PM »

Okey i found the missing measurement blocks formulas. Attached is the document which includes the informations needed. If you combine it with the previous table, you should be able to figure out the formulas.

There is also a example implementation using this table on github:
https://github.com/fr3ts0n/AndrOBD/blob/master/library/src/main/java/com/fr3ts0n/ecu/VagConversion.java

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.02 seconds with 17 queries. (Pretty URLs adds 0s, 0q)