Перейти к содержанию

Навигация

WB-MRM2-mini Modbus Relay Modules/en: различия между версиями

Новая страница: «The WB-MRM2 device is standard, so its description is specified in the template that is stored on the Wiren Board controller in the file /usr/share/wb-mqtt-serial…»
(Новая страница: «Note: the green Status led on the back of the WB-MRM2 module has started to flash intermittently, which means that the Wiren Board is communicating with the module.»)
(Новая страница: «The WB-MRM2 device is standard, so its description is specified in the template that is stored on the Wiren Board controller in the file /usr/share/wb-mqtt-serial…»)
Строка 182: Строка 182:
Note: the green Status led on the back of the WB-MRM2 module has started to flash intermittently, which means that the Wiren Board is communicating with the module.  
Note: the green Status led on the back of the WB-MRM2 module has started to flash intermittently, which means that the Wiren Board is communicating with the module.  


Устройство WB-MRM2 стандартное, поэтому его описание задано в шаблоне, который хранится на контроллере Wiren Board в файле /usr/share/wb-mqtt-serial/templates/config-wb-mrm2.json.
The WB-MRM2 device is standard, so its description is specified in the template that is stored on the Wiren Board controller in the file /usr/share/wb-mqtt-serial/templates/config-wb-mrm2.json.
В модулях с версией прошивки до 1.5.4 включительно использовалась другая карта регистров, где состояние входов описывалось discrete-регистрами 0 и 1, в более новых устройствах предполагается использование holding-регистров 7 и 8. Если вы используете старое устройство, то для корректной работы используйте шаблон /usr/share/wb-mqtt-serial/templates/config-wb-mrm2-old.json.
In modules with firmware version up to 1.5.4 inclusive, another register card was used, where the state of the inputs was described by the discrete registers 0 and 1, in newer devices the holding registers 7 and 8 are supposed to be used. If you are using an older device, use the /usr/share/wb-mqtt-serial/templates/config-wb-mrm2-old.json. template to work correctly.


== Управление модулем через web-интерфейс Wiren Board ==
== Управление модулем через web-интерфейс Wiren Board ==
12 063

правки