ControlByWeb WebRelay X-WR-1R12-1I5-5 User manual


WebRelay Users Manual
WebRelay User Manual Revisions
Revision Description
4.0 Added changes for models X-WR-1R12-1I-I and X-WR-1R12-1I-E.
Made m nor changes to the d g tal nput spec f cat on.
Added documentat on for new POE operat on w th external power appl ed.
New document format, moved warranty and other nformat on to the append x.
Moved XML and Modbus nformat on to Section 5 Auxiliary Operations
Added “Access ng the Internet” to the append x
Changed warranty to 5-years
Reworked and updated the photos, w r ng connect ons and appl cat ons.
4.1 Added UL l st ng
Page 2 Xytronix Research & Design, Inc.

WebRelay Users Manual
Table of Contents
Section 1: Introduction......................................................................................................................................... 6
Remote Control and Mon tor ng...........................................................................................................6
Remote Reboot Controller .................................................................................................................. 6
Appl cat ons......................................................................................................................................... 6
1.1 eatures................................................................................................................................................... 7
1.2 Applications............................................................................................................................................. 8
1.3 Part Numbers and Accessories............................................................................................................. 9
1.3.1 Opt onal Accessor es.......................................................................................................................... 9
1.4 Security Notes......................................................................................................................................... 9
1.5 Connectors & Indicators....................................................................................................................... 10
1.6 Accessing the WebRelay using a Web Browser.................................................................................12
Section 2: Installation and Connections........................................................................................................... 13
2.1 Installation Guidelines.......................................................................................................................... 13
2.1.1 Wall Mount ng................................................................................................................................... 13
2.1.2 DIN-Ra l Mount ng............................................................................................................................ 14
2.2 Making Connections............................................................................................................................. 15
2.2.1 Power Supply Connect ons............................................................................................................... 15
2.3 Relay Connections (Control a device over an IP network)................................................................16
2.4 Digital Input Connections..................................................................................................................... 17
2.4.1 Sw tch-Closure Connect ons............................................................................................................. 17
2.4.2 DC Input Connect ons....................................................................................................................... 19
2.4.3 AC Input Connect ons....................................................................................................................... 20
2.5 Example Applications and Configurations......................................................................................... 21
2.5.1 S ngle WebRelay Dev ce (IP network control only)...........................................................................21
2.5.2 S ngle WebRelay Dev ce (d g tal nput and/or IP network control)....................................................22
2.5.3 Dual WebRelay Dev ces (no computer requ red) .............................................................................23
2.5.4 Mult ple WebRelay Operat on (no computer requ red)......................................................................24
2.5.5 WebRelay Used for Reboot (w red n ser es w th power)..................................................................25
2.5.6 WebRelay Used for Reboot (w red to reset).....................................................................................26
2.5.7 WebRelay Used for Reboot (w red n parallel w th power sw tch).....................................................26
2.5.8 Network Connect on......................................................................................................................... 27
2.6 Establishing Communications for Setup............................................................................................ 28
2.6.1 Method 1: Ass gn a Temporary IP Address to Conf gurat on Computer ..........................................28
2.6.2 Method 2: Ass gn a Temporary IP address to the WebRelay...........................................................32
M crosoft W ndows Instruct ons......................................................................................................... 32
L nux/Un x Instruct ons...................................................................................................................... 32
Mac OS X Instruct ons....................................................................................................................... 33
2.3.3 Open Conf gurat on Web Page.......................................................................................................... 33
Section 3: Web Server and Setup Pages.......................................................................................................... 34
3.1.1 Ma n Setup Page.............................................................................................................................. 35
3.1.2 Network Setup Page......................................................................................................................... 36
3.1.3 Password Setup Page...................................................................................................................... 39
3.1.4 Relay/Input Setup Page.................................................................................................................... 40
3.1.4.1Standard Relay Mode................................................................................................................. 41
3.1.4.2Automat c Reboot Mode.............................................................................................................43
Xytronix Research & Design, Inc. Page 3

