Xytronix Research & Design ControlByWeb WebRelay-10 User manual

Revision 1.01 WebRelay-10TM Users Manual
WebRelay-10TM
Users Manual
Revision: 1.01 – November 10, 2008
Covers: X-WR-10R12-I
a division of...
Xytronix Research & Design, Inc.
North Logan, tah, SA
Xytronix Research & Design, Inc. age 1

Revision 1.01 WebRelay-10TM Users Manual
Contents
Trademark and Co yright Information
Warranty
FCC Statement
Installation Guidelines (Read Before Installing)
Section 1: Introduction
1.1 Features
1.2 WebRelay-10TM Models Available
1.3 Connectors & Indicators
Section 2: Installation and Setu
2.1 Mounting
2.2 Connection
2.2.1 Power Su ly Connection
2.2.2 Network Connection
2.2.3 Relay Connection
2.3 Establishing Communications for Setu
2.3.1 O tion 1: Assign a tem orary IP address to WebRelay-10TM
2.3.2 O tion 2: Assign a tem orary IP address to configuration com uter
2.3.3 O en Configuration Web Page
2.4 Web-Based Setu
2.4.1 Main Setu Page
2.4.2 Network Setu Page
2.4.3 Password Setu Page
2.4.4 Control Page Setu Page
2.4.5 Relay O tions Page
Section 3: O eration
3.1 Browser O eration
3.2 XML O eration
3.3 Modbus O eration
3.3.1 Read Coils (Modbus Function Code 01 (0x01))
3.3.2 Write Single Coil (Modbus Function Code 05 (0x05))
3.3.3 Write Multi le Coils (Modbus Function Code 15 (0x0F))
3.3.4 Write Multi le Registers (Modbus Function Code 16 (0x10))
A endix A: Restoring Factory Default Settings
A endix B: S ecifications
A endix C: O en TCP Legal Notice
Xytronix Research & Design, Inc. age 2

Revision 1.01 WebRelay-10TM Users Manual
Trademark and Copyright Information
This document is Co yright ©2008 by Xytronix Research & Design, Inc. All rights reserved.
WebRelay-10TM and ControlByWebTM are Trademarks of Xytronix Research & Design, Inc. 2008.
Portions of the software used in WebRelay-10TM are o en source and a ro riate co yright and legal notices are listed
at the end of this manual. All other arts of the software are ro erty of Xytronix Research & Design, Inc. ©2008.
The hardware design, schematics, PCB layout, conce t, gra hics, users manual, etc., are ro erty of Xytronix
Research & Design, Inc. ©2008. WebRelay-10TM may not be o ened, dis-assembled, co ied or reverse engineered.
No art of this manual may be re roduced or transmitted in any form or by any means, electronic or mechanical,
including hotoco ying or scanning, for any ur ose other than the ersonal use by the urchaser of this roduct.
Xytronix Research & Design, Inc., assumes no res onsibility for any errors that may a ear in this document.
Whereas effort has been made to make the information in this document as useful and accurate as ossible, Xytronix
Research & Design, Inc. assumes no res onsibility for the a lication, usefulness, or com leteness of the information
contained herein. Under no circumstance will Xytronix Research & Design, Inc. be res onsible or liable for any
damages or losses including direct, indirect, s ecial, incidental, or consequential damages or losses arising from
either the use of any information contained within this manual or the use of any roducts or services referenced in
this manual.
Xytronix Research & Design, Inc. reserves the right to change any roduct’s features, s ecifications, documentation,
warranties, fee schedules, and conditions at any time and without notice.
Warranty
This Xytronix Research & Design, Inc. roduct has a warranty against defects in material and workmanshi for a
eriod of one year from the date of shi ment. During the warranty eriod, Xytronix Research & Design, Inc. will, at
its o tion, either re air or re lace roducts that rove to be defective. This warranty is extended to the original
urchaser of the equi ment only.
For warranty service or re air, the roduct must be ro erly ackaged, and returned to Xytronix Research & Design,
Inc. The urchaser shall re ay all charges for shi ing to Xytronix Research & Design, Inc., and Xytronix Research
& Design, Inc. will ay the shi ing charges to return the roduct to the urchaser as long as the roduct is shi ed
within the United States. If the roduct is shi ed outside of the United States, the urchaser shall ay all shi ing
charges, duties, and taxes.
Limitation
The foregoing warranty shall not a ly to defects or damage resulting from im ro er use or misuse, unauthorized
re air, tam ering, modification, im ro er connection, or o eration outside the electrical/environmental s ecifications
for the roduct. Further, the warranty does not cover Acts of God, such as fire, flood, hurricanes, and tornadoes.
This warranty does not cover damage to ro erty, equi ment, direct, indirect, consequential, or incidental damage
(including damage for loss of business rofit, business interru tion, loss of data, and the like) arising out of the use or
misuse of this roduct. UNDER NO CIRCUMSTANCES WILL THE LIABILITY OF XYTRONIX RESEARCH &
DESIGN, INC. TO THE PURCHASER OR ANY OTHER PARTY EXCEED THE ORIGINAL PURCHASE
PRICE OF THE PRODUCT, REGARDLESS OF THE FORM OF THE CLAIM. No other warranty is ex ressed or
im lied. Xytronix Research & Design, Inc. s ecifically disclaims the im lied warranties or merchantability and
fitness for a articular ur ose. Some jurisdictions may not allow the exclusion of limitation of liability for
consequential or incidental damage.
Xytronix Research & Design, Inc. age 3

