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

Материал из Wiren Board
(Новая страница: «See article Basics of RS-485 interface operation. See article RS-485:Basics…»)
 
(не показано 17 промежуточных версий этого же участника)
Строка 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.


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




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


See article RS-485:Basics of RS-485 interface operation.
The Wiren Board devices use the Modbus Protocol on top of the RS-485. [[Протокол Modbus/en| Modbus protocol]].


В устройствах Wiren Board поверх RS-485 используется [[Special:MyLanguage/Протокол Modbus|Протокол Modbus]].


==How to lay the bus correctly==


==Как правильно проложить шину==
See article[[RS-485:Физическое подключение/en| RS-485:Physical connection]].


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


==Adding a device to the web interface==


==Добавление устройства в веб-интерфейс==
[[File:rs-485-setup-configs.png|thumb|right|300 px|Configuration takes place via the ''Configs'' [[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:Настройка через веб-интерфейс]].


[[File:rs-485-setup-configs.png|thumb|right|300 px|Настройка происходит через страницу ''Configs'' [[RS-485:Настройка через веб-интерфейс|веб-интерфейса]]]]
После подключения устройства RS-485 к контроллеру, нужно выполнить настройку, чтобы оно появилось в веб-интерфейсе. Смотрите инструкцию в статье [[RS-485:Настройка через веб-интерфейс|RS-485:Настройка через веб-интерфейс]].


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


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

Текущая версия на 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