Web Server and Setup Pages
WebRelay Users Manual
When this option is set to
Yes
, the control page will display buttons to turn the device
on
and
off
. These
buttons attempt to represent the state of the device and not the relay (the relay status however,
represents the state of the relay).
When the ‘Reboot Options’ field (under the ‘Relay/Input’ tab) is set to
pulse off T1 secs
, it is assumed
that the device is
on
when the relay is
on
. In this case the ‘on’ button will turn both the relay and the
device
on
and the ‘off’ button will turn both the relay and the device
off
.
When the ‘Reboot Options’ field (under the ‘Relay/Input’ tab) is set to
pulse on T1 secs
, it is assumed
that the device is
on
when the relay is
off
. In this case the ‘on’ button will turn the relay
off
and the device
on
. The ‘off’ button will turn the relay
on
and the device
off
.
When the ‘Reboot Options’ field (under the ‘Relay/Input’ tab) is set to either
pulse on T1 secs, off T2
secs (without pp),
or
pulse on T1 secs, off T2 secs (with pp)
, the ‘ON/OFF’ buttons will not be
displayed in the control page. In addition, the option to display the ON/OFF buttons will not appear in the
‘Control Page Setup’ page.
It is recommended that the ‘ON/OFF’ buttons not be displayed on the control page in two distinct cases.
First, if turning the device
off
causes communications with WebRelay to be lost (for example, WebRelay
controls a router or modem which must be operating properly to remotely communicate with
WebRelay ). In this case the user may press the ‘OFF’ button and lose communications with WebRelay
so he/she cannot turn the device back
on
. The second situation 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’ buttons are not necessary.
Reboot Button
When this option is set to
Yes
, the control page will display a button to reboot the device. When the user
presses this button, WebRelay will go through the reboot sequence specified in the ‘Reboot Options’
field (under the ‘Relay/Input’ tab).
Auto Refresh Page
Web pages traditionally display static information. The WebRelay 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 changes, the information on the control page will
be outdated unless the page is re-loaded.
Whenever a user changes the state of the relay via the web browser, the web page will automatically
reload the control page to display current information. If, however, the relay state changes due to a
change in the control voltage input or due 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 will be obsolete until the page is
refreshed. WebRelay can not force the web page to be updated when the input changes. The ‘Auto
Refresh Page’ option will cause the control page to continually update its contents by setting a timer in
the web page that causes it to be reloaded at a specified time interval.
Duration
If the ‘Auto Refresh Page’ option is set to
Yes
, this field specifies the time interval in seconds that the
page will be refreshed. It can be set from 1 to 32 seconds.
Page 54
Xytronix Research & Design, Inc.