Revision 1.01 WebRelay-10TM Users Manual
FCC Statement
This device com lies with Part 15 of the FCC Rules. O eration is subject to the following two conditions:
• This device may not cause harmful interference.
• This device must acce t any interference received, including interference that may cause undesired o eration.
Warning: This equi ment has been tested and found to com ly with the limits for a Class B (Class A for POE
model) digital device, ursuant to Part 15 of the FCC Rules. These limits are designed to rovide reasonable
rotection. This equi ment generates, uses and can radiate radio frequency energy and, if not installed and used in
accordance with the instructions, may cause interference to radio communications. However, there is no guarantee
that interference will not occur in a articular installation. If this equi ment does cause harmful interference to radio
or television rece tion, which can be determined by turning the equi ment off and on, the user is encouraged to try to
correct the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the se aration between the equi ment and receiver.
• Connect the equi ment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an ex erienced radio/TV technician for hel .
Notice: Changes or modification not ex ressly a roved by the arty res onsible for com liance could void the
user’s authority to o erate the equi ment.
Installation uidelines (Read Before Installing)
- This unit must be installed by qualified ersonnel.
- This unit must not be installed directly outdoors.
- This unit must not be used for medical, life saving ur oses, or for any ur ose where its failure could cause serious
injury or the loss of life.
Notes about security:
By design, WebRelay-10TM is very secure. It does not su ort terminal or file transfer rograms such as telnet, ft ,
ssh, etc. This means that it is not ossible for someone to ‘break in’ to WebRelay-10TM and access other devices on
your local network. WebRelay-10TM does not su ort remote firmware u dates which means that it is not ossible for
someone to remotely install malicious software. The sim licity of WebRelay-10TM makes it a very secure device. As
with any device to be installed on a network, there are some security recautions that should be observed. If
WebRelay-10TM is installed on the Internet, it is recommended that asswords be enabled for the control age. Make
sure secure asswords are used. Passwords should be at least 8 characters in length and should be a combination of
u er case letters, lower case letters, and numbers. Don’t use asswords that would be easy to guess. For additional
security, a firewall may be used to limit access only to selected IP addresses. Another o tion may be to set u a
Virtual Private Network (VPN) between the network where WebRelay-10TM resides and the client machine (web
browser, second WebRelay-10TM, etc.).
Final installation note. This ControlByWebTM roduct su orts connection to 10Mb s and 100Mb s networks.
Although 100Mb s networks are faster, the amount of data transferred to and from this device is very minimal and
little if any erformance increase will be gained by setting it to 100Mb s. There are advantages however, to o erate
this device at 10Mb s. At 10Mb s, less ower is required, the unit runs cooler, and the lifetime of the roduct will be
extended.
Xytronix Research & Design, Inc. age 4