WebRelay Users Manual
3.1.4.3Standard or Automat c Reboot Mode..........................................................................................45
3.1.5 Control Page Setup (When Relay Mode s set to Standard).............................................................49
3.1.6 Control Page Setup (When Relay Mode s set to Automat c Reboot)...............................................52
Section 4: Control Page..................................................................................................................................... 55
4.1 Browser Operation (Standard Relay Mode)........................................................................................ 55
4.2 Browser Operation (Automatic Reboot Relay Mode).........................................................................57
Section 5: Auxiliary Operations......................................................................................................................... 59
5.1 XML......................................................................................................................................................... 59
5.1.1 state.xml........................................................................................................................................... 59
5.1.2 XML Control...................................................................................................................................... 60
5.1.3 Message Acknowledgment ............................................................................................................. 61
5.2 HTTP GET Requests (for custom applications)..................................................................................62
5.2.1 Us ng GET for Control and Mon tor ng..............................................................................................62
No Password..................................................................................................................................... 62
Password Enabled............................................................................................................................. 62
5.3 Modbus/TCP.......................................................................................................................................... 63
5.3.1 WebRelay Funct on Code Summary................................................................................................. 63
5.3.2 PLC Dev ce Address ng.................................................................................................................... 63
5.3.3 WebRelay Full Address Table.......................................................................................................... 64
5.3.4 Read Co ls - Modbus Funct on Code 01 (0x01)................................................................................65
Request............................................................................................................................................. 65
Response.......................................................................................................................................... 65
Errors................................................................................................................................................. 65
5.3.5 Read D screte Inputs – Modbus Funct on Code 02 (0x02)...............................................................66
Request............................................................................................................................................. 66
Response.......................................................................................................................................... 66
Errors................................................................................................................................................. 66
5.3.6 Wr te S ngle Co l – Modbus Funct on Code 05 (0x05)......................................................................67
Request............................................................................................................................................. 67
Response.......................................................................................................................................... 67
Errors................................................................................................................................................. 67
5.3.7 Wr te Mult ple Reg sters – Modbus Funct on Code 16 (0x10)...........................................................68
Request (set pulse t me).................................................................................................................... 68
Response.......................................................................................................................................... 68
Errors................................................................................................................................................. 68
Appendix A: Restoring actory Default Settings.............................................................................................69
Appendix B: Installing New irmware............................................................................................................... 70
Appendix C: Accessing the WebRelay Over the Internet................................................................................72
IP Addresses......................................................................................................................................... 72
A S mple Local Area Network................................................................................................................ 72
A S mple LAN connected to the Internet................................................................................................73
Port Forward ng..................................................................................................................................... 73
Access ng Setup Pages......................................................................................................................... 74
Appendix D: Specifications............................................................................................................................... 75
Appendix E: Trademark and Copyright Information........................................................................................78
Appendix : Warranty......................................................................................................................................... 79
Appendix G: CC Statement.............................................................................................................................. 80
Page 4 Xytronix Research & Design, Inc.

WebRelay Users Manual
Appendix H: Mechanical Dimensions............................................................................................................... 81
Xytronix Research & Design, Inc. Page 5

Introduct on WebRelay Users Manual
Section 1: Introduction
Remote Control and Monitoring
WebRelayTM s an electromechan cal relay w th a bu lt- n web server. It can be
controlled and mon tored over any IP network nclud ng pr vate networks, IP-
based ndustr al control networks, and the Internet.
Stand-Alone Module
Users can access and operate WebRelay us ng ts bu lt- n setup and control
pages by us ng a standard web browser. WebRelay can also be controlled
us ng custom appl cat ons.
Drop-In Solution for Existing Systems
Computers, PLCs, or automat on controllers may control and mon tor a
WebRelay w thout user ntervent on. Th s works by send ng text commands
over the network and read ng XML status pages from the WebRelay, or by
us ng Modbus/TCP protocol.
Control Using Digital Inputs
WebRelay can also be operated by us ng the opt cally- solated nput. The
opt cally- solated nput can be conf gured to turn the relay on/off, pulse the
relay, toggle the relay, latch the relay (for alarm ng), etc.
The nput can also be used to control a relay at a remote locat on or to s mply
mon tor the status of a d g tal s gnal.
Remote Reboot Controller
WebRelay can funct on as a h gh-end reboot controller w th fully conf gurable setup opt ons. It can be
used to remotely reboot servers, computers, satell te modems, and other dev ces over the Internet, or t
can be conf gured to automat cally reboot dev ces when they fa l to respond to p ngs that are sent from
the WebRelay. There are three ways that a WebRelay can be w red to a dev ce for reboot:
1. In ser es w th the power source of the dev ce and s mply sw tch the power on and off.
2. In parallel w th the power sw tch of the dev ce. Th s s useful for dev ces that w ll not
automat cally start operat ng when power s appl ed. These dev ces requ re a user to press a
power sw tch before the dev ce w ll boot.
3. Connect the WebRelay to the reset c rcu t of a dev ce. In th s conf gurat on, the WebRelay does
not power down the dev ce, but s mply forces the dev ce to reset. All three reboot methods have
d fferent requ rements for w r ng connect ons and relay t m ng.
Applications
WebRelay, can prov de remote relay control n countless appl cat ons nclud ng pump and motor control,
secur ty lock systems, remote reboot, and l ght ng control. WebRelay's powerful and flex ble des gn
make mag nat on ts only l m t.
Page 6 Xytronix Research & Design, Inc.

