Ciao,
Mi chiamo Tom, vengo dalla Baviera e ora mi sono iscritto nell'ambito di un altro...
Progetto (Haldex nel mio T4).
Analisi del CAN bus.
Ho ascoltato di nascosto e ho sentito le seguenti cose:
Gli ID vengono trasferiti:
Motore 0x280, unità 1.
Motore 0x288, modello 2.
Motore 0x380, modello 3.
Motore 0x388, modello 4.
Motore 0x480, modello 5.
Motore 0x488, modello 6.
0x320 AI 1
0x420 AI 2
0x520 AI 3
Ecco un elenco di ciò che ho scoperto:
Codice: |
// 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 |
//+------------+------------+------------+------------+------------+------------+------------+------------+
|
In particolare, le sezioni contrassegnate con "??", che contengono anche dati, mi interessano particolarmente.
Sarei grato per ulteriori informazioni e, naturalmente, le metterò a disposizione in una lista aggiornata.
Ciao Tom.