Revision 1.01 WebRelay-10TM Users Manual
Section 1: Introduction
WebRelay-10TM is a robust, ten-relay module with a built in web server. It can be controlled and/or monitored over
any IP network including rivate networks, IP-based industrial control networks, and the Internet. Users can o erate
WebRelay-10TM using a web browser or a custom a lication. Com uters, PLCs, or automation controllers may
control and monitor WebRelay-10TM without user intervention. This works by sending text commands over the
network and reading XML status ages from WebRelay-10TM, or by using Modbus/TCP rotocol.
WebRelay-10TM has many a lications and is only limited by imagination. It works very well as a stand-alone device
that can be controlled using a web browser or as a convenient way to add I/O to a com uter. It can be used in
industrial a lications to control motors, lights, coils, um s, valves, etc.
1.1 Features
WebRelay-10TM is very sim le but has many features. Some features include...
•No rogramming required
•Easy to use as a stand alone device or as art of a large control system
•Built-in web server rovides sim le, web based configuration and control
•Control age can be customized with a ro riate text and buttons
•10/100 Ethernet connectivity
•Ten, 240Volt 30-Am relays
•Custom a lications can control WebRelay-10TM with sim le text commands and read XML formatted
status.
•Modbus/TCP rotocol su ort rovides inter-intero erability with devices/software from other
manufacturers.
•Password rotection
•Selectable TCP orts
•On/Off or ulse mode
1.2 WebRelay-10TM Models Available
WebRelay-10TM is currently available in one model.
Part Number Power Su ly Requirements
X-WR-10R12-I 10-36VDC
Xytronix Research & Design, Inc. age 5

Revision 1.01 WebRelay-10TM Users Manual
1.3 Connectors & Indicators
WebRelay-10TM has ¼ inch male tab connectors for ower and relay contacts, an Ethernet connector, and thirteen
LED indicators.
Two tab connectors located on the circuit board are used to a ly ower to the module. Each relay has three tab
connectors for direct connection to the relay contacts. All ten relays rovide common, normally o en, and normally
closed contacts. Female mating connectors (not included) are required for connection. The Ethernet connector is
located on a small CPU daughter card that is mounted to the main relay board.
Ten green LEDs indicate when each relay is energized. When the relay is energized, the common and normally o en
contacts are closed which allows current to flow through them (common and normally closed contacts are o en).
When the relay is not energized, the common and normally closed contacts are closed which allows current to flow
through them (common and normally o en contacts are o en). The LEDs are located close to the corres onding
relays. The ower LED indicator (green) is located on the small CPU daughter card. The Link LED (green)
indicates the Ethernet network is connected and ro erly linked. The Activity LED (amber) indicates network
activity is detected.
Xytronix Research & Design, Inc. age 6
Ethernet
Connector
Activity
LED
10-36VDC
Voltage Input
+ -
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
NCNO
CO
Relay 1 Relay 2 Relay 3 Relay 4 Relay 5
Relay 6 Relay 7 Relay 8 Relay 9 Relay 10
LEDs
indicate relay
state
(green when coil
engaged)
Relay Contacts:
Normally Closed
Normally Open
Common
Power LED
Reset
to Factory
Defaults
Button
Fuse
(soldered in) Link
LED

