
Quick Start Guide ePowerSwitch 8 M/S (M8 / S8) V.11/2006 Page
23
9. Controlling the power outlets through a serial connection
The power outlets of the ePowerSwitch M8 master and the ePowerSwitch S8 slave can be
controlled through an RS 232 serial connection using a simple ASCII protocol.
Controlling the power sockets of the ePowerSwitch M8 and its slaves
1. With the supplied RS 232 serial cable, connect the ePowerSwitch M8 to an available serial
port of your PC.
2. Run a terminal program, such as Windows HyperTerminal. (To run HyperTerminal, click the
Start
button and select
Programs –> Accessories –> HyperTerminal
.)
3. Configure the appropriate serial port with the following settings:
Bits per second:
9600
Data bits:
8
Parity: None
Stop bits:
1
Flow control:
None
4. On your computer, press <
Enter
> until the prompt (
>
) appears on your screen. The
ePowerSwitch M8 is now in Command mode and is waiting for user input to switch the power
outlets.
Note:
The power outlet of the ePowerSwitch can be controlled only if the ePowerSwitch is in
Command mode and
not
in Configuration mode. To exit Configuration mode and activate the
new configuration, enter
/RS
. By default, the ePowerSwitch is in Command mode after a power-
up.
The command syntax is
Pxy=z
.
Parameter
Value
Function
x
1 to 5
Represents the number of the ePowerSwitch:
1 is the ePowerSwitch M8 master
2 to 5 are the connected slaves
y 0
1 to 8
Specifies that all the sockets are controlled together
Indicates the number of the controlled socket
z
0
Switches the socket(s) Off
1
Switches the socket(s) On
r
Restarts the socket(s)
t
Toggles the state of the socket
Example – controlling the master:
P10=1 <
Enter
>: Switch all 8 sockets On
P10=0 <
Enter
>: Switch all 8 sockets Off
P14=r <
Enter
>: Restart socket 4
P18=t <
Enter
>:
Toggle socket 8