beautypg.com

Aviosys 9212 Delux User Manual

Page 37

background image

- 36 -

3.GetIo: To read Input status: Read P5 (Input status)









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

Input 8: Dry

Status = On

Status = Off

0 = Status Off & LED Off 1 = Status On & LED On








Note: For Input Status

Switch Set on Off = Wet
Switch Set on On = Dry

Default Settings (when no device attached):

Wet Contact: 1-4 = LED Off
Dry Contact: 5-8 = LED on