CANhack.de CAN-Interface RKS+CAN
Diesel technology, engine technology, vehicle diagnostics, repair & maintenance.

Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren?

 
New Topic Reply 🔗 🖨 CANhack.de - Index » Interior / Comfort CAN
Author Message
coyote01
Guest




 


Free account, no CAN development support

Post10-09-2012, 21:03    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

Hello,

How can I determine the time from frame 0x65D?

[Link to log from Seat Leon 1P, model year 2007:]
https://docs.google.com/spreadsheet/ccc?key=0Am_AZ0nI0nKLdGRYWHUteGdXU3JPYVluWEthSy1ZdUE{MARKER}
Back to top
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post10-09-2012, 21:32    Subject: Re: How to decode instrument cluster time from frame 0x65D? Quote

Quote:
How to read the time from frame 0x65D?


text
Encoding should be like this:

BO_ 1629
SG_aging_Counter: 0|8@1+ (1.0) [0|254] ""
SG_Odometer: 8|20@1+ (1.0) [0|1048575] "Unit_Kilometer"
SG_Year: 28|7@1+ (1,2000) [2000|2127] "Unit_Year"
SG_Month: 35|4@1+ (1.0) [1|12] "Unit_Month"
SG_ Day : 39|5@1+ (1.0) [0|31] "Unit_Day"
SG_Hour: 44|5@1+ (1.0) [0|23] "Unit_Hours"
SG_ Minute : 49|6@1+ (1.0) [0|59] "Unit_Minute"
SG_Second: 55|6@1+ (1.0) [0|59] "Unit_Secon"
SG_alt_Odo: 62|1@1+ (1.0) [0|1] ""
SG_old_Time: 63|1@1+ (1.0) [0|1]
Back to top Profile PM
coyote01
Guest




 


Free account, no CAN development support

Post10-09-2012, 23:42    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

Thanks for your reply!

But, I don't understand this notation icon_sad.gif.

For example, notation:
SG_ Hour : 44|5@1+ (1.0)
means:
44|5 --> 44 is 'start bit'* offset? 5 is bits length?
@1+ --> I don't know what it means icon_sad.gif
(1,0) --> 1 is the value by which we are dividing the result value? 0 is the value which we are adding to the result.
|23] --> 0 is the minimum value and :)23 is the maximum value .

icon_smile.gif* - first from bits creating the value


Last edited on 10-09-2012, 23:43, edited 1 time in total.
Back to top
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post11-09-2012, 10:49    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

Quote:
For example, notation:
Quote:
SG_ Hour : 44|5@1+ (1.0) [0|23] "Unit_Hours"

means:
44|5 --> 44 is the "start bit" offset? 5 is the bits length?


Okay. Simply treat all bits as numbered from 0 to (a maximum of) 63. This avoids arguments about whether the first byte is byte0 or byte1 (Bosch has sometimes been inconsistent on this) and makes things easier if you have signals that span multiple bytes, as in this message.

Quote:
@1+ --> I don't know what it means icon_sad.gif


Me too. I guess this was taken from some symbol file, and I think I've never seen anything different from "@1+".
Wild guess: This is probably about whether to process data starting with the least significant bit (LSB) or the most significant bit (MSB).

Quote:
(1,0) --> 1 is the value by which we are dividing the result value? 0 is the value which we are adding to the result. icon_smile.gif
[0|23] --> 0 is the minimum value icon_smile.gif and 23 is the maximum value icon_smile.gif
.

Okay.
Back to top Profile PM
coyote01
Guest




 


Free account, no CAN development support

Post11-09-2012, 20:04    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

Thanks for the clarification, but this pattern does not match the data read by me icon_sad.gif.

An attempt to read the number of seconds:
http://jsbin.com/ohevez/3/edit{MARKER}
Back to top
Thomas
Guest




 


Free account, no CAN development support

Post15-09-2012, 18:25    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

Hello,

The bit order appears to be different from what one would expect.

A7 | A6 | A5 | A4 | A3 | A2 | A1 | A0
O7|O6|O5|O4|O3|O2|O1|O0
O15|O14|O13|O12|O11|O10|O9|O8
Y3|Y2|Y1|Y0|O19|O18|O17|O16
D0|MO3|MO2|MO1|MO0|Y6|Y5|Y4
H3|H2|H1|H0|D4|D3|D2|D1
S0|M5|M4|M3|M2|M1|M0|H4
x|x|x|S5|S4|S3|S2|S1

A7-A0: aging counter.
O19-O0: odometer
Y6-Y0: year
MO3-MO0: month
D4-D0: day
H4-H0: hour
M5-M0: minute.
S5-S0: second

Bitte gib mir den deutschen Text, den du übersetzt haben möchtest.
http://jsbin.com/ohevez/8/edit{MARKER}
Back to top
coyote01
Guest




 


Free account, no CAN development support

Post15-09-2012, 20:29    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

You're welcome!
Back to top
muurman



Joined: 07/24/2016
Posts: 14
Karma: +4 / -1   Thank you, like it!


Free account, no CAN development support

Post13-08-2016, 21:05    Subject: Wie kann man die Zeitinformationen aus Instrumentenkombinationen aus Frame 0x65D extrahieren? Quote

cpp
void setup() {
// Initialize serial communication at 9600 baud rate
Serial.begin(9600);
}

void loop() {
// Read the value from analog pin A0
int sensorValue = analogRead(A0);

// Print the sensor value to the serial monitor
Serial.print("Sensor Value: ");
Serial.println(sensorValue);

// Wait for 1 second
delay(1000);
}

bitWrite(uur, 4, bitRead(rxBuf[6], 0));
text
bitWrite(uur, 3, bitRead(rxBuf[5], 7));
text
bitWrite(uur, 2, bitRead(rxBuf[5], 6));
text
bitWrite(uur, 1, bitRead(rxBuf[5], 5));
text
bitWrite(uur, 0, bitRead(rxBuf[5], 4));

text
bitWrite(minuut, 5, bitRead(rxBuf[6], 6));
text
bitWrite(minuut, 4, bitRead(rxBuf[6], 5));
text
bitWrite(minuut, 3, bitRead(rxBuf[6], 4));
text
bitWrite(minuut, 2, bitRead(rxBuf[6], 3));
text
bitWrite(minuut, 1, bitRead(rxBuf[6], 2));
text
bitWrite(minuut, 0, bitRead(rxBuf[6], 1));

text
bitWrite(seconde, 5, bitRead(rxBuf[7], 4));
text
bitWrite(seconde, 4, bitRead(rxBuf[7], 3));
text
bitWrite(seconde, 3, bitRead(rxBuf[7], 2));
bitWrite(seconde, 2, bitRead(rxBuf[7], 1));
text
bitWrite(seconde, 1, bitRead(rxBuf[7], 0));
bitWrite(seconde, 0, bitRead(rxBuf[6], 7));
Back to top Profile PM
New Topic Reply 🔗 🖨 CANhack.de - Index » Interior / Comfort CAN
Similar articles and topics
Topic Forum
No new posts ESP and Standing time Engine CAN
No new posts How does it activate an indicator for two seconds? Interior / Comfort CAN
Jump to:  
You cannot post new topics in this forum.