4.2. through a serial connection
The power outlet of the ePowerSwitch can be controlled using a simple ASCII protocol over an RS232
serial connection.
1. Use the supplied RS232 serial cable to connect the ePowerSwitch
-
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.
------------------------------------------------------------------------------------
Press M to modify these settings.
Syntax of the command line:
/
P01=z
(the command line MUST start with a slash)
Parameter
Value
Function
z
0
Command to switch the socket Off
1
Command to switch the socket On
r
Command to restart the socket
t
Command to toggle the state of the socket
Examples to control the ePowerSwitch:
/P01=1 <ENTER> switch the power outlet ON
/P01=0 <ENTER> switch the power outlet OFF
/P01=r
<ENTER> restart power outlet
/P01=t
<ENTER> toggle power outlet
- The ePowerSwitch accepts lower case and upper case commands.
- The ePowerSwitch sends an echo for each received character.
40