NOVUS Web Server – WS10 User Manual

Page 16

Advertising
background image

Web Server – WS10

NOVUS AUTOMATION

16/33

DATA LOGGER FILE FORMAT

A new line is appended to the log file at each interval. The first line contains the identifiers, and all following lines contain the values of the listed
registers.

The first 2 columns of a log line contain the date and time, and the following columns contain the values for each register. Columns are separated
by the comma character.

File layout:

Log ID

Empty field

Identifier 1

Identifier 2

...

Identifier n

If Interval ≥ 10 (1s)

MM/DD/YY

HH:MM:SS

Value 1

Value 2

...

Value n

If Interval < 10 (1s)

MM/DD/YY

HH:MM:SS.S

Value 1

Value 2

...

Value n

File example:

OvenRoom,,Oven1Temp,Oven2Temp,AmbientTemp,TT101/PV,
12/24/04,10:10:10,180,200,28,121,
12/25/04,11:11:11,182,245,28,121,
12/26/04,22:22:22,182,286,30,120,

When data wrap around is enabled (WrapAround=1), one or more of the file lines may contain the character ^, indicating that this line has no data
and can be discarded. These lines are automatically excluded when the log file is sent as an email attachment.

PLOTTING THE DATA LOGGER CONTENT INTO AN HTML PAGE

Novus offers a Java application that can read the content of the data logger file from the WS10 flash memory and plot its data in an HTML page,
with zoom and print capability. The Java application must be installed in all PCs that will display this plot. These PCs must also have installed the
Java Virtual Machine from Sun – JRE.

To enable communication between the Java application and the WS10, the following parameters must be programmed in section [DatalogServer]
of the DATALOG.CFG file:

[DatalogServer]
Enable=1
Port=2001

The TCP port 2001 is the default for this function. The same port must be programmed for the WS10 and in the Java application configuration.

The Java application, documentation and examples are included in the WS10 CD.

REFERENCE TO THE LOG RELATED TAGS

To integrate the data logger to the email and periodical data transmission functions of the WS10, two tags are defined on the _INTERNAL_ device
of the WS10 to identify the data logger content. If one of these tags is included on the list of tags for delivering, the content of the log file will be
attached to the email message or sent to the specified server. The two log related tags are:

_INTERNAL_/_LOG

Send the log content and don’t erase the log file

_INTERNAL_/_LOG_E

Send the log content and erase the log file

During the log delivery, the data logger is suspended. Use the _LOG_E tag with caution, since the is no guarantee of the email delivery and data
can be lost.

To get access to the log file through the browser, add a FTP link to the log file on the HTML page, or address directly the file path at the browser
address line (the log file must be located at the WEB folder to allow http access to it).

Advertising