WebRelay Users Manual
1.1 eatures
➢No Internet cloud serv ces or fees requ red
➢No programm ng requ red
➢Bu lt- n web server prov des s mple, web based conf gurat on and control
➢Control page can be custom zed w th appropr ate text and buttons.
➢10/100 Base-T Ethernet connect v ty
➢12 Amp/240VAC relay for d rect connect on to load
➢Relay has On/Off or pulse mode
➢Opt cally- solated d g tal nput can be used for status mon tor ng, local relay control, or remote relay
control
➢Removable term nal connectors ( ncluded)
➢Custom appl cat ons can control WebRelay w th s mple text commands and read XML formatted status
➢Easy to use as a stand alone dev ce or as part of a large control system
➢Modbus/TCP protocol support prov des nter- nteroperab l ty w th dev ces/software from other
manufacturers
➢Password protect on
➢Selectable TCP ports
➢Bu lt- n automat c reboot controller
➢Reboot Counter (XML readable only)
➢Powered from a 9-28VDC power adapter. The model X-WR-1R12-1I-E s an Ethernet powered dev ce
(POE).
➢S mple and easy to use
➢UL L sted (X-WR-1R12-1I-I and X-WR-1R12-1I-E)
➢5-year warranty
Relay Output
The WebRelay has an nternal h gh-current relay. Screw term nals are prov ded for the Common,
Normally Open, and Normally Closed contacts of the relay. The screw term nals are nternally connected
d rectly to the relay w th no nternal fuse or other over-current protect on. The relay contacts are solated
from all other c rcu ts.
Digital Input
The WebRelay has an opt cally- solated d g tal nput. The opt cally- solated nput prov des electr cal
solat on between the d g tal nput and the low voltage control c rcu ts of the WebRelay.
Power Supply
The WebRelay employs a sw tch-mode power supply wh ch works from 9-28VDC. The model X-WR-
1R12-1I-E s an Ethernet powered dev ce (PD) wh ch rece ves power, along w th data, on the tw sted-
pa r Ethernet cable. It can accept backup power on the V n+ and V n- term nals.
Xytronix Research & Design, Inc. Page 7

Introduct on WebRelay Users Manual
1.2 Applications
The WebRelay was des gned to meet a broad range of ndustr al appl cat ons. It works well as a stand-
alone dev ce that can be controlled us ng a web browser, or as a conven ent way to add I/O to a
computer or ex st ng control system. It can be conf gured us ng ts bu lt- n setup pages.
Use the WebRelay to control motors, l ghts, co ls, pumps, valves, bells, etc. Also, use t to mon tor
alarms sensors, sw tches, flu d level sw tches, and much more. A few example appl cat ons nclude:
• Control a fan from anywhere n your bu ld ng
• Control tenn s court l ght ng from your off ce
• Open a gate w th your smart phone
• Reboot controller for a server
• I/O Extender
Page 8 Xytronix Research & Design, Inc.

