beautypg.com

Logging data, Logger configuration file – ProSoft Technology AN-X-AMX User Manual

Page 16

background image

Page

12

AN-X-DCSLOG

January 2008

Logging Data

Use the following steps to log data using the AN-X-DCSLOG:

1. Create the configuration file.

2. Create the tag file.

3. Start the logger service.

4. Process the data files.

Logger Configuration File

When the AnxDcsLog.exe service starts, it reads a logger configuration file called
AnxDcsLogConf.csv to set its configuration. This file must be in the same directory as
the AnxDcsLog.exe executable file.

The logger configuration file contains a section for each AN-X-DCSLOG module from
which the logger is obtaining data. It can contain configuration information for up to 4
AN-X modules

Each section contains the following lines.

DeviceName

This is the name assigned to the AN-X being configured. It can be from 1 to 32
characters long.

The name is used to name the data files and to identify the source of messages in the
application log (see page 15).

ImportPath

The import path identifies the directory where the data files are to be written.

DeviceIP

The DeviceIP is the IP address of the AN-X module being configured.

RefreshMs

The AN-X-DCSLOG module captures network frames and logs all data changes on the
selected drops and registers.

The AN-X also logs all the selected data at a specified rate, even if it hasn’t changed.
You set the interval with the refresh rate, from 0 to 60000 ms. When the refresh timer
expires, the AN-X module starts logging all the selected data as it is received from
DCSNet, regardless of change.

If the refresh time is shorter than the DCS network scan time, the data is logged at the
DCS scan time, as it comes off the network.