Operation
WebRelay-10 Users Manual
3.2.3 XML Diagnostics
There is a special diagnostics.xml can be requested by by entering the following in the web browser
address bar:
http://192.168.1.2/diagnostics.xml
The following diagnostics.xml file is returned.
<datavalues>
<memoryPowerUpFlag>1</memoryPowerUpFlag>
<devicePowerUpFlag>1</devicePowerUpFlag>
<powerLossCounter>1</powerLossCounter>
</datavalues>
Diagnostic tags are given in the table below.
Tag
Description
<memoryPowerUpFlag>
(WebRelay-10 Plus™
only)
A loss of power to the capacitor-backed real-time clock is indicated by a
value of
1
. The internal capacitor can power the real-time clock for several
days when main power is lost. If the real-time-clock loses power, the time
will have to be reset.
By default, the flag value is 1. It is not automatically set and will read
1
until
it is explicitly set to
0
, as described below.
<devicePowerUpFlag>
Loss of power to the device is indicated by
1
. A value of
1
means
WebRelay-10 has lost power at least one time since the flag was set to 0.
By default, the flag value is
1
. It is not automatically set and will read
1
until
it is explicitly set to
0
, as described below.
<powerLossCounter>
This field is a count of how many times WebRelay-10 has lost main power.
It may be reset to
0
.
The above flags may be cleared by requesting the diagnostics.xml file along with request parameters.
To clear the real-time-clock power loss flag:
http://192.168.1.2/diagnostics.xml?memoryPowerUpFlag=0
To clear the device power loss flag:
http://192.168.1.2/diagnostics.xml?devicePowerUpFlag=0
To clear the powerLossCounter flag:
http://192.168.1.2/diagnostics.xml?powerLossCounter=0
Resetting of multiple flags may be done at one time by placing
&
between each request:
http://192.168.1.2/diagnostics.xml?memoryPowerUpFlag=0&devicePowerUpFlag=0
Note: Requests for the diagnostics.xml file do not require a password.
page 60
Xytronix Research & Design, Inc.
Содержание WebRelay-10 X-WR-10R12-I
Страница 1: ...WebRelay 10 Title Page Goes Here...