Revision 1.01 WebRelay-10TM Users Manual
Section 2: Installation and Setup
Installation consists of mounting WebRelay-10TM, connecting to an IP network, roviding ower, configuring via a
web browser, and wiring relay contacts to the device that will be controlled.
2.1 Mounting
WebRelay-10TM can be be mounted to a standard (35mm by 7.55mm) DIN rail. Attach the module to the DIN rail by
hooking the to hooks on the back of the PCB card to the DIN rail and then sna the bottom hooks into lace.
Remove from DIN rail using a flat-head screwdriver.
2.2 Connection
CAUTION: MAKE SURE POWER IS SHUT OFF BEFORE WIRING!
Connection to WebRelay-10TM is made through the ¼ inch male tab connectors. Mating connectors (¼ inch female
tab connectors) can be urchased at electrical su ly stores.
It is recommended that the load (device to be controlled) not be connected to WebRelay-10TM until after WebRelay-
10TM has been configured and tested. By doing this, wiring and configuration mistakes will not cause the load device
to turn on unex ectedly.
IMPORTANT: MAKE SURE WIRES ARE PROPERLY ATTACHED (CRIMPED) TO THE CONNECTORS,
AND THAT CONNECTORS ARE PROPERLY ATTACHED TO THE CIRCUIT BOARD!
2.2.1 Power Supply Connection
WebRelay-10TM requires ower for its internal logic circuits. Connect a 10-36VDC ower su ly to the
Vin+ and Gnd terminals. Note that a regulated ower su ly is recommended.
Multi le WebRelay-10TM units may be connected to a single ower su ly by connecting the ower
su ly in ut terminals in arallel. The ower su ly must have a high enough current rating to ower all
units connected (see s ecifications for current requirements for s ecific model number).
2.2.2 Network Connection
Connect the Ethernet ort to a 10 Base T or 10/100 Base T Ethernet connection. This ty ically connects to
an Ethernet hub, switch, or router. For configuration, WebRelay-10TM may be connected directly to the
Ethernet ort on a com uter using a “crossover” cable. Otherwise for connection through a hub or router, a
standard “straight-thru” cable should be used.
Xytronix Research & Design, Inc. age 7

Revision 1.01 WebRelay-10TM Users Manual
2.2.3 Relay Connection
Direct connection to relay contacts is rovided through tab connectors located on the to of the relays. Do
not exceed s ecified load ratings for relay contacts (see s ecifications for load ratings).
2.3 Establishing Communications for Setup
WebRelay-10TM is set u using a web browser. The first task is to establish communications between a com uter and
the WebRelay-10TM device so that the browser-based configuration can begin. To do this, the com uter and
WebRelay-10TM must be hysically connected to the same network and both must have IP addresses on the same
network. There are two ways to set u the com uter and WebRelay-10TM so that they are on the same network. The
first way (O tion 1), is to change the IP address of WebRelay-10TM to an address that is on the same network as the
com uter. The second way (O tion 2) is to change the IP address of the com uter to an address that is on the same
network that WebRelay-10TM is set to by default.
2.3.1 Option 1: Assign a temporary IP address to WebRelay-10TM
This o tion is used to TEMPORARILY assign an IP address to WebRelay-10TM without the need to
change the IP address of the configuration com uter. Note that WebRelay-10TM will only use this IP
address as long as ower is maintained. Once ower is lost and restored, WebRelay-10TM will use the IP
address assigned in the setu age and not the tem orary address assigned here. This means that once
communications are established, the desired IP address should be entered into the network setu age using
the browser.
To assign the temporary IP address...
1. Make sure WebRelay-10TM and the configuration com uter are connected to the same hysical
network. This will not work through routers or gateways.
2. Assign the address as follows...
Windows :
O en a Command Prom t (on Windows XP, select START, then RUN, then ty e “cmd”).
Ty e...
arp -s {new IP address} {serial number of WebRelay-10TM }
Note: IP address format is: xxx.xxx.xxx.xxx
Serial number format is: ss-ss-ss-ss-ss-ss
For exam le, to set a WebRelay-10TM device (with serial number 00-0C-C8-01-00-01 ) to
10.10.10.40 the following command would be used.
arp -s 10.10.10.40 00-0c-c8-01-00-01
Next, ty e...
ping -l 10 {new IP address}
For exam le, if the new IP address is 10.10.10.40, the following command would be
used.
ping -l 102 10.10.10.40
Linux/Unix:
O en a terminal, change to root user (su -, then enter root assword).
Ty e...
arp -s {new IP address} {serial number of WebRelay-10TM }
Note: IP address format is: xxx.xxx.xxx.xxx
Xytronix Research & Design, Inc. age 8

