I/O Mapping Matrix/en: различия между версиями

Новая страница: «If we want to disable and input 0, then write the value 3 in register 16: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1…»
(Новая страница: «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…»)
(Новая страница: «If we want to disable and input 0, then write the value 3 in register 16: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1…»)
Строка 172: Строка 172:
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.
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:
If we want to disable and input 0, then write the value 3 in register 16:
<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r16 3</syntaxhighlight>
<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r16 3</syntaxhighlight>


12 063

правки