46
Through a serial connection
The power outlets of the ePowerSwitch
-
4
-
Master can be controlled using a simple ASCII protocol over an
RS232 serial connection.
1. Use the supplied RS232 serial cable to connect the ePowerSwitch
-
Master to an available serial port of
your PC.
2. Run a terminal program such as Windows HyperTerminal or the MicroTerminal program on the CD
(folder miscellaneous).
3. Configure the appropriate serial port with the following settings:
4. 9.600 bauds, 8 bits, no parity, 1 stop bit and no flow control.
If you use the MicroTerminal program on the CD (folder miscellaneous) you only have to choose the
used serial port, this program is already configured at 9600,n,8,1.
On your computer, press <ENTER> until the configuration menu appears on your screen.
-------------------------------------------------------------------------
NETWORK INTERFACE PARAMETERS:
IP address on LAN is 192.168.1.240
LAN interface's subnet mask is 255.255.255.0
IP address of default gateway to other networks is 192.168.1.2
MISCELLANEOUS:
HTTP Port is 80
Finder program is enabled.
HTTP config is enabled.
-------------------------------------------------------------------------
Press M to modify these settings.
Syntax of the command line:
/
P0y=z
(the command line MUST start with a slash)
Parameter
Value
Function
y
0
means that all 8 power outlets have to be controlled together with one command
1 to 4
indicates the number of the power outlet you want to control
z
0
Command to switch the socket(s) Off
1
Command to switch the socket(s) On
r
Command to restart the socket(s)
t
Command to toggle the state of the socket
Examples to control the Master:
/P00=1 <ENTER> switch all the 4 power outlets ON
/P00=0 <ENTER> switch all the 4 power outlets OFF
/P03=r
<ENTER> restart power outlet 3
/P02=t
<ENTER> toggle power outlet 2
- The ePowerSwitch accepts lower case and upper case commands.
- The ePowerSwitch sends an echo for each received character.
Through the network using simple commands in your own program
Developers who want to implement the power outlet control in own programs can access to a special page
named hidden.htm and control individually the power outlets using simple commands.
To configure the Hidden Page Account, go to Settings / Accounts / Hidden Page Account.