![Aviosys IP POWER 9258-1U Скачать руководство пользователя страница 27](http://html1.mh-extra.com/html/aviosys/ip-power-9258-1u/ip-power-9258-1u_user-manual_3031903027.webp)
IP POWER 1U USER MANUAL
10. Control and Settings Through HTTP Commands
User can control the 9258’s action directly though the HTTP orders.
The format of the HTTP order is:
http://username:[email protected]/Set.cmd?CMD=Cpara1=*+para2=*+para3=
*
……
Explanations for the command syntax:
Username
: 9258’s username, default username is
admin
Password
: 9258’s password, default password is
12345678
XXX.XXX.XXX.XXX
the IP Address of 9258
CMD
=***Power : the function module of 9258
para1 ~ para3 parameters
*
Function of 9258:
1.
SetPower
: To control I/O - read parameter as follow
http://admin:[email protected]/Set.cmd?CMD=GetPower
out2
-
out4 same as out1
2.
GetPower
: Reads output 1-4 to see if the status of each output
http://admin:[email protected]/Set.cmd?CMD=GetPower
Explanation for the command
SetPower
:
IP address (XXX.XXX.XXX.XXX
): 192.168.1.10 (IP Address of the device)
Username
: admin (Username of the device)
Example 1
: Control the power supply of 9258 using
SetPower
:
http://admin:[email protected]/Set.cmd?CMD=S
P60=1+P61=1+P62=1+P63=0+P64=1+P65=1+P66=1+P67=0
This command control IP Power 9258 IP address at
192.168.1.0
, user name is
admin
and password is
12345678
.
This command will:
P60 (Outlet1) = Power On
P61 (Outlet2) = Power On
P62 (Outlet3) = Power On
P63 (Outlet4) = Power Off
P63 (Outlet5) = Power On
P63 (Outlet6) = Power On
P63 (Outlet7) = Power On
P63 (Outlet8) = Power Off
When this order is sent, the IP Power will return the following message:
<html>P60=1,P61=1,P62=1,P63=0</html>
- 26 -