ControlByWeb WebRelay-Quad X-WR-4R1-5 Manual de usuario

Revision: 2.2 - June 8, 2007
a division of...
Xytronix Research & Design, Inc.
North Logan, Utah, USA
(c) 2006-2007 Xytronix Research & Design, Inc.
Covers: X-WR-4R1-5
X-WR-4R1-I
X-WR-4R1-E
WebRelay-Quad
TM
Users Manual
TM

Revision 2.2b WebRelay-QuadTM Users Manual
Contents
Trademark and Copyright Information
Warranty
FCC Statement
Installation uidelines (Read Before Installing)
Section 1: Introduction
1.1 Features
1.2 WebRelay-QuadTM Models Available
1.3 Connectors & Indicators
1.4 Example Configurations and Applications
1.4.1 Basic Setup
1.4.2 Controlling High Power Devices
1.4.3 Using WebRelay-QuadTM Without a Computer
Section 2: Installation and Setup
2.1 Mounting
2.1.1 Wall Mounting
2.1.2 DIN-Rail Mounting
2.2 Connection
2.2.1 Power Supply Connection
2.2.2 Network Connection
2.2.3 Relay Connection
2.3 Establishing Communications for Setup
2.3.1 Option 1: Assign a temporary IP address to WebRelay-QuadTM
2.3.2 Option 2: Assign a temporary IP address to configuration computer
2.3.3 Open Configuration Web Page
2.4 Web-Based Setup
2.4.1 Main Setup Page
2.4.2 Network Setup Page
2.4.3 Password Setup Page
2.4.4 Relay Setup Pages
Section 3: Operation
3.1 Browser Operation
3.2 XML Operation
3.3 Modbus Operation
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 Multiple Coils (Modbus Function Code 15 (0x0F))
3.3.4 Write Multiple Registers (Modbus Function Code 16 (0x10))
Appendix A: Restoring Factory Default Settings
Appendix B: Specifications
Appendix C: Mechanical Information
Appendix D: Open TCP Legal Notice
Xytronix Research & Design, Inc. page 1

Revision 2.2b WebRelay-QuadTM Users Manual
Trademark and Copyright Information
This document is Copyright ©2005-2007 by Xytronix Research & Design, Inc. All rights reserved.
WebRelay-QuadTM and ControlByWebTM are Trademarks of Xytronix Research & Design, Inc. 2005-2007.
Portions of the software used in WebRelay-QuadTM are open source and appropriate copyright and legal notices are
listed at the end of this manual. All other parts of the software are property of Xytronix Research & Design, Inc.
©2005-2007. The hardware design, schematics, PCB layout, concept, graphics, users manual, etc., are property of
Xytronix Research & Design, Inc. ©2005-2007. WebRelay-QuadTM may not be opened, dis-assembled, copied or
reverse engineered.
No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical,
including photocopying or scanning, for any purpose other than the personal use by the purchaser of this product.
Xytronix Research & Design, Inc., assumes no responsibility for any errors that may appear in this document.
Whereas effort has been made to make the information in this document as useful and accurate as possible, Xytronix
Research & Design, Inc. assumes no responsibility for the application, usefulness, or completeness of the information
contained herein. Under no circumstance will Xytronix Research & Design, Inc. be responsible or liable for any
damages or losses including direct, indirect, special, incidental, or consequential damages or losses arising from
either the use of any information contained within this manual or the use of any products or services referenced in
this manual.
Xytronix Research & Design, Inc. reserves the right to change any product’s features, specifications, documentation,
warranties, fee schedules, and conditions at any time and without notice.
Warranty
This Xytronix Research & Design, Inc. product has a warranty against defects in material and workmanship for a
period of one year from the date of shipment. During the warranty period, Xytronix Research & Design, Inc. will, at
its option, either repair or replace products that prove to be defective. This warranty is extended to the original
purchaser of the equipment only.
For warranty service or repair, the product must be properly packaged, and returned to Xytronix Research & Design,
Inc. The purchaser shall prepay all charges for shipping to Xytronix Research & Design, Inc., and Xytronix Research
& Design, Inc. will pay the shipping charges to return the product to the purchaser as long as the product is shipped
within the United States. If the product is shipped outside of the United States, the purchaser shall pay all shipping
charges, duties, and taxes.
Limitation
The foregoing warranty shall not apply to defects or damage resulting from improper use or misuse, unauthorized
repair, tampering, modification, improper connection, or operation outside the electrical/environmental specifications
for the product. Further, the warranty does not cover Acts of od, such as fire, flood, hurricanes, and tornadoes.
This warranty does not cover damage to property, equipment, direct, indirect, consequential, or incidental damage
(including damage for loss of business profit, business interruption, loss of data, and the like) arising out of the use or
misuse of this product. UNDER NO CIRCUMSTANCES WILL THE LIABILITY OF XYTRONIX RESEARCH &
DESI N, INC. TO THE PURCHASER OR ANY OTHER PARTY EXCEED THE ORI INAL PURCHASE
PRICE OF THE PRODUCT, RE ARDLESS OF THE FORM OF THE CLAIM. No other warranty is expressed or
implied. Xytronix Research & Design, Inc. specifically disclaims the implied warranties or merchantability and
fitness for a particular purpose. Some jurisdictions may not allow the exclusion of limitation of liability for
consequential or incidental damage.
Xytronix Research & Design, Inc. page 2

