Includes. Relay tuning/en: различия между версиями

Нет описания правки
(Новая страница: «The mode set separately for each channel. To select mode, write mode number to corresponding holding register, starting with register 9 for the first channel etc.…»)
 
(не показано 12 промежуточных версий этого же участника)
Строка 1: Строка 1:
<languages/>
<languages/>


Device Setup
== Device Setup ==


   
   


Device Setup
===Safe mode===


   
   
Строка 14: Строка 14:




Relay operation in case of power failure
===Relay operation in case of power failure===


   
   
Строка 22: Строка 22:




Digital inputs
===Digital inputs===


   
   
Строка 34: Строка 34:


You can enable direct control of the relay outputs from the digital inputs in the relay module. There are several options for such management:
You can enable direct control of the relay outputs from the digital inputs in the relay module. There are several options for such management:
* Simple:
** '''Mode 0''': managing switch without detent (click "self-released back"). You press the button (close the digital input with GND), it is "pressed back", the relay state is switched to the opposite.
** '''Mode 1''': switch control with locking. The relay is always set according to the position of the switch. If the switch is "on" (closes the digital input with GND), the relay is also closed. If the switch is "off", the relay is open.
** '''Mode 3''': relay output control from digital input is disabled.
* Complex:
** '''Mapping-matrix''' (see detailed description below)


    Simple:
        Mode 0: managing switch without detent (click "self-released back"). You press the button (close the digital input with GND), it is "pressed back", the relay state is switched to the opposite.
        Mode 1: switch control with locking. The relay is always set according to the position of the switch. If the switch is "on" (closes the digital input with GND), the relay is also closed. If the switch is "off", the relay is open.
        Mode 3: relay output control from digital input is disabled.
    Complex:
        Mapping-matrix (see detailed description below)


The mode set separately for each channel. To select mode, write mode number to corresponding holding register, starting with register 9 for the first channel etc. You should keep default value in register 5.


The mode set separately for each channel. To select mode, write mode number to corresponding holding register, starting with register 9 for the first channel etc. You should keep default value in register 5.


There could be no registers 9 etc. in outdated firmware. You can only set mode for all their channels at once. To do so, write corresponding number to holding register 5.
There could be no registers 9 etc. in outdated firmware. You can only set mode for all their channels at once. To do so, write corresponding number to holding register 5.




В старых прошивках регистров 9 и т.д. может не быть. В них можно установить режим только для всех каналов одновременно. Для этого запишите соответствующее число в регистр 5.
==== Mapping-matrix ====
 
 
==== Mapping-матрица ====


   
   




Начиная с прошивки 1.9.0 для отдельных каналов предусмотрен также '''режим 2''' -- отключить все выходы, и '''режимы работы (4 и 5)''' в соответствии с mappig-матрицей (смотри далее). В этой и более поздних версиях прошивок в модулях реализована возможность более гибкой настройки взаимодействия входов и выходов релейных модулей при помощи специальной mapping-матрицы: таблицы, в которой для каждого входа при изменении его состояния кодируется изменение состояние любого релейного выхода. Подробное описание можно найти в статье [[Special:MyLanguage/I/O_Mapping_Matrix|I/O_Mapping_Matrix]].
Starting from firmware v.1.9.0, '''mode 2''' is also provided for individual channels-disable all outputs, and '''operating modes (4 and 5)''' in accordance with the mapping matrix (see below).In this and later versions of firmware versions modules have flexible settings of the interaction of inputs and outputs of relay modules using a special mapping matrix: a table in which for each input is encoded change of any relay output state when the state of this input changes. A detailed description can be found in [[I/O_Mapping_Matrix/en|I/O Mapping Matrix]].