background image

Revision: 3.1 - June 8, 2007

a division of...

Xytronix Research & Design, Inc.

North Logan, Utah, USA

(c) 2005-2007 Xytronix Research & Design, Inc.

Covers:

X-WR-1R12-1I5-5
X-WR-1R12-1I5-I
X-WR-1R12-1I24-I
X-WR-1R12-1I5-E

WebRelay

TM

Users Manual

TM

Summary of Contents for WebRelay

Page 1: ...une 8 2007 a division of Xytronix Research Design Inc North Logan Utah USA c 2005 2007 Xytronix Research Design Inc Covers X WR 1R12 1I5 5 X WR 1R12 1I5 I X WR 1R12 1I24 I X WR 1R12 1I5 E WebRelayTM U...

Page 2: ...Mounting 2 2 Connection 2 2 1 Power Supply Connection 2 2 2 Network Connection 2 2 3 Relay Connection 2 2 4 Optically Isolated Input Connection 2 3 Establishing Communications for Setup 2 3 1 Option...

Page 3: ...on 3 1 WebRelayTM Users Manual Appendix A Restoring Factory Default Settings Appendix B Specifications Appendix C Mechanical Information Appendix D Open TCP Legal Notice Xytronix Research Design Inc p...

Page 4: ...rranty 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 Resea...

Page 5: ...l 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 Note...

Page 6: ...evices when they fail to respond to pings that are sent from WebRelayTM There are three ways that WebRelayTM can be wired to a device for reboot First WebRelayTM can be wired in series with the power...

Page 7: ...ACT amber Note that the LINK and ACT LEDs are located on the Ethernet connector The INPUT LED indicates that there is a voltage applied to the optically isolated input The RELAY LED indicates that th...

Page 8: ...light shown on the right can be controlled locally using a mechanical switch or remotely over the IP network The mechanical switch controls a 5 volt signal that is applied to the optically isolated in...

Page 9: ...ld be replaced with a sensor and the device to be controlled could be a buzzer or chime A business owner for example could set up a sensor at his her office and a chime at his her home The chime at th...

Page 10: ...urn controls a third WebRelayTM and so on In the illustration below each WebRelayTM is numbered 1 2 3 and 4 A mechanical switch controls WebRelayTM 1 and WebRelayTM 1 controls WebRelayTM 2 which contr...

Page 11: ...ebRelays 2 3 and 4 are each controlling load devices and WebRelayTM 1 is not but a load could be connected to WebRelayTM 1 as well 1 4 5 WebRelayTM Used for Reboot Wired in series with Power The illus...

Page 12: ...remote reset 1 4 7 WebRelayTM Used for Reboot Wired in parallel with Power Switch Many computers have momentary power buttons that are wired to the motherboard similar to the way the reset button is w...

Page 13: ...ient air temperature is expected to be high 2 1 1 Wall Mounting Mount WebRelayTM to a wall by using two 8 screws Attach the screws to the wall vertically spaced exactly 2 5 inches apart The head of th...

Page 14: ...o be controlled not be connected to WebRelayTM until after WebRelayTM has been configured and tested By doing this wiring and configuration mistakes will not cause the load device to turn on unexpecte...

Page 15: ...al to INPUT through a switch Do not use this output for other purposes 2 2 1 Power Supply Connection WebRelayTM requires power for its internal logic circuits Connect appropriate power supply to the V...

Page 16: ...ernal relay In the example WebRelayTM controls the external relay and the external relay controls the load Many of the illustrations in this manual show WebRelayTM contacts wired in series with a powe...

Page 17: ...ioner to convert the signal to the proper voltage Signal conditioners can be made of discrete components or can be purchased at industrial automation distributors To connect an AC voltage to the input...

Page 18: ...e the IP address of the configuration computer Note that WebRelayTM will only use this IP address as long as power is maintained Once power is lost and restored WebRelayTM will use the IP address assi...

Page 19: ...following command would be used sudo arp s 10 10 10 40 00 0c c8 01 00 01 Next type ping s 102 new IP address For example if the new IP address is 10 10 10 40 the following command would be used ping...

Page 20: ...t control panel shown is in Classic View If control panel is in Category View select the Classic View option before proceeding Step 2 Double click on the icon labeled Network Connections The following...

Page 21: ...f the menu labeled Properties The Local Area Connection Properties window will appear Step 4 On the Local Area Connection Properties page scroll down to Internet Protocol TCP IP select it and then cli...

Page 22: ...ebRelayTM is fully configurable through HTML 4 0 compliant web browsers such as Internet Explorer and Mozilla Firefox It s easy to use tab based menu system has been designed to allow the unit to be c...

Page 23: ...button at the bottom of the page After entering the desired parameters into each page the Submit button must be pressed before any parameters will be saved If a mistake is made in entering the parame...

Page 24: ...the settings take effect 1 IP Address WebRelayTM requires a static IP address This is a unique address that identifies WebRelayTM on the network Dynamic IP address assignment is not supported The lac...

Page 25: ...teway This specifies 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 specifies the TCP port used for com...

