12 063
правки
(Новая страница: «To disable the interaction of inputs and relays (for example, if we want to control the relay only through the controller rules engine), write the value 0 in regi…») |
(Новая страница: «Now clicking on the button or toggle switch will change the relay status you can manage only programmatically via Modbus. In this case, the function of the emerge…») |
||
Строка 169: | Строка 169: | ||
<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x10 -r9 3 3 3 3 3 3</syntaxhighlight> | <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x10 -r9 3 3 3 3 3 3</syntaxhighlight> | ||
Now clicking on the button or toggle switch will change the relay status you can manage only programmatically via Modbus. | |||
In this case, the function of the emergency input 0 is saved: a short press on the button connected to the input 0 will turn off all the relays. | |||
Если мы хотим отключить и вход 0, то запишем значение 3 в регистр 16: | Если мы хотим отключить и вход 0, то запишем значение 3 в регистр 16: |
правки