Revision 1.01 WebRelay-10TM Users Manual
Serial number format is: ss:ss:ss:ss:ss:ss
For exam le, to set a WebRelay-10TM device (with serial number 00-0C-C8-01-00-01 ) to
10.10.10.40 the following command would be used.
arp -s 10.10.10.40 00:0c:c8:01:00:01
Next, ty e...
ping -s 10 {new IP address}
For exam le, if the new IP address is 10.10.10.40, the following command would be
used.
ping -s 102 10.10.10.40
Mac OS X
O en a terminal,
Note that the terminal is in the “Utilities” directory which is in “A lications” directory.
ty e
sudo arp -s {new IP address} {serial number of WebRelay-10TM }
Note: Administrator assword is required.
IP address format is: xxx.xxx.xxx.xxx
Serial number format is: ss:ss:ss:ss:ss:ss
For exam le, to set a WebRelay-10TM device (with serial number 00-0C-C8-01-00-01 ) to
10.10.10.40 the following command would be used.
sudo arp -s 10.10.10.40 00:0c:c8:01:00:01
Next, ty e...
ping -s 10 {new IP address}
For exam le, if the new IP address is 10.10.10.40, the following command would be
used.
ping -s 102 10.10.10.40
2.3.2 Option 2: Assign a temporary IP address to configuration computer
If the first o tion above is not used, you can use this o tion to communicate with WebRelay-10TM . By
default, WebRelay-10TM comes from the factory with an IP address of 192.168.1.2. Communications with
WebRelay-10TM may be established by assigning an IP address to the configuration com uter that is on
the same network as WebRelay-10TM (for exam le the configuration com uter could be assigned to
192.168.1.5) .
Instructions for changing the IP address of the com uter that will be used for WebRelay-10TM
configuration are given here. Note that these instructions are s ecifically for com uters with the Windows
XP o erating system. For setu using other o erating systems, refer to the a ro riate users manual.
Ste 1: O en the control anel by clicking on the start menu and then clicking on Control Panel. (Note that
control anel shown is in “Classic View”. If control anel is in “Category View” select the “Classic View”
o tion before roceeding.)
Xytronix Research & Design, Inc. age 9

Revision 1.01 WebRelay-10TM Users Manual
Ste 2: Double click on the icon labeled Network Connections. The following menu will o u .
Ste 3: Right click on the icon labeled Local Area Connection. Another menu will a ear. Select the o tion
at the bottom of the menu labeled Pro erties. The Local Area Connection Pro erties window will a ear.
Ste 4: On the Local Area Connection Pro erties age scroll down to Internet Protocol (TCP/IP), select it,
and then click the button labeled ro erties.
Xytronix Research & Design, Inc. age 10

Revision 1.01 WebRelay-10TM Users Manual
Ste 5: Before making any changes to the network settings, write down the current settings so they can
be restored once WebRelay-10TM is configured. Next, select the radio button labeled “Use the following
IP address,” and ty e in the IP address 192.168.1.50. Ty e in a subnet mask of 255.255.255.0. Leave the
default gateway field blank. Click OK to a ly settings.
Xytronix Research & Design, Inc. age 11

Revision 1.01 WebRelay-10TM Users Manual
2.3.3 Open Configuration Web Page
Once the network is set u , o en the configuration setu age by ty ing the following URL into the browser:
htt ://192.168.1.2/setu .html (note that if o tion 1 above was used for initial configuration, re lace the IP
address given here with the newly assigned IP address). A assword is required to change any arameters.
The default assword is ‘webrelay’ (do not include quotes, assword is case sensitive).
2.4 Web-Based Setup
WebRelay-10TM is fully configurable through HTML 4.0 com liant web browsers such as Internet Ex lorer and
Mozilla Firefox. It’s easy to use tab based menu system has been designed to allow the unit to be configured easily.
Note that in this cha ter, the default IP address of 192.168.1.2 is used in all exam les. If the IP address has been
changed, substitute the new IP address for the address shown in the exam les.
Before roceeding, make sure a network connection has been established between the com uter and WebRelay-10TM.
This is done by ty ing the following URL into the web browser: htt ://192.168.1.2/setu .html. Another way to
check communications is to ing WebRelay-10TM (from the command rom t (ty e ing 192.168.1.2)). Each setu
age is described below.
2.4.1 Main Setup Page
This is the initial age that a ears when the URL htt ://192.168.1.2/setu .html is entered into the web
browser. It rovides basic information about the WebRelay-10TM unit.
Xytronix Research & Design, Inc. age 12

