Section 3: Operation; Browser Operation; Xml Operation - ControlByWeb WebRelay-Quad X-WR-4R1-5 User Manual

Hide thumbs Also See for WebRelay-Quad X-WR-4R1-5:
Table of Contents

Advertisement

Revision 2.2b

Section 3: Operation

WebRelay-Quad
can be operated by using a web browser, by sending text commands to an XML status/control
TM
page, or by sending Modbus/TCP requests.

3.1 Browser Operation

Once the unit is set up, the control 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 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:8000 ) The new control page will appear. A control page with default settings is shown
below.

3.2 XML Operation

Custom computer applications may be created to monitor and control WebRelay-Quad
browser. Monitoring the state of the relays is done by sending a GET request to port 80 (or port specified in setup)
for the XML page. Control of the relay is done by sending GET requests to the same page. This can be demonstrated
by entering commands into the URL line of a web browser.
Request the current state: http://192.168.1.2/state.xml
This will return the following XML page.:
<?xml version="1.0" encoding="utf-8" ?>
- <datavalues>
<relay1state>0</relay1state>
<relay2state>1</relay2state>
<relay3state>1</relay3state>
<relay4state>1</relay4state>
</datavalues>
The tags <relay1state>... <relay4state> indicate the current state of each of the four relays. Values for
the tags are described below.
Xytronix Research & Design, Inc.
WebRelay-Quad
Users Manual
TM
without using a web
TM
page 25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebRelay-Quad X-WR-4R1-5 and is the answer not in the manual?

This manual is also suitable for:

Webrelay-quad x-wr-4r1-iWebrelay-quad x-wr-4r1-e

Table of Contents