Периферийные устройства с интерфейсом RS-485 серии WB-xxxx/en: различия между версиями
Matveevrj (обсуждение | вклад) |
(Новая страница: «== How to install a new Modbus address on our RS-485 device== # Connect the device to the controller, ONLY this device should be connected via the BUS. #: '''If y…») |
||
(не показаны 2 промежуточные версии 1 участника) | |||
Строка 87: | Строка 87: | ||
<div class="mw-translate-fuzzy"> | |||
{| class="wikitable" | {| class="wikitable" | ||
|[[Универсальный датчик WB-MS|WB-MSW v.1, v.2 hybrid sensors in wall-mounted enclosure]] | |[[Универсальный датчик WB-MS|WB-MSW v.1, v.2 hybrid sensors in wall-mounted enclosure]] | ||
Строка 115: | Строка 116: | ||
|- | |- | ||
|[[WB-MD2_230V_Dimmer| | |[[WB-MD2_230V_Dimmer| | ||
LED and incandescent lamps dimmer WB-MD2 | LED and incandescent lamps dimmer WB-MD2] | ||
|[[File:WB_MD2_small.png |100px]] | |[[File:WB_MD2_small.png |100px]] | ||
|- | |- | ||
|} | |} | ||
</div> | |||
== How to install a new Modbus address on our RS-485 device== | == How to install a new Modbus address on our RS-485 device== | ||
# Connect the device to the controller, ONLY this device should be connected via the BUS. | # Connect the device to the controller, ONLY this device should be connected via the BUS. | ||
#: '''If you connect several devices on the bus, their performance will be disrupted!''' | #: '''If you connect several devices on the bus, their performance will be disrupted!''' | ||
# Run the [[ | # Run the [[Консоль | console]] commands: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
service wb-mqtt-serial stop # stop the standard RS-485 driver | service wb-mqtt-serial stop # stop the standard RS-485 driver | ||
Строка 132: | Строка 134: | ||
== | == Обновление прошивки устройства == | ||
Начиная с новых версий микропрограмм устройства поддерживается функционал обновления прошивки (микропрограммы) по протоколу Modbus. Это дает возможность расширять функциональные возможности устройств и устранять ошибки в микропрограммном обеспечении непосредственно на месте монтажа. Подробнее о перепрошивке устройств рассказано в статье [[WB-MCU-Flasher|Загрузка прошивок на устройства Wiren Board]]. Список версий прошивок, поддерживающих обновление, а также устройств, для которых эта функция реализована, можно найти в статье [[Firmware_Changelog]]. |
Версия 17:06, 28 мая 2019
We produce our own peripherals connected via RS-485 (Modbus).
They are guaranteed to be compatible with the Wiren Board controller and have the best software support.
Current models
Current models for special solutions
WB-MR6F Modbus relay module for stepped control of two fans | |
Modbus Analog inputs module WB-MAI |
Discontinued models
How to install a new Modbus address on our RS-485 device
- Connect the device to the controller, ONLY this device should be connected via the BUS.
- If you connect several devices on the bus, their performance will be disrupted!
- Run the console commands:
service wb-mqtt-serial stop # stop the standard RS-485 driver
# In the next line, replace "158" with the new address (1 to 247) and "/dev/ttyAPP1" with the controller port to which the device is connected
modbus_client --debug -m rtu -s2 -pnone /dev/ttyAPP1 -a0x00 -t0x06 -r0x80 158 # write new address to device
service wb-mqtt-serial start # start the standard RS-485 driver again
Обновление прошивки устройства
Начиная с новых версий микропрограмм устройства поддерживается функционал обновления прошивки (микропрограммы) по протоколу Modbus. Это дает возможность расширять функциональные возможности устройств и устранять ошибки в микропрограммном обеспечении непосредственно на месте монтажа. Подробнее о перепрошивке устройств рассказано в статье Загрузка прошивок на устройства Wiren Board. Список версий прошивок, поддерживающих обновление, а также устройств, для которых эта функция реализована, можно найти в статье Firmware_Changelog.