Changes

Jump to navigation Jump to search
901 bytes added ,  13:45, 25 January 2022
Created page with "Клапан"
<languages/>
water and gas supplying valve type executor

===Example of description in XML===
<syntaxhighlight lang="xml" line>
<item type="valve" addr="314:7" name="Valve" leak-sensors="314:3;304:10;302:10">
<linked addr="314:1"/> // valve control button (optionally)
</item>
</syntaxhighlight>

===Additional parameters===
{|class="wikitable"
|-
!Name!!type and variety!!description
|-
|leak-sensors||list||list of leakage sensors connected with this valve
|}

===Device status (1 byte)===
{|class="wikitable"
|-
!Byte number!!description
|-
|0||Device status.<br>0 – valve is off (water supply)<br>1 – valve is on (water supply is stopped)
|}

===Possible variants of setting the status===
{|class="wikitable"
|-
!byte!!description
|-
|0||0 – to turn off the valve (water supply)<br>1 – to turn on the valve (to stop water supply)<br>0xFF – Change the status for the opposite one
|}
editor, translation-admin, translator
4,754

edits

Navigation menu