RS-485/en: различия между версиями

Материал из Wiren Board
(Новая страница: «Up to 256 devices can be connected to the bus. Transmission speed is up to 115200 bit/s.Line length is up to 1200 meters.»)
 
(не показано 20 промежуточных версий этого же участника)
Строка 1: Строка 1:
<languages/>
<languages/>
__NOTOC__
__NOTOC__
'''RS-485''' - two-wire bus communication standard.
'''RS-485''' is two-wire bus communication standard.


Up to 256 devices can be connected to the bus. Transmission speed is up to 115200 bit/s.Line length is up to 1200 meters.
Up to 256 devices can be connected to the bus. Transmission speed is up to 115200 bit/s.Line length is up to 1200 meters.


К контроллеру [[Special:MyLanguage/Wiren Board|Wiren Board]] шиной RS-485 можно подключить:
You can connect the following devices to the Wiren Board controller Via the RS-485 bus:
* [[Special:MyLanguage/Периферийные устройства с интерфейсом RS-485 серии WB-xxxx | устройства нашего производства с интерфейсом RS-485]],
* [[Special:MyLanguage/Периферийные устройства с интерфейсом RS-485 серии WB-xxxx | devices of our production with the RS-485 interface]],
* счётчики Меркурий и Милур,
* Mercuriy and Milur counters,
* [[Special:MyLanguage/Поддерживаемые устройства#Подключаемые по RS-485 | некоторые другие устройства]].
* [[Поддерживаемые устройства/en#Connected via RS-485 | some other devices]].




==Основы интерфейса RS-485==
==Basics of the RS-485 interface==


Смотрите статью [[RS-485:Основы функционирования интерфейса RS-485|RS-485:Основы функционирования интерфейса RS-485]].
See article [[RS-485:Основы функционирования интерфейса RS-485|Basics of RS-485 interface operation]].


В устройствах Wiren Board поверх RS-485 используется [[Special:MyLanguage/Протокол Modbus|Протокол Modbus]].
The Wiren Board devices use the Modbus Protocol on top of the RS-485. [[Протокол Modbus/en| Modbus protocol]].




==Как правильно проложить шину==
==How to lay the bus correctly==


Смотрите статью [[RS-485:Физическое подключение|RS-485:Физическое подключение]].
See article[[RS-485:Физическое подключение/en| RS-485:Physical connection]].




==Добавление устройства в веб-интерфейс==
==Adding a device to the web interface==


[[File:rs-485-setup-configs.png|thumb|right|300 px|Настройка происходит через страницу ''Configs'' [[RS-485:Настройка через веб-интерфейс|веб-интерфейса]]]]
[[File:rs-485-setup-configs.png|thumb|right|300 px|Configuration takes place via the ''Configs'' [[RS-485:Настройка через веб-интерфейс|веб-интерфейса]]]]
После подключения устройства RS-485 к контроллеру, нужно выполнить настройку, чтобы оно появилось в веб-интерфейсе. Смотрите инструкцию в статье [[RS-485:Настройка через веб-интерфейс|RS-485:Настройка через веб-интерфейс]].
After connecting the RS-485 device to the controller, you need to configure it to appear in the web interface. See the instructions in article [[RS-485:Настройка через веб-интерфейс|RS-485:Настройка через веб-интерфейс]].




== Работа с портом RS-485 контроллера из собственного ПО ==
== Working with RS-485 port of the controller using its own software ==


*Стандартно в Wiren Board с подключёнными по RS-485 устройствами работает [[Special:MyLanguage/Драйвер wb-mqtt-serial|Драйвер wb-mqtt-serial]] (ранее ''wb-homa-modbus''). Он позволяет работать с подключёнными устройствами RS-485 через систему [[Special:MyLanguage/MQTT|MQTT]]-сообщений.
*As default  [[Драйвер wb-mqtt-serial/en| wb-mqtt-serial driver]] manages devices connected to Wiren Board controller via RS-485(the previous driver was ''wb-homa-modbus''). It allows you to work with connected RS-485 devices via [[MQTT/en| MQTT ]]message system.
*:Если вы хотите работать с портом RS-485 напрямую, не используя этот драйвер - отключите его, иначе он будет писать в порт RS-485.
*:If you want to work with RS-485 port directly without using this driver - disable it, otherwise it will write to RS-485 port.
*[[Special:MyLanguage/Работа с последовательным портом из Linux|Работа с последовательным портом из Linux]]
*[[Работа с последовательным портом из Linux/en |Working with a serial port in Linux]]
*[[Special:MyLanguage/Доступ к порту RS-485 контроллера Wiren Board с компьютера|Доступ к порту RS-485 контроллера Wiren Board с компьютера]]
*[[Доступ к порту RS-485 контроллера Wiren Board с компьютера/en|Access to the RS-485 port of the Wiren Board controller from a computer]]
*[[Special:MyLanguage/UART_Communication_Settings|Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board]]
*[[UART_Communication_Settings/en|UART Communication Settings for Modbus devices]]

Текущая версия на 17:23, 3 июня 2019

Другие языки:

RS-485 is two-wire bus communication standard.

Up to 256 devices can be connected to the bus. Transmission speed is up to 115200 bit/s.Line length is up to 1200 meters.

You can connect the following devices to the Wiren Board controller Via the RS-485 bus:


Basics of the RS-485 interface

See article Basics of RS-485 interface operation.

The Wiren Board devices use the Modbus Protocol on top of the RS-485. Modbus protocol.


How to lay the bus correctly

See article RS-485:Physical connection.


Adding a device to the web interface

Configuration takes place via the Configs веб-интерфейса

After connecting the RS-485 device to the controller, you need to configure it to appear in the web interface. See the instructions in article RS-485:Настройка через веб-интерфейс.


Working with RS-485 port of the controller using its own software