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

Новая страница: «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:…»
(Новая страница: «Modes of interaction between digital inputs and relay outputs»)
(Новая страница: «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:…»)
Строка 33: Строка 33:




В релейном модуле можно включить прямое управление релейными выходами с цифровых входов. Есть несколько вариантов такого управления:
You can enable direct control of the relay outputs from the digital inputs in the relay module. There are several options for such management:
* Простые:
 
** '''Режим 0''': управление выключателем без фиксации (кнопкой "с самостоятельным отжатием обратно"). Вы нажимаете на кнопку (замыкаете цифровой вход с GND), она сама "отжимается обратно", состояние реле переключается на противоположное.  
    Simple:
** '''Режим 1''': управление выключателем с фиксацией. Реле всегда устанавливается в соответствии с положением выключателя. Если выключатель "включён" (замыкает цифровой вход с GND), реле тоже замкнуто. Если выключатель "выключен", реле разомкнуто.
        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.
** '''Режим 3''': управление релейным выходом с цифрового входа отключено.  
        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.  
** Mapping-матрица (смотрите подробное описание ниже)
    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.
 
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.