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

(Новая страница: «=== Disable input / relay communication ===»)
(Новая страница: «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…»)
Строка 164: Строка 164:
=== Disable input / relay communication ===  
=== Disable input / relay communication ===  


Для отключения взаимодействия входов и реле (например, если мы хотим управлять реле только через движок правил контроллера) запишем в регистр 5 значение 0, а в регистры 9, 10, 11, 12, 13, 14 запишем значение 3:
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 register 5, and in registers 9, 10, 11, 12, 13, 14 write the value 3:


<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r5 0</syntaxhighlight>
<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r5 0</syntaxhighlight>