RS-485/en: различия между версиями
(Новая страница: «The Wiren Board devices use the Modbus Protocol on top of the RS-485. Протокол Modbus.») |
|||
(не показано 16 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
<languages/> | <languages/> | ||
__NOTOC__ | __NOTOC__ | ||
'''RS-485''' | '''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. | ||
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, | ||
* [[ | * [[Поддерживаемые устройства/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]]. | ||
The Wiren Board devices use the Modbus Protocol on top of the RS-485. [[Протокол Modbus/en| Modbus protocol]]. | |||
==How to lay the bus correctly== | |||
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|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:Настройка через веб-интерфейс]]. | |||
== Working with RS-485 port of the controller using its own software == | |||
*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. | |||
* | *[[Работа с последовательным портом из Linux/en |Working with a serial port in Linux]] | ||
*: | *[[Доступ к порту RS-485 контроллера Wiren Board с компьютера/en|Access to the RS-485 port of the Wiren Board controller from a computer]] | ||
*[[ | *[[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:
- devices of our production with the RS-485 interface,
- Mercuriy and Milur counters,
- some other devices.
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
![](/wiki/images/thumb/b/b5/Rs-485-setup-configs.png/300px-Rs-485-setup-configs.png)
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
- As default 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 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.
- Working with a serial port in Linux
- Access to the RS-485 port of the Wiren Board controller from a computer
- UART Communication Settings for Modbus devices