Hallo,
mein Name ist Tom, komme aus Bayern und habe mich jetzt im Rahmen eines anderen
Projektes (Haldex in meinen T4) mit dem
Can Bus auseinandergesetzt.
Ich habe Mal "mitgehorcht" und folgende
ID's werden übertragen:
0x280 Motor 1
0x288 Motor 2
0x380 Motor 3
0x388 Motor 4
0x480 Motor 5
0x488 Motor 6
0x320 KI 1
0x420 KI 2
0x520 KI 3
hier ist eine Auflistung, was ich alles herausgefunden habe:
Code: |
// Byte-Variablen für Can Pakete + Variablen für die realen Werte
byte Byte_0x280[8]; //Motor 1
//Standard ID: 0x280 DLC: 8 Data: 0x69 0x35 0x24 0x0C 0x35 0x00 0x41 0x35
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bitwerte | internes | Drehzahl | Drehzahl | inneres | Gaspedal | mechanisch.|Fahrerwunsch|
//| | Motormoment| Low | High | Motormoment| Wert | Motorverl. |Moment |
//| | Wert * 0,39| (RPM_L+ 256*RPM_H)/4 | Wert*0,39 | Wert*0,4 | Wert*0,39 |Wert*0,4 |
//| | (U/min) | (%) | (%) | (%) | (%) |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//+-Byte 0-----+------------+------------+------------+------------+------------+------------+------------+
//| Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Leergas | Gaspedal | Kickdown | Kupplung | ? | ?? | ?? |? |
//| | ungenau | Schalter | Schalter | ? | ? | ? |? |
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x288[8]; //Motor 2
//Standard ID: 0x288 DLC: 8 Data: 0x64 0x6B 0x10 0x00 0x00 0x4E 0x6D 0x00
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| ?? | Motor | Bitwerte | Geschwindig| Sollgeschw.| Leerlauf | Begrenzungs|min.einstell|
//| | Temperatur | | keit | GRA | Drehzahl | Wert |Moment |
//| |0,75*Wert-48| | Wert*1,28 | Wert*1,28 | Wert*10 | Wert*0,39 | Wert*0,39 |
//| | (C°) | | (km/h) | (km/h) | (U/Min) | (%) | (%) |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//+-Byte 2-----+------------+------------+------------+------------+------------+------------+------------+
//| Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bremslicht | Bremstest | Fehler | Ansteuerung| Status | ODB2 freze | GRA Status 00 = aus |
//| Schalter | Schalter | Kühlmittelt| Klima |Normalbtrieb| Frame | 01 = regeln 10 = Fehler |
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x380[8]; //Motor 3
//Standard ID: 0x380 DLC: 8 Data: 0x00 0x63 0x00 0x7D 0x10 0x00 0x00 0x00
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bitwerte | Aussentemp.| Pedalwert | ?? | ?? | ? | ? | ? |
//| | Ansaugtemp.| ohne GRA | | | | | |
//| |0,75*Wert-48| 0,4*Wert | | | | | |
//| | (C°) | (%) | | | | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//+-Byte 0-----+------------+------------+------------+------------+------------+------------+------------+
//| Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Vorglüh | ? | ? | ? | ? | ? | MSG | Fehler |
//| Meldung | | | | | | gesperrt | Ansaugtemp.|
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x388[3]; //Motor 4
//Standard ID: 0x388 DLC: 3 Data: 0x96 0x01 0x97
//+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 |
//+------------+------------+------------+
//| ?? | ?? | ?? |
//| | | |
//| | | |
//| | | |
//+------------+------------+------------+
byte Byte_0x480[8]; //Motor 5
//Standard ID: 0x480 DLC: 8 Data: 0xC0 0x00 0x32 0x5B 0x00 0x00 0x04 0xAD
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| ? | Bitwerte | Verbrauch | Verbrauch | ? | ? | ?? | ?? |
//| | | Low | High | | | | |
//| | | Byte2+(Byte3 &B01111111)| | | | |
//| | | *256 µL | | | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| ? | Vorglüh | E-Gas | ODB2 | CAT | Klimakomp. | ? | ? |
//| | Lampe | Lampe | Lampe | Warnung | Aus | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x488[8]; //Motor 6
//Standard ID: 0x488 DLC: 8 Data: 0x2E 0x34 0x34 0x78 0xA6 0x00 0x00 0xF0
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| ?? | inneres | inneres | Höhen | ? | ? | ? | ?? |
//| | Sollmoment | Istmoment | Faktor | | | | |
//| | 0,39*Wert | 0,39*Wert | 0,0078*Wert| | | | |
//| | (%) | (%) | | | | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x320[8]; //KI 1
//Standard ID: 0x320 DLC: 8 Data: 0x05 0x02 0x16 0x00 0x00 0x00 0x00 0x00
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bitwerte | Handbremse | Tankinhalt | Geschwind. | Geschwind. | ? | ? | ? |
//| | | Wert = Wert| Low | High | | | |
//| | | (Bit7=Reser| 0,01*(Ges_L+256*Gesch_H)| | | |
//| | | vewarnung) | (km/h) | | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//+-Byte 0-----+------------+------------+------------+------------+------------+------------+------------+
//| Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Fahrer | Fehler | Öldruck | Öldruck | Kühlmittel | Heißleuchte| Tankwarnung| Vorglüh |
//| Tür | Tank | | dynamisch | Mangel | | | Lampe |
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x420[8]; //KI 2
//Standard ID: 0x420 DLC: 8 Data: 0x01 0x00 0x00 0x56 0x64 0x00 0xFF 0x00
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bitwerte | Aussentemp | Aussentemp | Öltemperat | Kühlmittel | Kl.58d | KL58s | ? |
//| | gefiltert | ungefiltert| | Temp | | | |
//| | 0,5*Wert-50| 0,5*Wert-50| Wert-60 | 0,75*Wert- | | | |
//| | (C°) | (C°) | (C°) | 48 (C°) | | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| ?? | ?? | ?? | ?? | ?? | ?? | ?? | ?? |
//| | | | | | | | |
//+------------+------------+------------+------------+------------+------------+------------+------------+
byte Byte_0x520[8]; //KI 3
//Standard ID: 0x520 DLC: 8 Data: 0x01 0x01 0x00 0x56 0x2A 0xFA 0xDC 0x04
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
//| ?? | ?? | ? | ?? | ?? | Tachostand |
//| | | | | | b7<<8<<8 + b6<<8 + b5 |
//| | | | | | |
//| | | | | | km |
//+------------+------------+------------+------------+------------+------------+------------+------------+
|
speziell die Stellen mit ?? würden ich noch interessieren, da diese auch Daten enthalten.
Ich wäre für weitere Info's dankbar, und werde diese dann natürlich als ergänzte Liste wieder zur Verfügung stellen.
Gruß Tom