Revision 1.01 WebRelay-10TM Users Manual
Navigating between setu ages is done by clicking on the tabs at the to of the age. All setu ages
require a assword. The default assword is ‘webrelay’ (no quotes, all lower case) and no user name
is required.
Each setu age has a “Submit” button and a “Reset” button at the bottom of the age. After entering the
desired arameters into each age, the “Submit” button must be ressed before any arameters will be
saved. If a mistake is made in entering the arameters, the “Reset” button may be used to restore all
arameters on the age to their current settings. The “Reset” button is only effective before the “Submit”
button is ressed.
2.4.2 Network Setup Page
The network arameters are changed on this age. Note that if multi le WebRelay-10TM units are used on
the same network, install one unit at a time and set the IP address of each unit before connecting the next
unit to the network. This avoids having multi le WebRelay-10TM units installed on the network with the
same factory default IP address at the same time. It may be necessary to clear the ar cache each time you
swa WebRelay-10TM units on the network (this is because each unit has the same default IP address but
different mac address). This is done by ty ing arp -d in the command rom t of a Windows com uter
Xytronix Research & Design, Inc. age 13

Revision 1.01 WebRelay-10TM Users Manual
(arp -d -a as su er user on A le OSX). Also note that the unit must be ower-cycled ( ower
disconnected, then reconnected) before network settings take effect. No other setu age requires ower-
cycling for the settings take effect.
1. IP Address:
WebRelay-10TM requires a static IP address. This is a unique address that identifies
WebRelay-10TM on the network. Dynamic IP address assignment is not su orted. The
lack of dynamic IP addressing su ort is intentional because a dynamically changing the
IP address would make it difficult for a client to access the web server built into
WebRelay-10TM. The IP address is s ecific to the network where WebRelay-10TM will be
installed, and must be obtained from the network administrator.
This guide is not meant to be a tutorial on IP addressing, however a few comments about IP
addressing are given here.
If WebRelay-10TM will be used over the Internet, the IP address must be a routable address assigned
by the u stream Internet Service Provider (ISP).
In cases where the ISP only rovides a single routable IP address for the entire network (this is
ty ical with ISPs such as cable roviders), a roxy server (or gateway router) may be used. A
roxy server allows multi le devices to connect to the Internet using a single routable IP address.
Many small routers from LinkSys, Dlink, and Netgear erform roxy server functions. If a roxy
server is used, WebRelay-10TM will not be accessible from the Internet until the roxy server is
ro erly configured (forward ro er ort to WebRelay-10TM). This information is mentioned for
Xytronix Research & Design, Inc. age 14

