DataLink2Awl.exe

SUMMARY

Generates S7 Function- and Datablocks (i.e. '.awl'-files) to export Runtime-data from ALPHA-VISION® Projects.

SYNTAX

DataLink2Awl <project-name> [/S] | <ini-file>

OPTIONS

project-name
Name of the project for which to export Runtime data, without filename extension. The directory where DataLink2Awl.exe is called has to contain the configuration file <project-name>.ini, the ALPHA-VISION®-projects' do-file <project-name>.DO, and the common ALPHA-VISION® Runtime executables and libraries.
/S
The exported data includes status information.
ini-file
The <ini-file> contains the configuration, as well as the text data of point-ids and values formats (see INPUT FILES below).
Name of the configuration entry Description example value
DoFile Required path to the .do file, without '.do'-extension D:\prj\Debug\MyDo
Status Optional, any value apart from '#' will include status information. anything
FC Optional, to include a user-defined FC. Note, that only if all three values FC, DB and UDT are given, this data will be used. 120
DB Optional, to include a user-defined DB. Note, that only if all three values FC, DB and UDT are given, this data will be used. 230
UDT Optional, to include a user-defined UDT. Note, that only if all three values FC, DB and UDT are given, this data will be used. 201
Note:
An optional entry has to be deleted completely if the corresponding feature is not required. Deleting only the value and leaving the key blank (e.g. UDT= ) will cause an exception.

INPUT FILES

ini file
The file <project-name>.ini contains text data as a two column table with a blank ' ' as separator. In each row, the first column gives the point-id of a measuring point (MP) or a numerical process variable (PV) and the second column specifies the corresponding value format, i.e. either 'Float' (or 'F') or 'Integer' (or 'I'). The status of the PVs is undefined, i.e. 0xFFFF.

OUTPUT FILES

awl-files
For each station of the set of PVs and MPs, an awl-file is generated. The corresponding file names are generated by combining the project-name, the character '_', the station name, and '.awl'. E.g. for the project 'examplePrj' and the station 'exampleStn', the file name is 'examplePrj_exampleStn.awl'.

EXAMPLES

The following is an example for the configuration section of the <ini-file>:

		[configuration]
		DoFile=D:\prj\Debug\MyDo
		FC=202
		DB=201
		UDT=201
		Status=anything
		


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times