X-600M Users Manual
Appendix D: Log Files
Appendix D: Log Files
The X-600M logs general I/O data in up to five different log files. System information is logged to a
special log file that can be viewed on the
System > System Log
menu tab. Log files are text files and
are stored in nonvolatile memory; this data will not be lost due to power failure. The log files are stored in
circular buffers which write from the beginning of the allocated memory space to the end and then repeat
from the beginning (over-writing the original data).
Log files can be saved internally on the X-600M's internal flash memory, or it can be saved externally on
an attached USB storage drive. When log files are saved internally, they grow until they hit the max log
file size of 20MB and then begin to over-write the oldest data. When log files are stored on an external
drive, the file size is limited by the size of the external storage device.
Data Log Files
Log files are user-configurable under the
Logging
menu tab, and they store real-world data such as
temperatures and events (e.g. relay state changes). See
Section 2.4.6 Logging
menu tab
for more
information.
Inputs, relays, counters, vin, and sensors will only be logged to a log file if they are selected for that log
file in the
Logging
menu tab. The files are read by requesting the log1.txt, log2.txt, etc. from the X-
600M. For example, using the default IP address, the following command is used to request the first log
file:
http://192.168.1.2/log1.txt
File Format:
MM/DD/YYYY HH:MM:SS, I/O 1, I/O 2, I/O 3
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:
Date Time, owSensor1, relay1, relay2
07/30/2012 10:30:00,80.5,0,1
07/30/2012 11:00:00,81.5,1,1
07/30/2012 11:30:00,81.5,0,0
07/30/2012 12:00:00,81.8,1,0
07/30/2012 12:30:00,82.3,0,1
07/30/2012 13:00:00,85.5,1,1
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
the default IP address, and port 8000, the log file would be read as follows:
http://192.168.1.2:8000/log1.txt
The log1.txt file may be erased with the following command:
http://192.168.1.2/log1.txt?erase=1
After erasing the file, it might be necessary to refresh the page.
Xytronix Research & Design, Inc.
Page 119
Содержание X-600M
Страница 1: ...X 600MTitle Page Goes Here...
Страница 6: ...X 600M Users Manual Page 4 Xytronix Research Design Inc...
Страница 99: ...X 600M Users Manual Setup Pages Xytronix Research Design Inc Page 97...
Страница 116: ...Appendix B Installing New Firmware X 600M Users Manual Page 114 Xytronix Research Design Inc...