background image

Revision 2.6

                          WebRelay-Quad™

  

Users Manual

Device Upgrade Procedure

Carefully follow the following steps to put WebRelay-Quad™ into bootloader mode and perform the 
upgrade:

1. Remove DC power from WebRelay-Quad™. 

2. Using a small, non-conductive tool, press and hold the reset button.

3. While holding the reset button, apply power to WebRelay-Quad™. The LINK and ACT lights will 

flash. Continue to hold the reset button for the next step.

4. While holding 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 approximately 20-30 seconds. The LINK LED will stop flashing and remain lit 

during this time. WebRelay-Quad™ will be set to factory defaults with an IP address of 192.168.1.2.

6. Refer to section 

2.3 Establishing Communication for Setup

 to reconfigure the WebRelay-

Quad™. Verify the new version of firmware has been installed by viewing the default 

Setup Page 

with a web browser (

http://192.168.1.2/setup.html

).

Xytronix Research & Design, Inc.

                  page 40

Figure Appendix B.2 - Firmware Update Complete

Содержание WebRelay-Quad X-WR-4R1-5

Страница 1: ...Revision 2 6 Dec 2015 a division of Xytronix Research Design Inc Nibley Utah USA 2006 2015 Xytronix Research Design Inc Covers X WR 4R1 5 X WR 4R1 I X WR 4R1 E WebRelay QuadTM Users Manual TM...

Страница 2: ...Connection 2 2 3 Relay Connection 2 3 Establishing Communications for Setup 2 3 1 Option 1 Assign a temporary IP address to WebRelay Quad 2 3 2 Option 2 Assign a temporary IP address to configuration...

Страница 3: ...WebRelay Quad Users Manual Appendix Appendix A Restoring Factory Default Settings Appendix B Installing New Firmware Appendix C Specifications Appendix D Mechanical Information Xytronix Research Desig...

Страница 4: ...s 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...

Страница 5: ...e 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 interfere...

Страница 6: ...ome security precautions that should be observed If WebRelay Quad is installed on the Internet it is recommended that passwords be enabled for the control page Make sure secure passwords are used Pass...

Страница 7: ...sy 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...

Страница 8: ...are energized the NO Normally 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...

Страница 9: ...e 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 Quad over the Ethernet network using stand...

Страница 10: ...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 10 2 5 A...

Страница 11: ...ad 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 s...

Страница 12: ...load device to be controlled not be connected to WebRelay Quad until after WebRelay Quad has been configured and tested By doing this wiring and configuration mistakes will not cause the load device t...

Страница 13: ...ernatively WebRelay Quad units with the Power Over Ethernet option may be powered through the Ethernet connection instead of using an external power supply Multiple WebRelay Quad units may be connecte...

Страница 14: ...Option 2 is to change the IP address of the computer to an address that is on the same network that WebRelay Quad is set to by default 2 3 1 Option 1 Assign a temporary IP address to WebRelay Quad Thi...

Страница 15: ...10 10 10 40 the following command would be used ping s 102 10 10 10 40 Mac OS X Open a terminal Note that the terminal is in the Utilities directory which is in Applications directory type sudo arp s...

Страница 16: ...uad for example the configuration computer could be assigned to 192 168 1 50 Instructions for changing the IP address of the computer that will be used for WebRelay Quad configuration are given here N...

Страница 17: ...labeled Local Area Connection Another menu will appear Select the option at the bottom of the menu labeled Properties The Local Area Connection Properties window will appear Step 4 On the Local Area...

Страница 18: ...0 Leave the default gateway field blank Click OK to apply settings 2 3 3 Open Configuration Web Page Once the network is set up open the configuration setup page by typing the following URL into the b...

Страница 19: ...w IP address for the address shown in the examples Before proceeding make sure a network connection has been established between the computer and WebRelay Quad This is done by typing the following URL...

Страница 20: ...ch setup page has a Submit button and a Reset 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 save...

Страница 21: ...uter arp d a as super user on Apple OSX Also note that the unit must be power cycled power disconnected then reconnected before network settings take effect No other setup page requires power cycling...