WebRelay Users Manual
1.3 Part Numbers and Accessories
The WebRelay s currently ava lable n two d fferent models.
Part Number Power Supply Requirements Digital Input
X-WR-1R12-1I-I 9-28VDC 4-26 VDC
X-WR-1R12-1I-E Power Over Ethernet and/or 9-28VDC 4-26 VDC
X-WR-1R12-1I5-5 5VDC 4-12 VDC
X-WR-1R12-1I5-I 9-28VDC 4-12 VDC
X-WR-1R12-1I24-I 9-28VDC 11-26 VDC
X-WR-1R12-1I5-E Power Over Ethernet or 5VDC 4-12 VDC
1.3.1 Optional Accessories
Accessory Description Part Number
Power Supply Regulated, DIN-ra l & wall mount
24V DC, 1.75Amp, 100-240V AC Input
2868648
Power Supply Regulated, plug n
12V DC, 1.5Amp,100-240V AC Input
PS12VW1.5-B
Spare Connector 5-P n Connector Plug, 3.81mm Phoen x Contact 1803604
Spare Connector 3-P n Connector Plug, 7.62mm Phoen x Contact 1767012
1.4 Security Notes
The WebRelay s a ded cated dev ce and does not employ a general purpose computer operat ng
system ( .e. W ndows, L nux etc.) It does not have features such as telnet, FTP, SSH, nor uncontrolled
open ports. Th s means t s extremely d ff cult f not mposs ble for someone to ‘break n’ to the
WebRelay and access other dev ces on your local network. WebRelay does not support remote
f rmware updates wh ch means that t s not poss ble for someone to remotely nstall mal c ous software.
The s mpl c ty of the WebRelay makes t an nherently secure dev ce. Nevertheless, as w th any dev ce
nstalled on a network, appropr ate secur ty precaut ons should be observed.
It s recommended that passwords be enabled for the Control Page and Setup Pages. Passwords
should be at least 8 characters n length and use a comb nat on of upper and lower case letters and
numbers. For add t onal secur ty, a f rewall may be used to l m t access to selected IP addresses.
Another opt on may be to set up a V rtual Pr vate Network (VPN) between the network where WebRelay
res des and the cl ent mach ne (web browser, second WebRelay, etc.).
The f rmware n the WebRelay can be upgraded, but not over the nternet. By des gn, a f rmware
upgrade requ res phys cal access to a button on the WebRelay enclosure.
Xytronix Research & Design, Inc. Page 9

Introduct on WebRelay Users Manual
1.5 Connectors & Indicators
WebRelay has two removable term nal connectors and an Ethernet connector. The three-pos t on
term nal connector s used to connect the relay to the load. The f ve-pos t on term nal connector prov des
power to the nternal web server, and has connect ons for the opt cally- solated nput and +5VDC output.
Relay
The WebRelay has an nternal h gh-current relay. Screw term nals are prov ded for the Common,
Normally Open, and Normally Closed contacts of the relay. The screw term nals are nternally connected
d rectly to the relay w th no nternal fuse or other over-current protect on. The relay contacts are solated
from all other c rcu ts.
Digital Input
The WebRelay has an opt cally- solated d g tal nput. The opt cally- solated nput prov des electr cal
solat on between the d g tal nput and the low voltage control c rcu ts of the WebRelay.
Power Supply
Connect a 9-28VDC source to the V n+ and V n- term nals
LED Indicators
Relay:Green, Illum nated whenever the relay s energ zed. When the relay co l s energ zed,
the NO (Normally Open) contact s closed and the NC (Normally Closed) contact s open. The
load dev ce that s connected to the relay contacts may be on or off when the co l s energ zed
depend ng on how ts w red.
Input:Green, Illum nated when a suff c ent voltage s appl ed to the opto-coupler nput
Link:Green, Power s on and WebRelay s properly connected to a network
Act:Amber, Flashes when network s act ve
Page 1 Xytronix Research & Design, Inc.

WebRelay Users Manual
The WebRelay has a f ve-pos t on, removable screw term nal connector for power and nput connect ons, the
three-pos t on connector prov des connect ons to the nternal relay.
5-Pin Connector
Terminal Description
Vin+ Power supply nput +
(not requ red for POE model)
Do not exceed max mum power supply voltage (9-28VDC)
Vin- Power nput- (GND)
Negat ve s de of the power supply
Input- D g tal Input - The negat ve s de of the opt cally- solated nput.
Input+ D g tal Input + The pos t ve s de of the opt cally- solated nput.
+5Vout +5VDC out. Th s voltage s prov ded as a conven ent voltage
source for the opt cally- solated nput. It can be used, for
example, when a sw tch s needed to control the nput state.
Th s can be done by connect ng the INPUT- d rectly to VIN-
and then connect ng the 5Vout to through a sw tch to the
INPUT+. Do not use th s output for other purposes.
3-Pin Connector
Terminal Description
CRelay COMMON
NO Relay NORMALLY OPEN
NC Relay NORMALLY CLOSED
Xytronix Research & Design, Inc. Page 11

Introduct on WebRelay Users Manual
1.6 Accessing the WebRelay using a Web Browser
The WebRelay has a bu lt- n web server that prov des the user s mple web pages that can be accessed
d rectly us ng a standard web browser. Th s allows users to access the un t w th NO SPECIAL
SOFTWARE nstalled on the r computer. Th s s deal for appl cat ons that requ re a qu ck and s mple
solut on that does not need to be access ble to more than a few people. Th s conf gurat on s s mple to
setup, s mple to use, and can be accessed from just about any computer or smart phone.
Note: Network routers may need to be configured to allow access from computers outside of t e local
network (see Appendix C: Accessing t e WebRelay Over T e Internet).
Page 12 Xytronix Research & Design, Inc.

WebRelay Users Manual
Section 2: Installation and Connections
Installat on cons sts of mount ng the WebRelay, connect ng t to an Ethernet network, prov d ng power,
and connect ng the relay contacts to the dev ce that w ll be controlled. Opt onally, a control s gnal may
be connected to the opt cally- solated nput. The nstallat on s completed by conf gur ng the module
us ng a web browser.
The WebRelay supports connect on to 10Mbps and 100Mbps networks. Although 100Mbps networks
are faster, the amount of data transferred to and from th s dev ce s very m n mal and l ttle f any
performance ncrease w ll be ga ned by sett ng t to 100Mbps. There are advantages however, to
operate th s dev ce at 10Mbps. At 10Mbps, less power s requ red, the un t runs cooler, and the l fet me
of the dev ce s extended.
2.1 Installation Guidelines
•Th s un t must be nstalled by qual f ed personnel.
•Th s un t must not be nstalled n unprotected outdoor locat ons.
•Th s un t must not be used for med cal, l fe sav ng purposes, or for any purpose where ts fa lure
could cause ser ous njury or the loss of l fe.
•Th s un t must not be used n any way where ts funct on or fa lure could cause s gn f cant loss or
property damage.
•Do not use to d rectly control motors or other actuators not equ pped w th l m t sw tches or other
safeguards to protect from equ pment or w r ng fa lures.
•The WebRelay should be located n a clean, dry locat on where t s protected from the
elements. Vent lat on s recommended for nstallat ons where amb ent a r temperatures are
expected to be h gh. See Appendix H: Mec anical Information for add t onal mechan cal deta ls.
•The WebRelay must nstalled ns de an NRTL cert f ed ndustr al control panel or s m lar NRTL
cert f ed f re/electr cal enclosure.
•If the WebRelay s used n a manner not spec f ed by Xytron x, the protect on prov ded by the
equ pment may be mpa red.
2.1.1 Wall Mounting
Mount the WebRelay to a wall by us ng two #8 screws. Attach the
screws to the wall vert cally spaced exactly 2.5 nches apart. The
head of the screw should be about 1/10 nch away from the wall.
Xytronix Research & Design, Inc. Page 13

Installat on and Connect ons WebRelay Users Manual
2.1.2 DIN-Rail Mounting
The WebRelay can be mounted to a standard (35mm by 7.55mm) DIN-Ra l. Attach the WebRelay to the
DIN-Ra l by hook ng the top hook on the back of the enclosure to the DIN-Ra l and then snap the bottom
hook nto place. To remove the WebRelay from the DIN-Ra l, use a flat-head screwdr ver. Insert the
screw dr ver nto the notch n the release tab and pry aga nst the enclosure to release the bottom hook.
Page 14 Xytronix Research & Design, Inc.

