XW-210 WiFi™ Users Manual
6.5 LogFile
XW-210 logs information to log.txt. This log file is a text file stored in nonvolatile memory and will not be
lost due to power failure. The log files are stored in a circular buffer which writes from the beginning of
the allocated memory space to the end and then repeats from the beginning (over-writing the original
data). The nonvolatile memory is divided into 4-Kbyte sectors. Each time data gets erased to make room
for new data, a full sector (4-Kbytes) is erased at one time.
6.5.1 Data Log File
–
log.txt
This log file is user-configurable under the
Logging setup tab
, and stores real-world data such as
temperatures and events such as relay state changes (see S
ection 4.6: Logging Tab
for more
information). It can be up to 512-Kbytes long and is stored using a comma separated value formatting
scheme.
Inputs, Relays, Vin, and Sensors will only be displayed if they are selected in the
Logging
setup tab. The
file is read by requesting the log.txt file from XW-210. For example, using the default IP address the
following command would be used to request the log file:
http://192.168.1.2/log.txt
File Format:
MM/DD/YYYY HH:MM:SS, Sensors 1-4, Relay 1, Input 1, Counter, Vin
Date and Time Format:
MM – Month (1-12)
DD – Day (1-31)
YYYY – Year (1970 - 2106)
HH – Hour in 24 hour time (0 -23)
MM – Minutes (0-59)
SS – Seconds (0-59)
Sample File:
The file can then be saved using the 'Save As...' option under the 'File' menu of the web browser. If the
TCP port has been changed (not port 80), the port will be required to read the file. For example, using
Xytronix Research & Design, Inc.
Page 65
Summary of Contents for WebRelay Wireless XW-210I
Page 1: ......