Revision 2.2b WebRelay-QuadTM Users Manual
FCC Statement
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
• This device may not cause harmful interference.
• This device must accept any interference received, including interference that may cause undesired operation.
Warning: This equipment has been tested and found to comply with the limits for a Class B (Class A for POE
model) digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable
protection. This equipment 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 particular installation. If this equipment does cause harmful interference to radio
or television reception, which can be determined by turning the equipment 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 separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
Notice: Changes or modification not expressly approved by the party responsible for compliance could void the
user’s authority to operate the equipment.
Installation Guidelines (Read efore Installing)
- Do not open the WebRelay-QuadTM enclosure. This will void the warranty.
- This unit must be installed by qualified personnel.
- This unit must not be installed directly outdoors.
- This unit must not be used for medical, life saving purposes, or for any purpose where its failure could cause serious
injury or the loss of life.
Notes about security:
By design, WebRelay-QuadTM is very secure. It does not support terminal or file transfer programs such as telnet, ftp,
ssh, etc. This means that it is not possible for someone to ‘break in’ to WebRelay-QuadTM and access other devices on
your local network. WebRelay-QuadTM does not support remote firmware updates which means that it is not possible
for someone to remotely install malicious software. The simplicity of WebRelay-QuadTM makes it a very secure
device. As with any device to be installed on a network, there are some security precautions that should be observed.
If WebRelay-QuadTM is installed on the Internet, it is recommended that passwords be enabled for the control page.
Make sure secure passwords are used. Passwords should be at least 8 characters in length and should be a
combination of upper case letters, lower case letters, and numbers. Don’t use passwords that would be easy to guess.
For additional security, a firewall may be used to limit access only to selected IP addresses. Another option may be
to set up a Virtual Private Network (VPN) between the network where WebRelay-QuadTM resides and the client
machine (web browser, second WebRelay-QuadTM, etc.).
Final installation note. This ControlByWebTM product supports connection to 10Mbps and 100Mbps networks.
Although 100Mbps networks are faster, the amount of data transferred to and from this device is very minimal and
little if any performance increase will be gained by setting it to 100Mbps. There are advantages however, to operate
this device at 10Mbps. At 10Mbps, less power is required, the unit runs cooler, and the lifetime of the product will be
extended.
Xytronix Research & Design, Inc. page 3

Revision 2.2b WebRelay-QuadTM Users Manual
Section 1: Introduction
WebRelay-QuadTM is a compact, four-relay module with a built in web server. It can be controlled and/or monitored
over any IP network including private networks, IP-based industrial control networks, and the Internet. Users can
operate WebRelay-QuadTM using a web browser or a custom application. Computers, PLCs, or automation controllers
may control and monitor WebRelay-QuadTM without user intervention. This works by sending text commands over
the network and reading XML status pages from WebRelay-QuadTM, or by using Modbus/TCP protocol.
WebRelay-QuadTM has many applications 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 computer. It can be used in
industrial applications to control motors, lights, coils, pumps, valves, etc.
1.1 Features
WebRelay-QuadTM is very simple but has many features. Some features include...
•No programming required
•Easy to use as a stand alone device or as part of a large control system
•Built-in web server provides simple, web based configuration and control
•Control page can be customized with appropriate text and buttons
•10/100 Ethernet connectivity
•Four, 24Volt 1-Amp relays
•Removable terminal connectors (included) simplifies wiring and service
•Custom applications can control WebRelay-QuadTM with simple text commands and read XML formatted
status.
•Modbus/TCP protocol support provides inter-interoperability with devices/software from other
manufacturers.
•Password protection
•Selectable TCP ports
•On/Off or pulse mode
•DIN-Rail or Wall Mount
1.2 WebRelay-QuadTM Models Available
WebRelay-QuadTM is currently available in three models. The only difference between the three models is the power
supply requirements.
Part Number Power Supply Requirements
X-WR-4R1-5 5VDC
X-WR-4R1-I 9-28VDC
X-WR-4R1-E Power Over Ethernet or 5VDC
1.3 Connectors & Indicators
WebRelay-QuadTM has a removable terminal connector and an Ethernet connector. The terminal connector is used to
provide power to the internal web server, and is used to connect external electrical loads to the relay contacts.
There are seven LED indicators on WebRelay-QuadTM. The Power LED (green) indicates that the unit is powered.
Four LEDs (green) labeled Relay 1-4 which indicate that the corresponding relay coil is energized. When the relay
coils are energized, the NO (Nornally Open) contacts are closed and the NC (Normally Closed) contacts are open.
The load device that is connected to the relay contacts may be on or off when the coil is energized depending on how
it is wired. The LINK (green) LED indicates that WebRelay-QuadTM is properly connected to an Ethernet network.
The ACK LED (amber) flashes when there is network activity. Note that the LINK and ACT LEDs are located on
the Ethernet connector.
Xytronix Research & Design, Inc. page 4