WebRelay Users Manual
2.2 Making Connections
CAUTION: Make sure the power is shut off before making connections
CAUTION: This unit should be installed by a qualified technician.
CAUTION: Miswiring or misconfiguration could cause permanent damage to the WebRelay, the
equipment to which it is connected, or both.
A removable term nal connector s prov ded for mak ng the power connect ons. To help protect the
WebRelay from mechan cal stress, remove the term nal connector before mak ng the connect ons.
1. Make sure power s turned off.
2. Remove the term nal connector from the WebRelay and make w r ng connect ons to the
term nals. Th s techn que avo ds stress ng the nternal components wh le torqu ng the screws.
3. Reconnect the term nal connector.
4. Apply power.
It s recommended that any load (dev ce to be controlled) not be connected unt l after the WebRelay has
been conf gured and tested. By do ng th s, w r ng and conf gurat on m stakes w ll not cause the load
dev ce to turn on unexpectedly. Make certa n the w res are properly nserted nto to the term nals and
that the screws are t ght.
See Appendix D: Specifications for w re s ze, temperature rat ng and torque requ rements for mak ng
connect ons to the term nal blocks.
2.2.1 Power Supply Connections
The WebRelay requ res power for ts nternal log c c rcu ts. Connect a 9-28 VDC power supply to the
+V n and V n- (Gnd) term nals. A regulated power supply s recommended, such as a wall-mount AC-DC
adapter. Ver fy that the adapter s rated for the operat ng current of the WebRelay (See Appendix D:
Specifications for the current requ rements.) Mult ple WebRelay un ts may be connected to a s ngle
power supply by connect ng the power supply nput term nals n parallel. The power supply must have a
h gh enough current rat ng to power all un ts connected.
The model X-WR-1R12-1I-E s normally powered from an 802.3af compl ant Power Sourc ng Equ pment
(PSE) dev ce wh ch passes DC power, along w th data on the tw sted-pa r Ethernet cabl ng. Th s allows
a s ngle cable to prov de both the data connect on and DC power. W th the X-WR-1R12-1I-E no
connect ons are needed to the V n+ and V n- term nals. The V n+ and V n- term nals however, can be
used as a backup power source. The WebRelay has an nternal “d ode or” c rcu t between the V n+
term nal and the nternal Powered Dev ce (PD) c rcu ts. If a power supply s connected to the V n+
term nal, the WebRelay w ll draw power from the PSE f the nput voltage s less than 12.0V, and from
the V n+ term nal f the nput voltage s greater than 12.0V. If the PSE power fa ls, the WebRelay w ll
draw all power from the V n+ term nal.
Note: the X-WR-1R12-1I5-E power-over-ethernet module does not support 9-28VDC as a backup power
source on the V n+ and V n- term nals. Th s POE model s powered from the power sourc ng equ pment
or opt onally v a +5V appl ed to the V n+ term nal (but not both.)
Xytronix Research & Design, Inc. Page 15

Installat on and Connect ons WebRelay Users Manual
2.3 Relay Connections (Control a device over an IP network)
The Com, NC and NO relay contacts are nternally connected d rectly to the term nal connector. No
nternal fuse s prov ded. If the power source connected to the relay contacts can del ver more than rated
max mum contact current, an external fuse or c rcu t breaker must be used. The relay contacts are
normally w red n ser es w th the power source for a dev ce that w ll be controlled (the load).
When mechan cal relays sw tch nduct ve loads such as motors, transformers, relays, etc., the current
w ll arc across the nternal relay contacts each t me the contacts open. Over t me, th s causes wear on
the relay contacts wh ch can shorten the r l fe span. When sw tch ng an nduct ve load, t s
recommended that relay contact protect on dev ces are used. Note that the WebRelay does not prov de
relay contact protect on n order to prov de the greatest versat l ty and because appropr ate protect on
d ffers for var ous loads.
The llustrat on below shows a s mple example of us ng WebRelay to control a dev ce over an IP
network. The dev ce to be controlled s w red n ser es w th the relay contacts. Note that a fuse or c rcu t
breaker s shown to l m t current overload. Th s conf gurat on s used for control of a dev ce us ng a web
browser or a control scr pt/appl cat on runn ng on a computer.
Page 16 Xytronix Research & Design, Inc.

WebRelay Users Manual
2.4 Digital Input Connections
The d g tal nput can be used to control the nternal relay, control a remote relay (over the network), or
s mply to mon tor the state of a d screte dev ce. To use th s nput, connect a DC control voltage d rectly
to the Input+ and Input- term nals, and set up the funct on of the nput us ng the conf gurat on pages. A
current l m t ng res stor s prov ded nternally, so no external res stors are requ red as long as the
max mum nput voltage s not exceeded. If an AC s gnal, or a s gnal greater than the rated nput voltage
needs to be detected by the WebRelay, use a s gnal cond t oner to convert the s gnal to a DC s gnal
w th n the nput range.
2.4.1 Switch-Closure Connections
The WebRelay can sense the state of a sw tch-closure sensor. Sensors w th sw tch-closure outputs
nclude push buttons, magnet c door alarm sw tches, m cro-sw tches, or any dev ce wh ch has a relay,
sw tch closure, or open collector output. The WebRelay can be conf gured for the alarm to be act ve
when the sw tch s e ther open or closed.
The llustrat on below shows an example of us ng the WebRelay to mon tor the status of a gate or door
over an IP network. The status of the dev ce s detected w th a sw tch. These types of sensors are called
“dry contacts” n that the sensor output s a bare sw tch w th no power source. In th s example the
voltage source for the sw tch s prov ded v a the +5V output. When us ng the +5V output for exc tat on, a
connect on s needed between Input- and GND s nce the nput c rcu t s solated.
Xytronix Research & Design, Inc. Page 17

Installat on and Connect ons WebRelay Users Manual
Many of the llustrat ons n th s manual show the WebRelay contacts w red n ser es w th a power source,
wh ch allows the power for the dev ce to be sw tched on and off remotely. In many cases, however, t s
useful to control other funct ons and not just power. One way to do th s s to connect relay contacts n
parallel w th push-button sw tches w th n a dev ce.
For example, suppose you have a gate controller system that has a push-button sw tch that opens a
gate when pressed. The button that controls the gate s located on one s de of a bu ld ng, but you want
to be able to open the gate elsewhere. If the bu ld ng s w red for network ng, t s a s mple task to
accompl sh th s goal by connect ng the WebRelay contacts n parallel w th the pushbutton. An llustrat on
of th s s shown below. Users can now operate the gate w th the ex st ng push-button, or users can
operate the gate at a remote locat on us ng a web browser or smart phone.
Another opt on (not shown here), s to connect another push-button sw tch to the nput of a second
WebRelay dev ce n a room across the bu ld ng. The second dev ce can be conf gured to send control
messages to the f rst dev ce each t me the remote push-button s pressed. As a result, there s a second
push-button that can operate the gate.
Page 18 Xytronix Research & Design, Inc.

WebRelay Users Manual
2.4.2 DC Input Connections
The d g tal nput s connected nternally through a current-l m t ng res stor d rectly to a photo-coupler
c rcu t. The photo coupler nputs solated from the power supply c rcu ts. No external res stor s
necessary as long as the nput s gnal s w th n the proper range (See Appendix D: Specifications). A DC
voltage can be reduced w th an external res stor of the appropr ate value and power rat ng to reduce the
nput current.
The d g tal nput has an nternal 3K ohm res stor. The forward voltage drop of the photo-coupler s
approx mately 1.2V and works well w th an nput current of 9mA. Use the follow ng formula to determ ne
the res stor value needed for other voltage ranges:
R =((V n-1.2)/0.009)-3000
Where:
•R = External res stor value requ red
•V n = Des red nput voltage
•1.2V = forward voltage drop of the LED n the photo coupler
•.009A = workable LED current
•3000 ohm = Internal res stor
For example:
To connect a 48VDC s gnal voltage to the WebRelay:
R = ((48-1.2)/0.009)-3000 = 2200 ohms
Check the power d ss pated by the res stor:
P = I x I x R, The res stor must be at least .009 x .009 x 2200 = 0.18 Watts, so use a 1/2
Watt res stor.
Xytronix Research & Design, Inc. Page 19

Installat on and Connect ons WebRelay Users Manual
2.4.3 AC Input Connections
If an AC s gnal voltage needs to be detected, use a s gnal cond t oner to convert the AC s gnal to a DC
voltage w th n the nput range. An AC s gnal cond t oner can be made us ng a d ode (or br dge rect f er)
and a capac tor. Pre-packaged s gnal converters are ava lable as accessor es at ndustr al automat on
d str butors. A s mple voltage converter module (RedL on VCM10000 or VCM20000) s shown below.
These are ava lable n two nput voltage ranges that cover the spectrum from 4-270VAC/DC.
These dev ces have a MOSFET output (sol d state DC contact closure) wh ch s compat ble w th the
WebRelay nput. The converter module accepts AC (50/60 Hz) or DC voltages w th an nput pulse rate
up to 30 Hz. The converter prov des solat on between the nput and output us ng an opto- solator. You
must prov de a voltage source for the converter c rcu t as shown n the example below:
Page 2 Xytronix Research & Design, Inc.
This manual suits for next models
5
Table of contents
Other ControlByWeb Relay manuals