Revision 1.01 WebRelay-10TM Users Manual
convenience but details of setting u a configuration such as this is beyond the sco e of this
manual.
If WebRelay-10TM is used on a rivate network only and is NOT used over the Internet, a routable
IP address is not necessary. This may be the case when WebRelay-10TM is used to control (or
monitor) a device in another room or a nearby building.
If WebRelay-10TM will be installed on a sim le, rivate network that does not connect to the
Internet, the default IP address may be used as long as no other device on the network uses the
same address. If multi le WebRelay-10TM units are installed on the same network, each unit must
have its own unique IP address. For exam le, WebRelay-10TM comes from the factory with a
default IP address of 192.168.1.2. If multi le units are used, change the IP address for each unit
(192.168.1.3, 192.168.1.4, 192.168.1.5 etc.).
2. Netmask:
This s ecifies the size of the local network. This must be obtained from the network
administrator. By default, the netmask is set to 255.255.255.0.
3. Broadcast:
This s ecifies the broadcast address. This must be obtained from the network
administrator. By default, this is set to 192.168.1.255.
4. Gateway:
This s ecifies the IP address of the gateway router. This must be obtained from the
network administrator. By default, this is set to 192.168.1.1.
5. TCP Port:
This s ecifies the TCP ort used for communications with WebRelay-10TM. By default,
the ort is set to 80 which is the standard htt ort. It is recommended that the ort not be
changed without an understanding of TCP/IP and orts.
Changing the ort can be useful for accessing multi le WebRelay-10TM devices which are
installed behind a gateway router on a rivate network that uses non-routable IP addresses
(192.168.x.x, 10.x.x.x, and 172.16.x.x through 172.31.x.x are non-routable or rivate IP
addresses). In this case, each WebRelay-10TM unit would be assigned a different ort (for
exam le 8000, 8001, 8002, etc). The gateway router would be set u to forward all traffic
for each of the assigned orts to the IP address of the WebRelay-10TM unit which uses that
ort. The WebRelay-10TM units could then be accessed from outside the rivate network
by entering the IP address of the gateway and the ort for the desired WebRelay-10TM unit.
Note that whenever any ort is assigned other than ort 80, all communications with that
WebRelay-10TM device must include the ort. For exam le, if WebRelay-10TM is assigned
ort 8000, access to the setu age would require the following URL to be entered;
htt ://192.168.1.2:8000/setu .html.
Xytronix Research & Design, Inc. age 15

Revision 1.01 WebRelay-10TM Users Manual
An exam le screenshot of a gateway router configuration is given below. This setu
allows seven ControlByWebTM roducts to be accessed on a rivate network behind a
gateway router. Note that this screenshot is sim ly an exam le of a ty ical router setu
age. Routers will vary.
In the exam le, the seven ControlByWebTM roducts are assigned IP addresses of
10.10.10.41 to 10.10.10.47. The first device labeled WebRelay-Quad 1 has an IP address
of 10.10.10.41 and is assigned ort 8001. Note that in the WebRelay-QuadTM setu age
(under Network settings tab), TCP Port 8001 must be s ecified for this device. The
second device, labeled WebRelay-Quad 2 has an IP address of 10.10.10.42 and is assigned
ort 8002. This WebRelay-QuadTM must have its TCP Port set to 8002 in it's network
settings age. This attern continues through 10.10.10.77 which is assigned the ort 8007.
To access the ControlByWebTM units from the Internet, enter the IP address of the gateway
lus the ort number of the desired device.
6. Modbus Port:
This s ecifies the ort used for Modbus/TCP communications with WebRelay-10TM. By
default this is set to ort 502 which is the standard Modbus ort. For users not familiar
with Modbus, Modbus is a messaging structure rotocol used in industrial manufacturing
control and automation. It is an o en rotocol and offers intero erability with software
and devices from other manufacturers. If Modbus is not used, this setting can be ignored.
Modbus communications are disabled whenever the control assword is enabled.
7. S eed:
This o tion sets the data rate of the Ethernet ort. Both 10Mb s and 100Mb s can be
selected. The 100Mb s o tion offers faster communications but the amount of data to and
from WebRelay-10TM is so small that users will not likely notice much of a difference.
When WebRelay-10TM is set to 10Mb s, it draws less ower and runs a little cooler which
translate into a longer roduct life. IT IS RECOMMENDED THAT THIS SETTING BE
LEFT AT 10MBPS UNLESS THE USER HAS A SPECIFIC REASON TO USE
100MBPS.
Xytronix Research & Design, Inc. age 16

Revision 1.01 WebRelay-10TM Users Manual
8. Mode:
This o tion allows the Ethernet ort to be set to Half Du lex or Full Du lex. Legacy
Ethernet o erates in Half Du lex mode which means that devices can either send data or
receive data, but not both at the same time. Full du lex means that devices can send and
receive data at the same time.
2.4.3 Password Setup Page
The assword setu age is used to change and enable asswords. A assword is required for the setu
ages but is o tional for the control age. The assword is enabled or disabled for the control age by using
the Yes or No radio buttons. Enabling the control age assword also enables the requirement for a
assword when reading/writing XML ages. Enabling the control age assword also disables the ability to
communicate with WebRelay-10TM using Modbus. Note that when the assword is changed, the assword
may be dis layed in the browser’s history in clear text. It is advisable to clear the browsers history after
setting the assword. Passwords may be u to 10 characters.
2.4.4 Control Page Setup Page
This setu age is used to setu arameters that affect the control age as a whole. It is on this age that the
title and main header of the control age is defined, as well as the refresh rate of the control age.
Xytronix Research & Design, Inc. age 17

Revision 1.01 WebRelay-10TM Users Manual
1. Main Header Text:
This text will be dis layed in the main header area of the control age. This field can be u to 25 characters
in length.
2. Auto Refresh Page:
Web ages traditionally dis lay static information. The WebRelay-10TM control age, however, dis lays
information that is dynamic. Each time the control age is loaded to the browser, it dis lays a sna shot of
the current status of the unit. If the state of the unit changes, the information on the control age will be
outdated unless the age is re-loaded. Whenever a user changes the state of the relay via the web browser,
the web age will automatically reload the control age to dis lay current information. If, however, the
relay state changes due to a change due to a command sent from another machine, the relay state will not be
u dated and the control age information will be obsolete. The ‘Auto Refresh Page’ o tion will cause the
control age to continually u date its contents by setting a timer in the web age that causes it to be reloaded
at a s ecified time interval.
3. Duration:
If the ‘Auto Refresh Page’ o tion is set to Yes, this field s ecifies the time interval in seconds that the age
will be refreshed. It can be set from 1 to 32 seconds.
2.4.4 Relay Options Page
This age is used to set u the function of each of the 10 relays, and how each relay is re resented on the
control age. A dro down box at the to of the age selects the relay for which the o tions on the age will
a ly when the setu age is submitted.
Xytronix Research & Design, Inc. age 18

Revision 1.01 WebRelay-10TM Users Manual
1. Select Relay to Edit:
This dro down box selects the relay for which the rest of the arameters on this setu age will a ly.
When a new relay is selected the setu age will be refreshed to reflect the current settings for that relay.
2. Relay Descri tion:
This text is used to describe the function of the relay on the control age. This field can be u to 20
characters in length.
3. Status ON Text:
This field s ecifies the text that will be dis layed when the relay is on (coil energized).
4. Status OFF Text:
Xytronix Research & Design, Inc. age 19

Revision 1.01 WebRelay-10TM Users Manual
This field s ecifies the text that will be dis layed when the relay is off (coil not energized).
5. Button 1 Label:
This field s ecifies the text that will be dis layed in ushbutton number 1.
6. Button 2 Label:
This field s ecifies the text that will be dis layed in ushbutton number 2.
7. Pulse Button Label:
The text entered here will a ear in the ulse button on the control age.
8. Pulse Duration:
When WebRelay-10TM receives a command (from over the network or through an in ut change) to pulse the
relay, this is the time in seconds that the relay will ulse on. This time can be set from 0.1 seconds to 86,400
seconds (1 day). Note that each time WebRelay-10TM receives a ulse command, the relay will be turned on
(if not on already) and the ulse timer will be reset. If WebRelay-10TM receives a ulse command and and a
second ulse command comes in before the ulse timer has ex ired, the relay will remain on and the ulse
timer will be reset so the duration of the ulse will be extended. If ulse commands are issued continuously
so that the ulse timer is not allowed to ex ire, the relay will remain on until after the last ulse command
was sent (to be recise, the relay will go off at the time of the last command lus the Pulse Duration time).
The ulse command can be canceled before the ulse duration time has ex ired by issuing any other
command. The factory default setting for this is 1.5 seconds.
Xytronix Research & Design, Inc. age 20
This manual suits for next models
1
Table of contents
Other Xytronix Research & Design Control Unit manuals