Revision 2.2b WebRelay-QuadTM Users Manual
1.4 Example Configurations and Applications
WebRelay-QuadTM is very versatile and can be used in many applications. Several basic installation schemes are
illustrated in this section.
Xytronix Research & Design, Inc. page 5
Removable
Terminal Strip
Relay
Status
Indicator
Lights
Power
Indicator
Light
Network
Link
Light
Network
Activity
Light
Ethernet
onnector

Revision 2.2b WebRelay-QuadTM Users Manual
1.4.1 asic Setup
The illustration below shows a simple WebRelay-QuadTM application. The example shows how a 3-color
industrial light tower can be controlled remotely over an Ethernet network. The three lights are connected to
three of the relays so each light can be controlled individually. The lights can be connected directly to the
relay contacts because they are low power lights (LEDs). The controller can be a web browser, a custom
control application running on a computer, a PLC, or an embedded industrial controller. Commands are sent
to WebRelay-QuadTM over the Ethernet network using standard IP protocols so the controller can be placed
physically next to the light tower or a distance away.
Xytronix Research & Design, Inc. page 6
Computer, PLC, Industrial
Controller, etc.
IP
Network
WebRelay-Quad
OM
+V
Power Supply
for Lig t Tower
Vin+
1
1NO
Vin-
2
2NO
3
3NO
OM
Light 3
Light 1
Light 2
Power Supply for WebRelay-
Quad Device to be
Controlled
(Lig t Tower)
Note that a single power supply could be
used to power both WebRelay-Quad and
Light Tower.

Revision 2.2b WebRelay-QuadTM Users Manual
1.4.2 Controlling High Power Devices
WebRelay-QuadTM can be used to control high power devices by using an external relay. In this
configuration, WebRelay-QuadTM does not control the load directly, but controls the external relay and the
external relay controls the load. This is illustrated below.
Xytronix Research & Design, Inc. page 7
25 Amp
Solid State Relay
Computer, PLC, Industrial Controller, etc.
IP
Network
WebRelay-Quad
Power Supply
(Powers WebRelay)
(5VDC or 9-28VDC)
240V
AC Power
Source
Device to be
Controlled
Vin-
Vin+
1NO
1
+
Input
-
Line
Neutral

Revision 2.2b WebRelay-QuadTM Users Manual
1.4.3 Using WebRelay-QuadTM Without a Computer
WebRelay-QuadTM can be used in conjunction with other ControlByWeb products such as WebRelayTM or
the Five- Input Module. This allows users to control devices at a remote location by using switches or
buttons instead of using a computer. The illustration below shows how three switches can remotely control
three indicator lights in a light tower at a remote location. This configuration offers many possibilities in
security and remote control. The inputs can be driven by switches, sensors, or digital outputs from a PLC or
automation controller.
Xytronix Research & Design, Inc. page 8
IP
Network
WebRelay-Quad
OM
+V
Power Supply
for Lig t Tower
1NO
2NO
To 1 , 2 , and 3
3NO
OM
Light 3
Light 1
Light 2
Power Supply for WebRelay-
Quad
Lig t Tower
Five Input Module
Vin+
Vin-
Vin+
Vin-
Power Supply for
Five Input Module
Switc es
Lig t 1
Lig t 2
Lig t 3
+5
In1+
In2+
In3+
Gnd
In1-
In2-
In3-

Revision 2.2b WebRelay-QuadTM Users Manual
Section 2: Installation and Setup
Installation consists of mounting WebRelay-QuadTM, connecting to an IP network, providing power, configuring via a
web browser, and wiring relay contacts to the device that will be controlled.
2.1 Mounting
WebRelay-QuadTM can be be wall mounted or DIN rail mounted. It should be mounted in a clean dry location where
it is protected from the elements. Ventilation is recommended for installations where ambient air temperature is
expected to be high.
2.1.1 Wall Mounting
WebRelay-QuadTM includes two keyholes in the rear of its enclosure for wall mounting. Mount to a wall by
using two #8 screws. Attach the screws to the wall vertically spaced exactly 2.5 inches apart. The head of
the screws should be about 1/10 inch away from the wall. See Appendix C for mechanical details.
2.1.2 DIN-Rail Mounting
WebRelay-QuadTM can be mounted to a standard (35mm by 7.55mm) DIN rail. Attach WebRelay-QuadTM to
the DIN rail by hooking the top hook on the back of the enclosure to the DIN rail and then snap the bottom
hook into place. Remove WebRelay-QuadTM from DIN rail using a flat-head screwdriver. Insert the
screwdriver into the notch in the release tab and pry against the enclosure to release the bottom hook.
Xytronix Research & Design, Inc. page 9
Otros manuales para WebRelay-Quad X-WR-4R1-5
1
Este manual sirve para los siguientes modelos
2
Tabla de contenidos
Otros manuales de Relé de ControlByWeb



















