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

Навигация

Wiren Board Device Modbus Address/en: различия между версиями

Новая страница: «Modbus address of the Wiren Board devices is printed on the label (the address is in decimal format). If the device has already been in use and its address has be…»
(Новая страница: «Modbus address of the Wiren Board devices is printed on the label (the address is in decimal format). If the device has already been in use and its address has be…»)
Строка 4: Строка 4:
== Сurrent Modbus address resolution ==
== Сurrent Modbus address resolution ==


Modbus-адрес устройств Wiren Board нанесен на наклейке (адрес указан в десятичном формате). Eсли устройство уже было в эксплуатации и адрес его оказался изменен, адрес необходимо каким-либо способом узнать. Программное обеспечение контроллера Wiren Board включает в себя утилиту modbus_client для работы с устройствами, подключенными к выходам RS-485, по протоколу Modbus (Modbus-адрес устройств Wiren Board хранится в регистре 0x80). Справку по команде можно получить, выполнив ее безо всяких параметров, подробное описание находится на странице [[Special:MyLanguage/Modbus-client|Modbus-client]]. Доступ к командной строке описан в статье [[Special:MyLanguage/SSH|SSH]].
Modbus address of the Wiren Board devices is printed on the label (the address is in decimal format). If the device has already been in use and its address has been changed, the address must be found in some way. The Wiren Board controller software includes the modbus_client utility to work with devices connected to RS-485 outputs via the Modbus Protocol (the Modbus address of the Wiren Board devices is stored in the 0x80 register). Help on the command can be obtained by running it without any parameters, a detailed description is on the  [[Modbus-client/en|Modbus-client]]. Access to the command line is described in the SSH article.
[[Файл:modbus_address_mr14.png|150px|thumb|left|Modbus-адрес, установленный на производстве]]
'''Перед работой с портом из командной строки остановите драйвер wb-mqtt-serial:'''


<syntaxhighlight lang="bash">root@wirenboard:~# service wb-mqtt-serial stop</syntaxhighlight>
<syntaxhighlight lang="bash">root@wirenboard:~# service wb-mqtt-serial stop</syntaxhighlight>
12 063

правки