Aviosys 9211 User Manual
Page 41

{Add username and password in command line.} For all IE version, include 7.0 and above  
 
 
 
User
s 
can 
contr
ol 
the 
9222
’s 
actio
n directly though the HTTP orders.
The syntax of the HTTP commands are listed below: 
Command format: 
http://admin:password@ipaddress/Set.cmd?CMD=CmdType
 
*Http Function of 9211: 
 
GetIO 
 
Command format: http://admin:pasword@ ipaddress/Set.cmd?CMD=getio 
 
http://admin:[email protected]/Set.cmd?CMD=getio 
 
Output Message will return: 
P51=0, P52=1, P53=0, P54=1, P55=0, P56=1, P57=0, P58=1 
 
What this means is: 
P5
: Represents that this input message is from 9201 Input Module
(The P51 corresponds to the output port number. P51 = Input Module Port 1 P52 = Input Module Port 2 
and so on). 
 
The 0/1 after each Output
: Represents whether there has been a status change or not.
0 = Keep Current Status 
1 = Change Current Status 
 
So for our current output message: 
P51=0,P52=1P53=0,P54=1P55=0,P56=0,P57=0,P58=1HTTP/1.0 200 OK Connection: close 
 
P52 = 1: Output 2: Status - On 
P57 = 0: Output 7: Status - Off 
P58 = 1: Output 8: Status - On 
http://admin:[email protected]/Set.cmd?CMD=GetIo
 
Please refer to the chart provided for more information: 
Input Number (Default) 
Default Status
Status Change
Input 1: Wet
Status = Off
Status = On
Input 2: Wet
Status = Off
Status = On
Input 3: Wet
Status = Off
Status = On
Input 4: Wet
Status = Off
Status = On
Input 5: Dry
Status = On
Status = Off
Input 6: Dry
Status = On
Status = Off
Input 7: Dry
Status = On
Status = Off
Note:
IP Power 9202 Output Pro has predefined Relay Statuses. 
Outputs 1 - 4: 
Normal Closed Relay
(NC)
Outputs 5 - 8:
Normal Open Relay
(NO)
(The relay status of the outputs cannot be changed: Meaning that Output 1-4 will
always be
Normally closed
and Outputs 5-8 will always be
Normally Open
)
41
