Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
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
|
|
|
|
elRey
|
|
« 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: +132/-4
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
|
|
|
|
elRey
|
|
« 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: +132/-4
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
|
|
|
|
elRey
|
|
« 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: +132/-4
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
|
|
|
|
jacog
Newbie
Karma: +1/-1
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: +186/-24
Offline
Posts: 1455
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
Posts: 68
|
|
« 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: +20/-3
Offline
Posts: 66
|
|
« 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
|
|
|
|
|
domnulvlad
Newbie
Karma: +0/-0
Offline
Posts: 3
|
|
« Reply #12 on: July 01, 2024, 04:25:36 AM »
|
|
|
Sorry for reviving such an old topic, but I might have some valuable info to share. And sorry if it seems like self-advertising, I'm just sharing the data I have collected. https://github.com/domnulvlad/KLineKWP1281Lib/blob/main/src/KLineKWP1281Lib.cpp#L1652This is my KWP1281 Arduino library, the link takes you straight to the function which applies conversion formulas. I hope they are all correct. Some of them I had to figure out through trial and error or debugging/decompilation. The ones still marked as "unknown", I have not yet figured out how to convert.
|
|
|
Logged
|
|
|
|
prj
|
|
« Reply #13 on: July 02, 2024, 08:33:59 AM »
|
|
|
You do not need to debug anything, all these formulas are in VAG iDEX access DB. Opening that db can be hardly called reversing.
Here's dump of my logger class that calculates the values, labels and units. Fuck implementing this ancient shit again and again and again.
Happy copy pasting.
|
|
|
Logged
|
|
|
|
domnulvlad
Newbie
Karma: +0/-0
Offline
Posts: 3
|
|
« Reply #14 on: July 02, 2024, 12:29:53 PM »
|
|
|
Very nice. It's easy to do when you have all the resources you need. I also made do with what I had, but I will assume yours are more accurate. Still, what is the meaning of formulas 139, 140, 141? You have commented them out, and I couldn't figure them out by giving values either.
|
|
|
Logged
|
|
|
|
|