Reference user interface | XCAD Interface Options Predefined rule collections Rule types Each rule is graphically represented as an If-Then construct. With the condition, you can query various attributes (name, comment, data type, I/O address) of the tags from the AML file with the help of various rule types. Depending on the configured condition, you can then influence the name or comment: Add: A character string to be defined is added at the start or end. Remove: A character string to be defined is deleted at the start or end. Find Replace: A search is performed for a character string to be defined, which is then replaced by a second character string to be defined. See also Command:
Import via XCAD... [ } 17] Plugin: Convert PLC variable names [ } 27] 5.4 XCAD Interface Options | XCAD Interface Options Function: in the XCAD Interface options you will find all settings of the XCAD Interface and the installed XCAD Interface plugins. The plugins for import and export are each listed in a separate tab. In the third tab you will find the global settings. Call: open the dialog Options in the Visual Studio menu via Tools and navigate via TwinCAT and XAE Environment to the entry XCAD Interface . Import / Export Plugins tab Function: the Import / Export Plugins tab displays a list of all import and export plugins and their settings.
The position of the plugins in the list corresponds to their execution order, with the topmost plugin being executed first. A description of the plugins can be found in the chapter Reference plugins [ } 26] . TE1120 20 Version: 1.3.1 New Rule You can add a new rule using this button. The new rule is automatically added to the end of the list. Numbering The order in which the individual rules are executed is shown here. The numbering is derived from the position in the list. You can change the order by dragging and dropping the rule to a new position. With this button you can open a menu via which a rule can be deleted or copied.
If you copy the rule, the copy will be added to the end of the list. Input / Output Prefix The rules of this collection add a defined prefix for inputs and outputs to the variable name. Data Type Prefix The rules in this collection add a defined prefix for the variable data type to the variable name. Numeric Start The rules of this collection check whether the first character of the variable name is numeric and, if so, add a defined prefix. Replace special characters The rules in this collection search for special characters in the variable name and replace them with defined characters.
Replace double underscores The rules in this collection search for double underscores in the variable name and replace them with single underscores.