background image

Summary of Contents for WebRelay X-WR-1R12-1I-E

Page 1: ......

Page 2: ...cumentation for new POE operation with external power applied New document format moved warranty and other information to the appendix Moved XML and Modbus information to Section 5 Auxiliary Operation...

Page 3: ...evice IP network control only 21 2 5 2 Single WebRelay Device digital input and or IP network control 22 2 5 3 Dual WebRelay Devices no computer required 23 2 5 4 Multiple WebRelay Operation no comput...

Page 4: ...63 5 3 3 WebRelay Full Address Table 64 5 3 4 Read Coils Modbus Function Code 01 0x01 65 Request 65 Response 65 Errors 65 5 3 5 Read Discrete Inputs Modbus Function Code 02 0x02 66 Request 66 Respons...

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

Page 6: ...tus of a digital signal Remote Reboot Controller WebRelay can function as a high end reboot controller with fully configurable setup options It can be used to remotely reboot servers computers satelli...

Page 7: ...eboot Counter XML readable only Powered from a 9 28VDC power adapter The model X WR 1R12 1I E is an Ethernet powered device POE Simple and easy to use UL Listed X WR 1R12 1I I and X WR 1R12 1I E 5 yea...

Page 8: ...ing control system It can be configured using its built in setup pages Use the WebRelay to control motors lights coils pumps valves bells etc Also use it to monitor alarms sensors switches fluid level...

Page 9: ...lnet FTP SSH nor uncontrolled open ports This means it is extremely difficult if not impossible for someone to break in to the WebRelay and access other devices on your local network WebRelay does not...

Page 10: ...re isolated from all other circuits Digital Input The WebRelay has an optically isolated digital input The optically isolated input provides electrical isolation between the digital input and the low...

Page 11: ...ut The negative side of the optically isolated input Input Digital Input The positive side of the optically isolated input 5Vout 5VDC out This voltage is provided as a convenient voltage source for th...

Page 12: ...E installed on their computer This is ideal for applications that require a quick and simple solution that does not need to be accessible to more than a few people This configuration is simple to setu...

Page 13: ...be used for medical life saving purposes or for any purpose where its failure could cause serious injury or the loss of life This unit must not be used in any way where its function or failure could c...

Page 14: ...bRelay 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 To remove the WebRelay from the DIN Rail use a flat head screwdrive...

Page 15: ...he Vin and Vin Gnd terminals A regulated power supply is recommended such as a wall mount AC DC adapter Verify that the adapter is rated for the operating current of the WebRelay See Appendix D Specif...

Page 16: ...he internal relay contacts each time the contacts open Over time this causes wear on the relay contacts which can shorten their life span When switching an inductive load it is recommended that relay...

Page 17: ...e 2 4 1 Switch Closure Connections The WebRelay can sense the state of a switch closure sensor Sensors with switch closure outputs include push buttons magnetic door alarm switches micro switches or a...

Page 18: ...ide of a building but you want to be able to open the gate elsewhere If the building is wired for networking it is a simple task to accomplish this goal by connecting the WebRelay contacts in parallel...

Page 19: ...internal 3K ohm resistor The forward voltage drop of the photo coupler is approximately 1 2V and works well with an input current of 9mA Use the following formula to determine the resistor value need...

Page 20: ...ibutors A simple voltage converter module RedLion VCM10000 or VCM20000 is shown below These are available in two input voltage ranges that cover the spectrum from 4 270VAC DC These devices have a MOSF...

Page 21: ...schemes are illustrated in this section 2 5 1 Single WebRelay Device IP network control only The example below shows the use of an interposer relay to control a load with larger current requirements...

Page 22: ...he example the light shown on the right can be controlled locally using a mechanical switch or it can be controlled remotely over the IP network The mechanical switch controls a 5 volt signal that is...

Page 23: ...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 the home would announce each time the sensor det...

Page 24: ...WebRelay 1 controls WebRelay 2 which then controls WebRelay 3 which then controls WebRelay 4 This daisy chain mode is set up by configuring the Relay options in WebRelays 1 2 and 3 to remote command e...

Page 25: ...n series with power The illustration below shows an example of how WebRelay can be used to reboot a server The WebRelay module is wired in series with the server s power source which allows it to turn...

Page 26: ...computer has an existing push button switch for reset the relay contacts may be wired in parallel with the push button switch This allows both local and remote reset 2 5 7 WebRelay Used for Reboot wi...

