beautypg.com

Importing tags from automax programming software – ProSoft Technology AN-X-AMX User Manual

Page 20

background image

Page

16

AN-X-DCSLOG

January 2008

For example, you can copy and paste tag entries, then change the tag names using tags
exported from the AutoMax Programming Executive (see section Importing Tags from
AutoMax Programming Software on page 16).

Logging Data

In the logger configuration file, set the ExportPath to the FastLoad directory for InSQL,
usually \InSQL\DATA\DataImport\Fastload

Run the service. AnxDcsLog.exe captures changing network data and logs it to the
Export directory. InSQL automatically reads the CSV files created by AnxDcsLog.exe,
imports the data, then deletes the files.

Importing Tags from AutoMax Programming Software

You can use the utility AnxDcsTagExport.exe supplied to export tagnames from an
AutoMax Configuration file to a comma separated variable file for use by other
applications.

Browse or type the configuration file name into the AmxDcsCnfFile field.

Browse or type the name of the Tag Export File.

Select the export format, either Drop/Reg or PLC-5 Map. For InSQL, use Drop/Reg
format. For OPC/HMI use PLC-5 Map format.

Click Export to create the tag export file.

Use a text editor or spreadsheet such as Excel to edit and manipulate this file into a
format that can be imported into your application.

Drop/Ref Format

Some tags exported in Drop/Reg format:

;TagName,Drop,Reg,Bit,DataType,Slot

GLOBAL32,0,32,,Word,4

FREDA010,1,0,,Word,4