Projekt

Allgemein

Profil

Aktionen

TDT-Protocol on CAN » Historie » Revision 4

« Zurück | Revision 4/104 (diff) | Weiter »
Maximilian Seesslen, 05.10.2022 17:06


TDT-Protocol on CAN

With the TDT-Protocol sensors can just send their values on the BUS.
An monitor-software should be able to display values without knowing about the sensors or their configuration.
The CANId of snesors is actually their configurable ID.
Sensor values are ususally not very important so they start at 0x200 (max ids 0x800);

Size Decription Examples
1 Sub-Id; Futher index; Sub-Sensor or more specifi kind of thing to be set
1 Data type Int, Float, Time, Date
1 Unit Hz, °C, Time, Date, PWM-Percent, PWM-Promil
4 Value 32Bit

CAN IDs

Range Decription Examples
0x100-0x1FF Control commands Set global actuator
0x200-0x2FF Sensors/actors fixed
0x300-0x7FF Sensors/actors dynamic

Global actuator

Global means that all actuators of an type is addressed and not one concrete partipiant.

ID global actuator Decription
0x100 System command Perform system command; e.g. reboot, poweroff
0x101 Date/Time Set date/time of all actuator
0x102 Illumination Set brightness of lamps

Illumination

Sub-ID Type
0x0 Ambient
0x1 Plant

Von Maximilian Seesslen vor mehr als 2 Jahren aktualisiert · 4 Revisionen