7809
правок
Fizikdaos (обсуждение | вклад) (Новая страница: «Modes of interaction between digital inputs and relay outputs») |
Fizikdaos (обсуждение | вклад) (Новая страница: «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: | |||
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. | |||
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. | |||