Article contents:


The following types of switching devices are possible (type):


Reading the parameters of the switching element is done by the command:

getelement - read the element. Required parameters are:


The response contains information about the element:

<element id="302001" module="2013" clas="switch" type="outlet" name="Outlet-1" state="off" value="0" initial="off" pulse="7" hwport="1" />

Where:

Control

The following queries are used for management:

updateelement - management of the permanent state of the key (relay or outlets). Extra options rare:


sendpulse - generation of a pulse of a given duration, administrator rights required. In this case, the key is transferred from the normal state (the initial field in the updateelement command) to the opposite one, and after a specified time again returns to the normal state. Extra options are:



Devices equipped with PDU (Power Distribution Unit) additionally support the following requests:

updatemodule - change the state of the ports of the outlet module or relay. The constant value of the element does not change. Through this command, the relay is switched on and off and the outlets are switched on and off. Extra options:


getmodule - read the attributes of the socket block. Required parameters are:


The response is:

<module id="2013" clas="internal" type="outlet" sn="33554434" rev="01.01" num="1" name="Outlets bank" state="normal" interval="990" relval="0" real_relval="0"/>

Where:


fulloff - emergency shutdown of all outlets, administrator rights required. When this command is executed, execution of all logic schemes is blocked to avoid behavioral conflicts. Extra options are: