Tag definition file – ProSoft Technology AN-X-AMX User Manual
Page 17

AN-X-DCSLOG Page
13
TagFile
The tag file contains the name of the file that contains the data to be logged: the tag
names for the points and their addresses (drop, register and, for Boolean data, the bit).
The contents of the tag definition file are described below.
Example
The following configuration file configures two AN-X-DCSLOG modules, one at IP
address 192.168.0.9 and the other at IP address 192.168.0.10
DeviceName,AmxLog9
ImportPath,c:\InSQL\DATA\DataImport\Fastload
DeviceIp,192.168.0.9
RefreshMs,60000
TagFile,DcsLog1.csv
DeviceName,AmxLog10
ImportPath,c:\InSQL\DATA\DataImport\Fastload
DeviceIp,192.168.0.10
RefreshMs,60000
TagFile,DcsLog2.csv
If you change the configuration file, you must stop and restart the logger service, either
from the command line or from the Control Panel.
Tag Definition File
The tag definition file is a comma separated variable (CSV) file that defines the points to
be logged. Each line defines one point. Each line consists of:
• tagname, up to 32 characters
• drop number, 0 to 55
• register, 0 to 63
• bit, 0 to 15
• type, WORD or BOOLEAN
Fields are separated by commas.
For drop 0, only registers 32-39 are valid.
The bit number is required only for BOOLEAN data and is ignored for WORD data.
You cannot create tags that have the same combination of drop and register. For
example, you cannot create a WORD tag for drop 1, register 32, and also create tags for
BOOLEAN tags using bits in drop 1, register 32.