) controlling the device, Cgi http commands, Set power command – Aviosys 9258DS User Manual

Page 29: Set power delay command, Http, Ommands

Advertising
background image

- 29 –

Ref: DS9258Y90M02

9.) Controlling the Device

CGI HTTP Commands

CGI Commands allow you to easily integrate the 9258 DS with other systems and programs. Please read
the instructions carefully on how to use the Http:// Commands

To use http:// Commands open up a web browser and type in the command that you would like to use.

The command structure looks like this
http://xxx.xxx.x.xxx/set.cmd?user=USER+pass=PASSWORD+cmd=COMMAND

Set Power Command



Command

http://IP

/set.cmd?cmd=setpower+p6x=y+p6x=y+p6x=y+p6x=y+p6x=y+p6x=y+p6x=y+p6x=y


x = 1~8 means output number
y = 1/ 0 means power on/off . 1 means power ON , 0 means power off


Example :

http://IP

/set.cmd?cmd=setpower+p61=0+p62=1+p63=0+p64=1+p65=0+p66=+p67=0+p68=


means turn OFF of output 1,3,5&7
means turn ON of output 2,4,6&8

Set Power Delay Command

Command

http://IP

/set.cmd?cmd=setpower+p6x=y+p6xn=0+t6x=A


x = 1~8 means output number
y = 1/ 0 means power on/off . 1 means power ON , 0 means power off
A = 1~9999 means delay second .

Example :
Turn Output #1 as power on and then turn off after 30 seconds

http://192.168.1.123

/set.cmd?cmd=setpower+p61=1+p61n=0+t61=30

Advertising