Страница 22: ...unit 192 168 1 3 192 168 1 4 192 168 1 5 etc Netmask This specifies 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 B...

Страница 23: ...munications with WebRelay Quad By default this is set to port 502 which is the standard Modbus port For users not familiar with Modbus Modbus is a messaging structure protocol used in industrial manuf...

Страница 24: ...r than about 1500 bytes then the packets will be split up This causes problems for some firewalls and those firewalls will just discard the packets To fix this the MTU can be adjusted until the TCP pa...

Страница 25: ...1 page which also includes a field for the main header text on the control page the option to automatically refresh the control page and the time duration for auto refresh The following settings are o...

Страница 26: ...Buttons is set to 0 and the Pulse Button is set to No This field can be up to 20 characters in length Display Relay Status When this option is set to Yes the relay status will be displayed on the cont...

Страница 27: ...s to 86 400 seconds 1 day Note that each time WebRelay Quad receives a pulse command the relay will be turned on if not on already and the pulse timer will be reset If WebRelay Quad receives a pulse c...

Страница 28: ...ontrol page may be accessed by typing the following URL into the web browser http 192 168 1 2 Note that if the IP address was changed replace the default IP address shown with the new address that was...

Страница 29: ...relay number 3 2 2 XML Control Commands can be sent to WebRelay Quad to control the relays Commands are sent using variables called relay1State relay2State relay3State and relay4State Examples of usin...

Страница 30: ...nds above Multiple relays can be changed with a single command by submitting multiple relayXState variables separated by an ampersand symbol All four relayXState variables or a subset of the relayXSta...

Страница 31: ...rom another application and not a browser the html request will need to contain the password encoded using the base 64 encoding scheme The html request header without the password looks like this GET...

Страница 32: ...ion 05 change the relay state Write Multiple Coils Modbus Function Code 15 change multiple relays at the same time Write Multiple Registers Modbus function 16 pulse the relay or multiple relays Multip...

Страница 33: ...ff on on 0x04 0100 off on off off 0x05 0101 off on off on 0x06 0110 off on on off 0x07 0111 off on on on 0x08 1000 on off off off 0x009 1001 on off off on 0x0A 1010 on off on off 0x0B 1011 on off on o...

Страница 34: ...ite_coil_mb_request 0x00 0x01 0x00 0x00 0x00 0x06 0xff 0x05 0x00 0x00 0xff 0x00 Response Modbus TCP Transaction identifier 2 Bytes 0x0001 Protocol identifier 2 Bytes 0x0000 Length 2 Bytes 0x0006 Unit...

Страница 35: ...x009 1001 on off off on 0x0A 1010 on off on off 0x0B 1011 on off on on 0x0C 1100 on on off off 0x0D 1101 on on off on 0x0E 1110 on on on off 0x0F 1111 on on on on Alternatively to modify the state of...

Страница 36: ...e time command is sent with a value greater than 86400 the pulse timer will be set to 86400 If a pulse time command is sent with a value less than 0 1 the pulse timer will be set to 0 1 If any command...

Страница 37: ...Bytes 0x0006 Unit identifier 0xff Modbus Function 1 Byte 0x10 Write Multiple Registers Reference number 2 Bytes 0x0010 Word count 2 Bytes 0x0002 Modbus Error Function code 1 Byte 0x90 Exception code 1...

Страница 38: ...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 depressed While h...

Страница 39: ...Quad image can be installed on a WebRelay Quad so make sure the correct image is being downloaded 2 bootloader exe will connect to WebRelay Quad using default IP address 192 168 1 2 not the address c...

Страница 40: ...ss 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 approximately 20 30 seco...

Страница 41: ...er supply I O 4 Relays Relay Contacts Contact Form SPDT Form C Direct access to dry contacts Contact Material Ag Au clad Max Voltage 28V Max Current 3A Min Load 1mA 5VDC Relay Control Options ON OFF o...

Страница 42: ...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 Regulator...

Страница 43: ...Revision 2 6 WebRelay Quad Users Manual Appendix D Mechanical Information Xytronix Research Design Inc page 43...

Отзывы: