NMT » Historie » Version 2
Maximilian Seesslen, 11.07.2023 14:14
| 1 | 1 | Maximilian Seesslen | h1. NMT |
|---|---|---|---|
| 2 | |||
| 3 | h2. Actuator introduction |
||
| 4 | |||
| 5 | When introduction is requested by system command, each device must send Its UID (function code "NMT introduce") and an description. |
||
| 6 | The NodeId may conflict due to an network error. But the master can detect different UUIDs with same NodeId. |
||
| 7 | |||
| 8 | 2 | Maximilian Seesslen | h2. Function codes |
| 9 | 1 | Maximilian Seesslen | |
| 10 | 2 | Maximilian Seesslen | |_. Code |_. Decription |_. Examples | |
| 11 | | 0x0 | NMT-Write | | |
||
| 12 | | 0x1 | NMT-Send | | |
||
| 13 | | 0x2 | NMT-Introduce | Device sends UID only | |
||
| 14 | | 0x3 | NMT-setId | Set NodeId on Device | |
||
| 15 | 1 | Maximilian Seesslen | |
| 16 | 2 | Maximilian Seesslen | h2. Write/Send |
| 17 | |||
| 18 | 1 | Maximilian Seesslen | |_. Size |_. Decription | |
| 19 | 2 | Maximilian Seesslen | |2 | Object | |
| 20 | |6 | Data | |
||
| 21 | 1 | Maximilian Seesslen | |
| 22 | 2 | Maximilian Seesslen | h2. Objects |
| 23 | 1 | Maximilian Seesslen | |
| 24 | 2 | Maximilian Seesslen | |_. Object |_. Decription |_. Examples | |
| 25 | | 0x0 | Command channel | Send introducion | |
||
| 26 | | 0x1 | Firmware version | v0.1.1 | |
||
| 27 | | 0x1 | TDT version | v0.1.1 | |
||
| 28 | | 0x2 | NMT version | v0.2.2 | |
||
| 29 | | 0x3 | Blob version | v0.3.3 | |
||
| 30 | 1 | Maximilian Seesslen | |
| 31 | 2 | Maximilian Seesslen | h2. NMT-Introduce |
| 32 | |||
| 33 | When controller sends the command "send introducion", all nodes shall send their UID and other NMT information. |
||
| 34 | |||
| 35 | 1 | Maximilian Seesslen | |_. Size |_. Decription | |
| 36 | 2 | Maximilian Seesslen | |64 Bit | UID | |
| 37 | 1 | Maximilian Seesslen | |
| 38 | h2. Usecase: Setting Node-ID |
||
| 39 | |||
| 40 | Two nodes may have the same Node-ID. When scanning the network, the nodes will overwrite the counterparts information. |
||
| 41 | The "NMT-Introduce"-function code is used by the nodes to send theyr complete UID. NMT can then send |
||
| 42 | The new NodeID can not be part of the CAN-ID because the device may be filtering it out. (The whole NMT ) |