Create global PLC variable list
Function: the "Create global PLC variable list" plugin optionally adds only one global variable list or a separate global variable list for each tag table in the AML file, if several exist. In the first case all PLC variables are added to the one variable list. In the second case, the PLC variables are distributed according to the affiliation of their tags to the tag tables.
For the default tag table named "TagTable" you can predefine the name of the corresponding global variable list. For all other variable lists the Table-Name tag is used automatically.
It is necessary to run the "Prepare PLC variables" and "Create PLC project" plugins beforehand, as they provide the first two of the variables mentioned below.
Used variables:
PlcVariableList | Dictionary of the tags from the tag tables of the AML file with the associated PLC variables |
PlcOpenXmlProject | PLC project in PLCopen XML format |
SolutionFolderPath | Path to the TwinCAT Solution folder |
ProjectAmlFolderPath | Path to the _AML folder below the project |
XCAD_DTE | XCAD DTE Analyzer |
Calling up the settings: open the dialog XCAD Interface Options and switch to the XCAD Interface Options tab.
Options
Tag Table handling | Via these radio buttons you can select whether a separate global variable list for each tag table or only a global variable list should be added to the PLC project:
|
Default global PLC variable list name | Here you can specify the name to be used for the global variable list of the default tag table named "TagTable". |
See also
- Concept
- Dialog: XCAD Interface Options
- Command: Import via XCAD...
- Plugin: Prepare PLC variables
- Plugin: Create PLC project