Page 27: ...tion on the Ethernet cable For configuration WebRelay may be connected directly to the Ethernet port on a computer using a crossover cable Otherwise for connection through a hub or router a standard s...

Page 28: ...t before connecting the next unit to the network This avoids having multiple devices being installed on the network with the same factory default IP address at the same time If this approach is used b...

Page 29: ...WebRelay Users Manual 4 Select View network status and tasks 5 Select Change adapter settings Xytronix Research Design Inc Page 29...

Page 30: ...onnection shown Right click on the adapter for your connection to the internet A drop down box will appear choose Properties to view edit the settings for this internet connection 7 Select Internet Pr...

Page 31: ...mask 255 255 255 0 No need to change the default gateway field Click OK to accept the new settings 9 Open the setup pages of the WebRelay by entering the following URL in the address bar of a web bro...

Page 32: ...ss ss ss ss ss ss For example to set the WebRelay 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 3 Next type ping l 102 new...

Page 33: ...mple to set the WebRelay 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 3 Next type ping s 102 new IP address For exam...

Page 34: ...us information To access the setup pages enter the following URL in the address bar of a web browser http ipaddress setup html For example using the default IP address enter http 192 168 1 2 setup htm...

Page 35: ...sword The default user name is admin The default password is webrelay no quotes all lower case Most setup pages have a Submit button and a Reset button at the bottom of the page After entering the des...

Page 36: ...take effect IP Address WebRelay requires a static IP address This is a unique address that identifies WebRelay on the network Dynamic IP address assignment DHCP is not supported The lack of dynamic I...

Page 37: ...r accessing multiple WebRelay devices which are installed behind a gateway router on a private 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 no...

Page 38: ...left alone but there are some circumstances where it might be beneficial to change it One of these circumstances is when the device is to be used over a VPN virtual private network VPN s add extra inf...

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

Page 40: ...r input are in the on state Relay Mode The unit may be configured so that it operates in Standard mode or Automatic Reboot mode Standard mode is used for all applications except automatic reboot appli...

Page 41: ...will be extended If pulse commands are issued continuously so that the pulse timer is not allowed to expire the relay will remain on until after the last pulse command was sent to be precise the relay...

Page 42: ...he relay will remain in its current state toggle relay when input changes When a voltage is applied to the input or removed from the input the relay will change states pulse relay when input on When a...

Page 43: ...that will be re booted upon failure such as a server router computer etc It could however be the address of a device on the opposite side of a communications link This is useful to auto reboot communi...

Page 44: ...he device With this approach WebRelay re boots the device by momentarily closing the reset switch This has the advantage of being less hard on the device that is being controlled than switching the po...

Page 45: ...e WebRelay will no longer attempt to reboot the device At this point the WebRelay will leave the device on but will disable the auto reboot feature The auto reboot feature will remain disabled until a...

Page 46: ...command is sent to the remote WebRelay to toggle the relay change the remote relay to the state opposite of its current state When a voltage is applied to the input no commands are sent send toggle co...

Page 47: ...ive option may be turned on to keep the TCP connection to the remote WebRelay unit alive If the connection is alive commands sent to the remote unit will change the state of the remote relay almost in...

Page 48: ...state is updated When the option is selected to transmit the state of the input each time the keep alive message is sent the password will be frequently transmitted over the network This may not be a...

Page 49: ...ents 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 functio...

Page 50: ...l be displayed when the relay is off coil not energized 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 tu...

Page 51: ...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 changes the information on the control page will be outdated unless the pag...

Page 52: ...page can be customized by setting the appropriate options in the Control Page Setup page Note that this setup page only affects the control web page and does not affect the function of the WebRelay i...

Page 53: ...s this field specifies the color that will be displayed when the relay is off coil not energized Status OFF Text When the Display Relay Status option is set to Yes this field specifies the text that w...

Page 54: ...on where not displaying the ON OFF buttons is recommended is when WebRelay is wired to control a reset line instead of power In this case the user cannot actually power off the device so ON OFF button...

Page 55: ...een with default settings appears when the Control Page is requested from the address bar The control page updates every three seconds The Control Page is normally what users see and use and it can be...

Page 56: ...default the status text will read Relay ON or Relay OFF however the status text can be changed in the Control Page Setup tab To the right of the relay status buttons are provided to control the relay...

Page 57: ...A brief user description of the relay or device being controlled and the relay state may be displayed on the control page Note that the relay state represents the current state of the relay and may or...

Page 58: ...sponse or when the user manually re boots the device This indicates that the WebRelay is currently performing a reboot This may be a single pulse or two pulses with a delay between them depending upon...