Page 26: ...a messaging structure protocol used in industrial manufacturing control and automation It is an open protocol and offers interoperability with software and devices from other manufacturers If Modbus...

Page 27: ...radio buttons Enabling the control page password also enables the requirement for a password when reading writing XML pages Enabling the control page password also disables the ability to communicate...

Page 28: ...RelayTM will be used to remotely reboot devices but not for automatic reboot standard mode should still be selected Automatic Reboot mode is used to configure WebRelayTM as a reboot controller When th...

Page 29: ...wser even if the input is still on no local relay control The input has no effect on the local relay set relay equal input When a voltage is applied to the input the relay goes on When a voltage is re...

Page 30: ...to remain on until the timer expires The following parameters 4 13 are available only when WebRelayTM is set to Automatic Reboot relay mode 4 Ping IP Address This is the IP address that WebRelayTM wil...

Page 31: ...or 16 666 hours 11 Reboot Options This parameter defines how the device will be re booted This is determined by the way WebRelayTM is connected to the device There are several options for connection T...

Page 32: ...ay Common and Normally Open contacts are used When the device needs to be re booted the relay will be pulsed on for the time duration specified in T1 see above seconds This option does not use paramet...

Page 33: ...the remote WebRelayTM to set the relay state to on When a voltage is removed from the input no commands are sent to the remote WebRelayTM send on command when input off no off command When a voltage...

Page 34: ...technical description of this option commands sent to remote WebRelayTM units look like this http 192 168 1 2 state xml relayState 1 When a 0 is entered into this field the above format is used which...

Page 35: ...If power is lost and the control voltage changes while the unit is not powered the new control voltage status will not be sent to the remote unit when the power is restored The state will not be upda...

Page 36: ...contents of the control page can be customized by setting the appropriate options on the Control Page Setup page Note that this setup page only affects the control web page and does not affect the fu...

Page 37: ...ayed when the relay is off coil not energized 8 ON OFF Buttons This option allows the user to specify 0 1 or 2 buttons to turn the relay on or off Zero buttons disables the users ability to turn the r...

Page 38: ...to a command sent from another machine the relay state will not be updated and the control page information will be obsolete In addition when the optically isolated input changes the control page wil...

Page 39: ...the relay will be OFF most of the time even though the server is ON most of the time The specific re boot method used should be considered when assigning text and color to the relay status 3 Display...

Page 40: ...the text that will be displayed when the input is on voltage applied to input 12 Input OFF Color When Display Input Status is set to Yes this field specifies the color that will be displayed when the...

Page 41: ...elayTM control page however displays information that is dynamic Each time the control page is loaded to the browser it displays a snapshot of the current status of the unit If the state of the unit c...

Page 42: ...nged replace the default IP address shown with the new address that was assigned Note also that if any port is used other than port 80 the port must also be included in the request http 192 168 1 2 80...

Page 43: ...ing this wait time The wait time is specified in the Delay Before First Ping After Reboot parameter under the Relay Input tab WebRelayTM is periodically pinging device This indicates normal operation...

Page 44: ...t 80 or port specified in setup for the XML page Control of the relay is done by sending GET requests to the same page on port 80 or port specified in setup This can be demonstrated by entering comman...

Page 45: ...68 1 2 would be included on both commands above The pulseTime variable does not change the pulse time specified in the setup page and it is not stored or recorded The pulseTime variable only changes t...

Page 46: ...nother modbus port is selected and sends commands or requests to to read the state of the relay read the input or change the relay When WebRelayTM receives a command it will perform the desired functi...

Page 47: ...e hex LS Data Bits binary Input State Relay State 0x00 00 off off 0x01 01 off on 0x02 10 on off 0x03 11 on on Modbus Error Function code 1 Byte 0x81 Exception code 1 Byte 0x01 or 0x02 Exception codes...

Page 48: ...4 3 Write Single Coil Modbus Function Code 05 0x05 Request Modbus TCP Transaction identifier 2 Bytes 0x0001 Protocol identifier 2 Bytes 0x0000 Length 2 Bytes 0x0006 Unit identifier 1 Byte 0xff Modbus...

Page 49: ...significant word is sent first In other words the 32 byte floating point number represented as ABCD is sent as CDAB In the example shown below the relay will pulse for 10 seconds Ten seconds is repres...

Page 50: ...toothpick through the small hole in the bottom of the unit to press the small button that is located inside the unit When the object is inserted a tactile feel can be detected as the button is depres...

Page 51: ...se Timer Duration 100ms to 86400 Seconds 1 day Accuracy of pulse timer 99 99 Optically Isolated Input Input Voltage 3 12VDC 5V Input models Input Current 4 7mA 25mA 5V Input models Input Voltage 11 28...

Page 52: ...aterial Lexan 940 UL94 V0 flame rated Password Settings Password protection on setup page Yes Password protection on control page Optional Password Encoding Base 64 Max password length 10 characters R...

Page 53: ...Revision 3 1 WebRelayTM Users Manual Appendix C Mechanical Information Xytronix Research Design Inc page 52...

Page 54: ...stems must not be used to endorse or promote products derived from this software without prior written permission For written permission please contact opentcp opentcp org 5 Products derived from this...

Reviews: