WB-MR6F Modbus Relay Module/en: различия между версиями

Нет описания правки
(Новая страница: «The current flowing when the button or switch is closed is small, so the type of button or switch can be any. Despite the built-in protection against rattle, choo…»)
 
(не показано 19 промежуточных версий этого же участника)
Строка 27: Строка 27:
Each input controls the state of the corresponding relay.
Each input controls the state of the corresponding relay.


The inputs have two modes of operation: trigger mode (for control with buttons) and repeat mode (for control with switches). In the trigger mode, to change the state of the relay, it is enough to close and open the input once. The change of state occurs on the rising edge (that is, when the circuit). In the repeat mode, the relay state is determined by the input state: the input is closed — the relay is on, open — off. Details about the mode switching written in [[ Modbus Management Of Relay Modules/en|Modbus Management Of Relay Modules]].
The inputs have two modes of operation: trigger mode (for control with buttons) and repeat mode (for control with switches). In the trigger mode, to change the state of the relay, it is enough to close and open the input once. The change of state occurs on the rising edge (that is, when the circuit). In the repeat mode, the relay state is determined by the input state: the input is closed — the relay is on, open — off. Details about the mode switching written in [[Relay Module Modbus Management/en|Relay Module Modbus Management]].




Строка 164: Строка 164:
The current flowing when the button or switch is closed is small, so the type of button or switch can be any. Despite the built-in protection against rattle, choose quality buttons and switches to avoid false alarms due to bad contacts.  
The current flowing when the button or switch is closed is small, so the type of button or switch can be any. Despite the built-in protection against rattle, choose quality buttons and switches to avoid false alarms due to bad contacts.  


Если устройство — последнее на линии RS-485, то между его входами A и B необходимо установить резистор-терминатор сопротивлением 120 Ом. Практика показывает, что в случае стендовых испытаний при небольшой длине линии RS-485 и небольшом количестве устройств терминатор на последнем устройстве в линии можно не устанавливать.
If the device is the last one on the RS-485 line, a 120 Ohm resistor-terminator must be installed between its inputs A and B. Practice shows that in case of bench tests with a small length of the RS-485 line and a small number of terminator devices, it's not necessary to install terminator on the last device in the line.


Модуль необходимо устанавливать таким образом, чтобы удовлетворять требованиям электробезопасности и не допускать случайного касания контактов, находящихся под высоким напряжением. Модуль должен эксплуатироваться при рекомендованных условиях окружающей среды.
The module must be installed to meet the requirements of electrical safety and to prevent accidental contact of contacts under high voltage. The module must be operated under recommended environmental conditions.


[[File:Installation_WBMR6C_+_WB5.png|650px|thumb|center|Образец монтажа и подключения модуля WB-MR6C. Выбор качественного блока питания очень важен для работы модуля. Кнопка с проводами зеленого цвета, подключенная ко входу 0 модуля, отключает все каналы одновременно.]]
[[File:Installation_WBMR6C_+_WB5.png|650px|thumb|center|Sample installation and connection of WB-MR6C module.Scheme for WB-MR6F is the same. The choice of a quality power supply is very important for the operation of the module. A button with green wires connected to the module input 0 disconnects all channels simultaneously.]]


== Управление модулем через web-интерфейс Wiren Board ==
== Control of the module via the Wiren Board web interface ==


Для устройства используется шаблон WB-MR6C. Каждому каналу соответствует три переключателя, управляющими тремя реле в группе: K1, K2, K3 относятся к первому каналу, K4, K5, K6 - ко второму.
The device uses the WB-MR6F template. Each channel corresponds to three switches that control three relays in the group: K1, K2, K3 belong to the first channel, K4, K5, K6 - to the second.


Соответствие реле положению выходов:
The relay corresponds to the position of the outputs:
{| class="wikitable"
{| class="wikitable"
!K1/
!K1/
Строка 190: Строка 190:
| rowspan="2" |OFF
| rowspan="2" |OFF
|
|
| rowspan="2" |Отключен
| rowspan="2" |OFF
|-
|-
|ON
|ON
Строка 223: Строка 223:
|}
|}


{| border="0" class="wikitable" style="text-align:center"
{| border="0" class="wikitable" style="text-align:center"
|-
|-
|[[Файл:MR6C_Switches_web.png|300px|thumb|center|Кнопки управления каналами реле]]  
|[[File:MR6C_Switches_web.png|300px|thumb|center|Relay channel control buttons]]  
|[[Файл:Web_options.png|300px|thumb|center|Флажки состояния входов]]
|[[File:Web_options.png|300px|thumb|center|Input status flags]]
|[[Файл:Web_input_counter.png|300px|thumb|center|Счетчик входов]]
|[[File:Web_input_counter.png|300px|thumb|center|Input counter]]
|[[Файл:Web_safety_timer.png|300px|thumb|center|Время отключения таймера безопасности]]
|[[File:Web_safety_timer.png|300px|thumb|center|Security timer shutdown ime]]
|}
|}


