TOP 10
Aus iSysBus Doku
Protokoll / ISB-Protokoll / TOP 10
Inhaltsverzeichnis |
Datenaufbau
| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
| TOP | CMD | TOV | VALUE | --- | --- | --- | --- |
| 0x0A | <TOV> | uuuu uuuu | --- | --- | --- | --- |
Command (CMD)
Das Command-Byte steuert bestimmte Eigenschaften:
| CMD | Beschreibung |
| 0 | Lesen |
| 1 | Antwort |
| 2 | Schreiben |
Format
| VALUE | |||||||
| u | u | u | u | u | u | u | u |
Spezielle Werte
0x00 = Aus/Null 0x01 = kleinster Wert 0xFF = größter Wert
Einheit/Werttyp
Der TOV (Type Of Value) definiert die Interpretation des boolschen Wertes. Folgende Interpretationen sind derzeit vorhanden:
| ID | Name | Kodierung |
|---|---|---|
| 0x00 | Rohwert | 0-255 |
| 0x01 | Prozentwert 0-100% | 0x00 = Aus 0xFF = 100% 0x01 = ~0,04% |
| 0x02 | Prozentwert 0-255% | 0x00 = Aus 0x64 = 100% 0xFF = 255% |
| 0x03 | Winkel 0-360° | 0x00 = 0° 0xFF = 360° 0x01 = ~1,41° |
| 0x10 | Zählimpulse | 0-255 |