
Quick Start Guide ePowerSwitch 8 M/S (M8 / S8) V.11/2006 Page
25
Controlling the power sockets of an ePowerSwitch slave or several connected slaves
In this case, you have to assemble a special serial cable as shown in the drawing in section 7 or
contact your dealer to order one.
1. Use this special cable to connect the ePowerSwitch slave 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, enter the command as shown below.
The command syntax is
Pxy=z
:
Parameter
Value
Function
x
1 to 4
Number of the connected slave
y 0
1 to 8
Specifies that all the sockets are controlled together
Indicates the number of the socket to control
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 first slave:
(DIP switch: 1 = On and 2 = Off)
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
Example – controlling the second slave
(DIP switch: 1 = On and 2 = Off)
P20=1 <
Enter
>: Switch all 8 sockets On
P25=0 <
Enter
>: Switch socket 5 Off
Notes:
−
The commands are not case-sensitive, i.e. you can use both lower- and upper-case letters.
−
The ePowerSwitch sends an echo for each received character.