Page 59: ...state xml The following state xml page is returned xml version 1 0 encoding utf 8 datavalues relaystate 1 relaystate inputstate 0 inputstate rebootstate 0 rebootstate totalreboots 0 totalreboots data...

Page 60: ...te 1 Turn Relay 1 ON state xml relayState 2 Pulse Relay Standard mode state xml relayState 3 Reboot Automatic Reboot mode state xml relayState 4 Disable automatic reboot Automatic Reboot mode state xm...

Page 61: ...or 5 seconds state xml relayState 2 pulseTime 5 This will pulse the relay for 5 seconds state xml relayState 2 pulseTime 5 This will pulse the relay for 5 seconds state xml relayState 2 This will puls...

Page 62: ...ge is requested through a browser the browser will prompt the user for the password If the XML request is sent from another application and not a browser the html request will need to contain the pass...

Page 63: ...uts 02 Input status 0x0000 0 Write Single Coil 05 Change relay state 0x0000 0 Write Multiple Registers 16 Pulse the relay 0x0000 0 Multiple commands may be sent without closing and re opening the conn...

Page 64: ...ress and add to it the address offset in the PLC address mode column Code Name Modbus Function WebRelay Addresses Data Type PLC Address Mode 485 PLC Address Mode 584 984 Read Coils 01 0 Relay 1 Discre...

Page 65: ...of coils 0x0002 read relay state and input state Starting address 0x0001 quantity of coils 0x0001 read input state only Starting address 0x0001 quantity of coils 0x0002 not valid Response The WebRelay...

Page 66: ...is indicated by bit one of the status byte A 1 indicates that the input is ON A 0 indicates that the input is OFF When reading the input the following table shows the bit positions Discrete Input Sta...

Page 67: ...0x0000 Relay Output Value 1 byte 0x00 OFF 0xFF ON Padding 1 byte 0x00 Response The response mirrors the requested state 0x00 or 0xFF Errors Single Coil Write Error Function Code 1 Byte 0x85 Exception...

Page 68: ...imer will be canceled immediately and the new command will be executed The pulse time is provided in IEEE 754 floating point format The four data bytes are treated as two individual big endian 16 bit...

Page 69: ...ss and hold the small button located on the bottom of the unit When the object is inserted a tactile feedback can be felt as the button is depressed CAUTION Do not use metal objects for this function...

Page 70: ...website Only a WebRelay image can be installed on the WebRelay so make sure the correct image is being downloaded 2 bootloader exe will connect to the WebRelay using default IP address 192 168 1 2 not...

Page 71: ...the reset button press the Upload Firmware button at the bottom of the ControlByWeb Programmer window After the programming process begins the reset button can be released 5 Programming will take appr...

Page 72: ...ample 192 168 200 167 is an IP address Every device that is directly connected to the Internet uses a public IP address The WebRelay can be assigned a public IP address for direct connection to the In...

Page 73: ...specific recipient Port numbers can be set to any number between 1 and 65235 However many port numbers are reserved for specific applications and should be avoided As a general rule numbers above 800...

Page 74: ...p pages of the WebRelay when the port is set to 8001 the following command would be used http 192 168 1 26 8001 setup html To access the ControlByWeb units from the Internet enter the public IP addres...

Page 75: ...A 229 mA 313 mA 12 VDC 79 mA 141 mA 169 mA 233 mA 24 VDC 43 mA 73 mA 88 mA 119 mA 28 VDC 38 mA 64 mA 76 mA 103 mA Relay Contacts Load Type General purpose Contact Form SPDT form C Contact Material Sil...

Page 76: ...field wiring connections to the relay terminal block MTW Machine Tool Wire rated for 105 C is recommended Stripping Length 7mm Connection capacity 2 5mm2 stranded 2 5mm2 solid Conductor minimum 30AWG...

Page 77: ...nsing Altitude Up to 2000 meters Environmental Rating Pollution Degree 2 Installation Must be installed inside an NRTL certified industrial control panel or similar NRTL certified fire electrical encl...

Page 78: ...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 reasonable effo...

Page 79: ...product is shipped within the continental United States If the product is shipped outside of the continental United States or the product was shipped more than one year earlier the purchaser shall pay...

Page 80: ...and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this...

Page 81: ...WebRelay Users Manual Appendix H Mechanical Dimensions Note A 3D CAD model is available at www ControlByWeb com Xytronix Research Design Inc Page 81...

Reviews: