12 063
правки
(Новая страница: «If new channels appear in the message broker (for example, when a new device is connected), they will be added to the list when the service is restarted (this hap…») |
(Новая страница: «The channels are divided into 4 groups - register types in Modbus: *'''Discrete inputs'''- binary values (1/0) that are read-only (for example, GPIO input States…») |
||
Строка 49: | Строка 49: | ||
If new channels appear in the message broker (for example, when a new device is connected), they will be added to the list when the service is restarted (this happens when the configuration file is saved or when the controller is restarted). | If new channels appear in the message broker (for example, when a new device is connected), they will be added to the list when the service is restarted (this happens when the configuration file is saved or when the controller is restarted). | ||
The channels are divided into 4 groups - register types in Modbus: | |||
* '''Discrete inputs''' - | |||
* '''Coils''' - | *'''Discrete inputs'''- binary values (1/0) that are read-only (for example, GPIO input States); | ||
* '''Input registers''' - | *'''Coils''' - registers flags - binary values available for reading and writing (for example, switches state relay); | ||
* '''Holding registers''' - | *'''Input registers''' - read-only numeric values (e.g. value from temperature sensor); | ||
*'''Holding registers''' - storage registers - numeric values available for reading and writing (for example, brightness). | |||
Распределение происходит автоматически на основании описания канала (в топиках /devices/+/controls/+/meta/+). | Распределение происходит автоматически на основании описания канала (в топиках /devices/+/controls/+/meta/+). |
правки