С помощью виртуальных выключателей в web-интерфейсе K1-K6 можно управлять соответствующими выходами модуля и следить за их состоянием. Если реле будет включено или выключено через внешний вход, это отразится и в web-интерфейсе.
Using virtual switches K1-K6 in the web-interface, you can control the corresponding outputs of the module and monitor their status. If the relay is turned on or off via the external input, it will be reflected in the web-interface.
Текущее состояние входов показывают флажки Input1 — Input6 (на них нельзя щелкнуть, чтобы изменить состояние). Счетчики нажатий/включений отображаются в полях  Input 1 counter – Input 6 counter. Значения счетчиков хранятся в оперативной памяти микроконтроллера модуля реле и обнуляются при выключении/включении питания и сбросе.
The current state of the inputs is indicated by the Input1 — Input6 checkboxes (they cannot be clicked to change the state). Press/enable counters are displayed in the Input 1 counter – Input 6 counter fields. The meter values are stored in the memory of the relay module microcontroller and are reset when the power is turned on/off and reset.


Ползунок Safety Timer позволяет задать время отключения (в секундах) всех выходов при отсутствии обмена данными с Wiren Board (0 – таймер безопасности отключен). При возобновлении связи с контроллером выключившиеся реле останутся выключенными. Ползунком удобно управлять с помощью клавиш со стрелками, предварительно сфокусировавшись на нем мышью: перемещение ползунка с помощью мыши не обеспечивает достаточную точность. Таймер безопасности позволяет остановить технологические процессы в случае, если контроль над модулем утрачен (например, перебит кабель RS-485).
The Safety Timer slider allows you to set the shutdown time (in seconds) of all outputs when there is no communication with the Wiren Board (0 – the safety timer is disabled). When communication with the controller is resumed, the switched-off relays will remain switched off. The slider is easy to control with the arrow keys, previously focusing on it with the mouse: moving the slider with the mouse does not provide sufficient accuracy. The safety timer allows stopping technological processes in case the control over the module is lost (for example, the RS-485 cable is broken).


Кнопка, подключенная ко входу 0, позволяет отключить все включенные реле модуля одним нажатием. Повторное нажатие включит все реле, которые были включены изначально. Состояние реле хранится в оперативной памяти, поэтому если повторной нажатие кнопки произойдет после перебоя питания, восстановления состояния реле не произойдет. Возможность восстановления состояния реле после перебоя питания описана в разделе [[#Режим работы реле в случае отключении питания|Режим работы реле в случае отключении питания]].
A button connected to input 0 allows you to turn off all the relays included in the module with a single press. Pressing again will turn on all the relays that were switched on initially. The status of the relay is stored in memory, so if you press the button again after a power failure, the restoration of the relay will not happen. The ability to restore relay status after power supply interruption as described in section [[#Relay operation mode in case of power failure| Relay operation mode in case of power failure]].


== Режим работы реле в случае отключении питания ==
== Relay operation in case of power failure ==  
В зависимости от значения, записанного в регистр хранения 0x06, после отключения и восстановления питания модуля реле останутся выключенными (если значение — 0, или включатся те, которые были включены до перерыва в питании, если в регистре записано значение 1). Этот функционал появился в модулях с прошивкой, начиная с версии 1.5.3.
Depending on the value written to the storage register 0x06, after the power is turned off and restored, the relays will remain off (if the value is 0, or turn on those that were turned on before the power interruption if the register has a value of 1). This feature appeared in the modules with the firmware, starting with version 1.5.3.


== Управление по Modbus ==
==Modbus Control==


Подробно о работе с модулем по протоколу Modbus написано в разделе [[Relay Module Modbus Management|Управление модулями реле Wirenboard по протоколу Modbus]].
Details of the work with the module via Modbus Protocol is written in [[Relay Module Modbus Management/en| Relay Modules Modbus Management ]].
Там же можно найти карту регистров устройства.
There you can also find a map of the device registers.


[[Периферийные устройства с интерфейсом RS-485 серии WB-xxxx |Назад к списку периферийных устройств]]
[[Периферийные устройства с интерфейсом RS-485 серии WB-xxxx/en |Back to peripheral devices list]]


== Обновление прошивки устройства ==
== Device firmware update ==
Начиная с новых версий микропрограмм устройства поддерживается функционал обновления прошивки (микропрограммы) по протоколу Modbus. Это дает возможность расширять функциональные возможности устройств и устранять ошибки в микропрограммном обеспечении непосредственно на месте монтажа. Подробнее о перепрошивке устройств рассказано в статье [[WB-MCU-Flasher|Загрузка прошивок на устройства Wiren Board]]. Список версий прошивок, поддерживающих обновление, а также устройств, для которых эта функция реализована, можно найти в статье [[Firmware_Changelog]].
Starting with the new firmware versions of the device, the firmware update functionality (firmware) via the Modbus Protocol is supported. This makes it possible to extend the functionality of the devices and eliminate errors in the firmware directly at the installation site. Read more about flashing devices described in the article [[WB-MCU-Flasher|Download firmware to Wiren Board devices]]. A list of firmware versions that support the update, as well as devices for which this feature is implemented, can be found in [[Firmware_Changelog| Firmware Changelog]].


== Известные неисправности ==
== Known faults and bugs ==


[[WB-MR:_Errata |Список известных неисправностей]]
[[WB-MR:_Errata/en |List of known faults]]
12 063

правки