Geräteerkennung

Übersicht

Das Truma Bedienfeld erkennt Geräte am LIN-Bus über einen dreiphasigen Prozess.

Phase 1: Broadcast-Erkennung

Der Master sendet ReadByIdentifier (SID=0xB2) mit Broadcast-NAD (0x7F), um Geräte zu finden.

Anfrage (Beispiel für CombiGas 0x0340):

7F 06 B2 00 17 46 40 03
│  │  │  │  │  │  └──┴─ Function ID (0x0340 = CombiGas, Little-Endian)
│  │  │  │  └──┴─────── Supplier ID (0x4617 = Truma)
│  │  │  └───────────── Identifier (0x00 = ProductID)
│  │  └──────────────── SID (0xB2 = ReadByIdentifier)
│  └─────────────────── PCI (0x06 = 6 Bytes)
└────────────────────── NAD (0x7F = Broadcast)

Bekannte Produkttypen

Supplier ID

Truma verwendet die Supplier ID 0x4617 (Bytes: 0x17 0x46 Little-Endian).

Function IDs (Heizgeräte)

Function IDProdukt
0x0301Combi Gas (Alt)
0x0310Combi D (Alt)
0x0320Combi D (Neu)
0x0340Combi Gas (Neu)

Function IDs (Klimaanlagen)

Function IDProdukt
0x0C00Aventa Comfort
0x0C01Saphir Compact
0x0C04Aventa Eco
0x0C05Saphir Comfort RC
0x0C06Aventa Compact
0x0C07Aventa Comfort Plus

Antwort (Beispiel: CombiGas gefunden mit Variante 0x23):

01 06 F2 17 46 40 03 23
│  │  │  │  │  │  │  └─ Variante (0x23)
│  │  │  │  │  └──┴──── Function ID (0x0340)
│  │  │  └──┴────────── Supplier ID (0x4617)
│  │  └──────────────── RSID (0xF2)
│  └─────────────────── PCI
└────────────────────── NAD (aktuelle Geräteadresse)

Phase 2: Geräteidentifikation

Der Master fragt das erkannte Gerät nach Firmware und Fähigkeiten ab.

Firmware-Version (ID=0x20):

Anfrage:  01 06 B2 20 17 46 40 03
Antwort:  01 06 F2 02 00 01 01 00
                   │  │  │  └──┴─ Build (0x0100 = 256)
                   │  │  └─────── Revision (1)
                   │  └────────── Minor (0)
                   └───────────── Major (2) → v2.0.1

Unbekannte Abfrage (ID=0x22):

Anfrage:  01 06 B2 22 17 46 40 03
Antwort:  01 04 F2 04 01 00 FF FF  (Zweck unbekannt)

Phase 3: NAD-Zuweisung

Der Master weist dem Gerät eine permanente Adresse zu.

AssignNAD (SID=0xB0):

Anfrage:  7F 06 B0 17 46 40 03 01
                         │  │  └── Neue NAD (0x01)
                         └──┴───── Function ID (0x0340)

Antwort:  01 01 F0 FF FF FF FF FF  (ACK mit neuer NAD)

Nach der Erkennung: Stabiler Betrieb

Nach der Erkennung erfolgt periodisches Polling:

  1. Signal-Frames (~52ms Zyklus): 0x20, 0x21, 0x22
  2. Diagnose-Poll (~1,3s): SID=0xB8/RSID=0xF8
  3. Fehlerstatus-Abfrage (~1,3s): ID=0x23

Fehlerstatus (ID=0x23): Siehe Fehlerbehandlung